Fix returning OKAY to play when unloaded. Closes #16

This commit is contained in:
Matthew Stratford 2021-09-22 23:53:30 +01:00
parent 502c7e3bed
commit 432c645759

View file

@ -199,9 +199,7 @@ class Player:
if not self.isPlaying:
state = self.state.get()
position: float = state["pos_true"]
try:
self.play(position)
except Exception:
if not self.play(position):
self.logger.log.exception(
"Failed to unpause from pos: " + str(position)
)