Merge pull request #7 from Programvareverkstedet/ytdl-format

limit ytdl quality to 1080p
This commit was merged in pull request #7.
This commit is contained in:
2024-05-18 22:58:25 +02:00
committed by GitHub

View File

@@ -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