Initial commit
This commit is contained in:
commit
7523a19d1f
40 changed files with 3984 additions and 0 deletions
30
templates/transcode/profiles.html
Normal file
30
templates/transcode/profiles.html
Normal file
|
@ -0,0 +1,30 @@
|
|||
{% extends "base.html" %}
|
||||
{% from 'utils.html' import make_tabs %}
|
||||
{% from 'bootstrap/form.html' import render_form, render_field, render_form_row %}
|
||||
|
||||
{% macro profile_list() %}
|
||||
{% for name, cfg in config.APP_CONFIG.transcode_profiles.items() %}
|
||||
<h3>{{name}}</h3>
|
||||
<h5>{{cfg.doc}}</h5>
|
||||
<pre>ffmpeg -i <infile> {{cfg.command}} <outfile></pre>
|
||||
{% if cfg.vars %}
|
||||
{% for var,doc in cfg.vars.items() %}
|
||||
<p>
|
||||
<pre class="inline">{{var}}</pre>
|
||||
({{doc}}{% if cfg.defaults[var] %}, Default: <pre class="inline">{{cfg.defaults[var]}}</pre>{% endif %})</p>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
<hr>
|
||||
{% endfor %}
|
||||
{% endmacro %}
|
||||
|
||||
{% block app_content %}
|
||||
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<h1>Transcode profiles</h1>
|
||||
{{profile_list()}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue