mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Merge pull request #1224 from kelciour/mpv-playlist-fix
Keep the internal mpv playlist from growing on
This commit is contained in:
commit
75917f452b
1 changed files with 1 additions and 1 deletions
|
@ -402,7 +402,7 @@ class MpvManager(MPV, SoundOrVideoPlayer):
|
||||||
filename = hooks.media_file_filter(tag.filename)
|
filename = hooks.media_file_filter(tag.filename)
|
||||||
path = os.path.join(os.getcwd(), filename)
|
path = os.path.join(os.getcwd(), filename)
|
||||||
|
|
||||||
self.command("loadfile", path, "append-play", "pause=no")
|
self.command("loadfile", path, "replace", "pause=no")
|
||||||
gui_hooks.av_player_did_begin_playing(self, tag)
|
gui_hooks.av_player_did_begin_playing(self, tag)
|
||||||
|
|
||||||
def stop(self) -> None:
|
def stop(self) -> None:
|
||||||
|
|
Loading…
Reference in a new issue