From 4601830d09ace454ef7e6dc465f184001e7b9762 Mon Sep 17 00:00:00 2001 From: MoojMidge <56883549+MoojMidge@users.noreply.github.com> Date: Sun, 8 Dec 2024 20:04:56 +1100 Subject: [PATCH] Add vertical video itags --- .../lib/youtube_plugin/youtube/helper/stream_info.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/resources/lib/youtube_plugin/youtube/helper/stream_info.py b/resources/lib/youtube_plugin/youtube/helper/stream_info.py index d787acd6c..ca22590c3 100644 --- a/resources/lib/youtube_plugin/youtube/helper/stream_info.py +++ b/resources/lib/youtube_plugin/youtube/helper/stream_info.py @@ -265,6 +265,16 @@ class StreamInfo(YouTubeRequestClient): '248': {'container': 'webm', 'dash/video': True, 'video': {'height': 1080, 'codec': 'vp9'}}, + '779': {'container': 'webm', + 'title': '1080p vertical', + 'dash/video': True, + 'fps': 30, + 'video': {'height': 480, 'width': 1080, 'codec': 'vp9'}}, + '780': {'container': 'webm', + 'title': 'Premium 1080p vertical', + 'dash/video': True, + 'fps': 30, + 'video': {'height': 480, 'width': 1080, 'codec': 'vp9'}}, '264': {'container': 'mp4', 'dash/video': True, 'video': {'height': 1440, 'codec': 'h.264'}},