Protect music player during fade

This commit is contained in:
Keith Edmunds 2022-02-28 22:55:09 +00:00
parent 558a283e73
commit 6ca37bc45a

View File

@ -104,6 +104,9 @@ class Music:
with lock:
DEBUG("music.get_position", True)
print(f"get_position, {self.player=}")
if not self.player:
return
return self.player.get_position()
def play(self, path):