diff --git a/player.py b/player.py index e8b8cca..23dbcee 100644 --- a/player.py +++ b/player.py @@ -424,6 +424,7 @@ class Player: def output(self, name: Optional[str] = None): wasPlaying = self.state.get()["playing"] + oldPos = self.state.get()["pos_true"] name = None if (not name or name.lower() == "none") else name @@ -444,7 +445,7 @@ class Player: if loadedItem: self.load(loadedItem.weight) if wasPlaying: - self.unpause() + self.play(oldPos) return True