From 9f44e0474be03e1a7d616db092293df0c0e496a3 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Wed, 25 Aug 2021 14:47:57 -0700 Subject: Integrate quality selection into Plyr MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jesús --- youtube/watch.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'youtube/watch.py') 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, -- cgit v1.2.3