Initial commit

This commit is contained in:
Daniel S. 2021-08-29 15:03:28 +02:00
commit 7523a19d1f
40 changed files with 3984 additions and 0 deletions

View 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 &lt;infile&gt; {{cfg.command}} &lt;outfile&gt;</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 %}