mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Fix mpv loadfile syntax change (#3105)
This commit is contained in:
parent
ddccfb805f
commit
111f3bd138
2 changed files with 2 additions and 1 deletions
|
@ -88,6 +88,7 @@ class MPVBase:
|
|||
"--keep-open=no",
|
||||
"--autoload-files=no",
|
||||
"--gapless-audio=no",
|
||||
"--reset-on-next-file=pause",
|
||||
]
|
||||
|
||||
if is_win:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue