Protect music player during fade

This commit is contained in:
Keith Edmunds 2022-02-28 22:55:09 +00:00
parent 0ae5a99346
commit dbf71ea321

View File

@ -106,6 +106,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):