fix audio is paused unusual

closes #1164
This commit is contained in:
kelciour 2021-06-07 01:09:44 +03:00
parent dbfe12edbf
commit c352314ed8
2 changed files with 1 additions and 2 deletions

View file

@ -89,7 +89,6 @@ class MPVBase:
"--ontop", "--ontop",
"--audio-display=no", "--audio-display=no",
"--keep-open=no", "--keep-open=no",
"--reset-on-next-file=pause",
"--autoload-files=no", "--autoload-files=no",
] ]

View file

@ -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") self.command("loadfile", path, "append-play", "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: