Skip to content

Commit 3c60ced

Browse files
committed
Start playing from cue if not already playing
1 parent 87ee49b commit 3c60ced

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/LivePlaylist.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ def update_display(self):
6868
cue_point_json = message['data']
6969
cue_point = next(x for x in self.get_song().cue_points if x.name == cue_point_json['name'] and x.time == cue_point_json['time'])
7070
cue_point.jump()
71+
if not(self.get_song().is_playing):
72+
self.get_song().start_playing()
7173
else:
7274
Log.log("Unknown command!")
7375

0 commit comments

Comments
 (0)