diff --git a/qt/aqt/sound.py b/qt/aqt/sound.py index dca5b0c1e..f1e096a09 100644 --- a/qt/aqt/sound.py +++ b/qt/aqt/sound.py @@ -360,8 +360,8 @@ class MpvManager(MPV, SoundOrVideoPlayer): def seek_relative(self, secs: int) -> None: self.command("seek", secs, "relative") - def on_property_idle_active(self, val) -> None: - if val and self._on_done: + def on_end_file(self) -> None: + if self._on_done: self._on_done() def shutdown(self) -> None: