aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2021-09-06 12:58:27 -0700
committerJesús <heckyel@hyperbola.info>2021-09-06 16:18:11 -0500
commit9c7e93ecf8768f9c6b310f89a5e8bc69aba555e3 (patch)
treee7d7c2f0ae4bafefb453ae3d6c852379800ab01f /youtube/templates
parent854ab81b9193ca8b69ec48ac6ac4018608413e4b (diff)
downloadyt-local-9c7e93ecf8768f9c6b310f89a5e8bc69aba555e3.tar.lz
yt-local-9c7e93ecf8768f9c6b310f89a5e8bc69aba555e3.tar.xz
yt-local-9c7e93ecf8768f9c6b310f89a5e8bc69aba555e3.zip
Redo av codec settings & selections to accomodate webm
Allows for ranked preferences for h264, av1, and vp9 codecs in settings, along with equal preferences which are tiebroken using smaller file size. For each quality, gives av-merge a list of video sources and audio sources sorted based on preference & file size. It will pick the first one that the browser supports. Closes #84 Signed-off-by: Jesús <heckyel@hyperbola.info>
Diffstat (limited to 'youtube/templates')
-rw-r--r--youtube/templates/watch.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/templates/watch.html b/youtube/templates/watch.html
index 46a3645..6aa7e42 100644
--- a/youtube/templates/watch.html
+++ b/youtube/templates/watch.html
@@ -87,7 +87,7 @@
<option value='{"type": "uni", "index": {{ loop.index0 }}}' {{ 'selected' if loop.index0 == uni_idx and not using_pair_sources else '' }} >{{ src['quality_string'] }}</option>
{% endfor %}
{% for src_pair in pair_sources %}
- <option value='{"type": "pair", "index": {{ loop.index0}}}' {{ 'selected' if loop.index0 == pair_idx and using_pair_sources else '' }} >{{ src_pair[0]['quality_string'] }}, {{ src_pair[1]['quality_string'] }}</option>
+ <option value='{"type": "pair", "index": {{ loop.index0}}}' {{ 'selected' if loop.index0 == pair_idx and using_pair_sources else '' }} >{{ src_pair['quality_string'] }}</option>
{% endfor %}
</select>
</div>