Fix returning OKAY to play when unloaded. Closes #16
This commit is contained in:
parent
502c7e3bed
commit
432c645759
1 changed files with 1 additions and 3 deletions
|
@ -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)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue