Merge pull request #7 from Programvareverkstedet/ytdl-format

limit ytdl quality to 1080p
This commit is contained in:
Peder Bergebakken Sundt 2024-05-18 22:58:25 +02:00 committed by GitHub
commit 0481aef655
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

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