CC-5192
Pypo: Live Streaming in first show will block the next show's first track -fixed. Was caused by clashing keys
This commit is contained in:
parent
13f7c3941d
commit
6fddabdd7c
3 changed files with 10 additions and 6 deletions
|
@ -61,8 +61,10 @@ class PypoLiqQueue(Thread):
|
|||
schedule_deque.append(media_schedule[i])
|
||||
|
||||
if len(keys):
|
||||
time_until_next_play = self.date_interval_to_seconds(\
|
||||
keys[0] - datetime.utcnow())
|
||||
time_until_next_play = self.date_interval_to_seconds(
|
||||
media_schedule[keys[0]]['start'] -
|
||||
datetime.utcnow())
|
||||
|
||||
else:
|
||||
time_until_next_play = None
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue