Protect music player during fade
This commit is contained in:
parent
558a283e73
commit
6ca37bc45a
@ -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):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user