aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/watch.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube/watch.py')
-rw-r--r--youtube/watch.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube/watch.py b/youtube/watch.py
index e397574..5bb3341 100644
--- a/youtube/watch.py
+++ b/youtube/watch.py
@@ -654,7 +654,6 @@ def get_watch_page(video_id=None):
invidious_reload_button = info['invidious_reload_button'],
video_url = util.URL_ORIGIN + '/watch?v=' + video_id,
video_id = video_id,
- time_start = time_start,
js_data = {
'video_id': info['id'],
@@ -663,6 +662,10 @@ def get_watch_page(video_id=None):
'has_manual_captions': any(s.get('on') for s in subtitle_sources),
**source_info,
'using_pair_sources': using_pair_sources,
+ 'time_start': time_start,
+ 'playlist': info['playlist'],
+ 'related': info['related_videos'],
+ 'playability_error': info['playability_error'],
},
font_family=youtube.font_choices[settings.font],
**source_info,