From 891f3a109e88a0343b0c0a632d34180cf8fdd2f6 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sat, 18 May 2024 17:26:39 +0200 Subject: [PATCH] limit to 1080p --- grzegorz/mpv.py | 1 + 1 file changed, 1 insertion(+) diff --git a/grzegorz/mpv.py b/grzegorz/mpv.py index bdf9eef..73a713d 100644 --- a/grzegorz/mpv.py +++ b/grzegorz/mpv.py @@ -29,6 +29,7 @@ class MPV: '--idle', '--force-window', *(('--fullscreen',) if not IS_DEBUG else ()), + '--ytdl-format=bestvideo[height<=?1080]', '--no-terminal', '--load-unsafe-playlists', '--keep-open', # Keep last frame of video on end of video