3 Commits

Author SHA1 Message Date
753cb87104 Update grzegorz/mpv.py 2024-09-07 22:54:54 +02:00
5c3df04b8d Update grzegorz/mpv.py 2024-09-07 22:36:45 +02:00
f458e5c5b4 Update grzegorz/mpv.py 2024-09-07 22:02:44 +02:00

View File

@@ -26,10 +26,9 @@ class MPV:
return [
'mpv',
f'--input-ipc-server={str(cls._ipc_endpoint)}',
'--pipewire-remote=/run/user/1003/pipewire-0', # Cage doesn't set up XDG variables properly?
'--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