Protect music player during fade
This commit is contained in:
parent
0ae5a99346
commit
5979c255b8
@ -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):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user