CC-3384: Pypo On-Air is off and streaming is not playing on every other songs in a show.
-temporary solution to make sure we don't push same song multiple times.
This commit is contained in:
parent
a4f528021f
commit
249b743dd1
1 changed files with 5 additions and 0 deletions
|
@ -83,6 +83,11 @@ class PypoPush(Thread):
|
||||||
if self.push_to_liquidsoap(media_item):
|
if self.push_to_liquidsoap(media_item):
|
||||||
self.logger.debug("Pushed to liquidsoap, updating 'played' status.")
|
self.logger.debug("Pushed to liquidsoap, updating 'played' status.")
|
||||||
|
|
||||||
|
"""
|
||||||
|
Temporary solution to make sure we don't push the same track multiple times.
|
||||||
|
"""
|
||||||
|
del media[key]
|
||||||
|
|
||||||
currently_on_air = True
|
currently_on_air = True
|
||||||
self.liquidsoap_state_play = True
|
self.liquidsoap_state_play = True
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue