aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/watch.py
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2021-08-25 14:47:57 -0700
committerJesús <heckyel@hyperbola.info>2021-08-29 21:47:14 -0500
commit9f44e0474be03e1a7d616db092293df0c0e496a3 (patch)
tree002e89e35d809d3fc46b37d272fd2b400e677851 /youtube/watch.py
parentee581c56a3676936110bbcca8bc755f5adb59b6d (diff)
downloadyt-local-9f44e0474be03e1a7d616db092293df0c0e496a3.tar.lz
yt-local-9f44e0474be03e1a7d616db092293df0c0e496a3.tar.xz
yt-local-9f44e0474be03e1a7d616db092293df0c0e496a3.zip
Integrate quality selection into Plyr
Signed-off-by: Jesús <heckyel@hyperbola.info>
Diffstat (limited to 'youtube/watch.py')
-rw-r--r--youtube/watch.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube/watch.py b/youtube/watch.py
index b879c37..e397574 100644
--- a/youtube/watch.py
+++ b/youtube/watch.py
@@ -48,6 +48,7 @@ def get_video_sources(info):
'type': 'video/' + fmt['ext'],
'quality_string': short_video_quality_string(fmt),
}
+ source['quality_string'] += ' (integrated)'
source.update(fmt)
uni_sources.append(source)
continue
@@ -661,6 +662,7 @@ def get_watch_page(video_id=None):
'settings': settings.current_settings_dict,
'has_manual_captions': any(s.get('on') for s in subtitle_sources),
**source_info,
+ 'using_pair_sources': using_pair_sources,
},
font_family=youtube.font_choices[settings.font],
**source_info,