mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
keep the internal mpv playlist from growing on
https://forums.ankiweb.net/t/audio-tracks-get-clipped-at-the-end/10289/5
This commit is contained in:
parent
2b8bbda55f
commit
c950745ab4
1 changed files with 1 additions and 1 deletions
|
@ -402,7 +402,7 @@ class MpvManager(MPV, SoundOrVideoPlayer):
|
|||
filename = hooks.media_file_filter(tag.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)
|
||||
|
||||
def stop(self) -> None:
|
||||
|
|
Loading…
Reference in a new issue