Fix mpv loadfile syntax change (#3105)

This commit is contained in:
kelciour 2024-03-31 09:46:59 +03:00 committed by GitHub
parent ddccfb805f
commit 111f3bd138
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -88,6 +88,7 @@ class MPVBase:
"--keep-open=no",
"--autoload-files=no",
"--gapless-audio=no",
"--reset-on-next-file=pause",
]
if is_win:

View file

@ -428,7 +428,7 @@ class MpvManager(MPV, SoundOrVideoPlayer):
filename = hooks.media_file_filter(tag.filename)
path = os.path.join(self.media_folder, filename)
self.command("loadfile", path, "replace", "pause=no")
self.command("loadfile", path, "replace")
gui_hooks.av_player_did_begin_playing(self, tag)
def stop(self) -> None: