mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Reset av_player.current_player after mpv restart
This commit is contained in:
parent
c5996fa29b
commit
8cac607588
1 changed files with 1 additions and 0 deletions
|
@ -335,6 +335,7 @@ class MpvManager(MPV, SoundOrVideoPlayer):
|
|||
super().__init__(window_id=None, debug=False)
|
||||
|
||||
def on_init(self) -> None:
|
||||
self.on_end_file()
|
||||
try:
|
||||
self.command("keybind", "q", "stop")
|
||||
self.command("keybind", "Q", "stop")
|
||||
|
|
Loading…
Reference in a new issue