CC-1665: Scheduled stream rebroadcasting and recording
-Fix scheduled streams mixed with scheduled files
This commit is contained in:
parent
ccdc06786d
commit
eb4c23b0b6
9 changed files with 29 additions and 22 deletions
|
@ -242,7 +242,11 @@ class PypoPush(Thread):
|
|||
for mkey in sorted_keys:
|
||||
media_item = media_schedule[mkey]
|
||||
if media_item['independent_event']:
|
||||
if len(current_chain) > 0:
|
||||
chains.append(current_chain)
|
||||
|
||||
chains.append([media_item])
|
||||
current_chain = []
|
||||
elif len(current_chain) == 0:
|
||||
current_chain.append(media_item)
|
||||
elif media_item['start'] == current_chain[-1]['end']:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue