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:
Martin Konecny 2012-03-05 16:09:17 -05:00
parent a4f528021f
commit 249b743dd1
1 changed files with 5 additions and 0 deletions

View File

@ -83,6 +83,11 @@ class PypoPush(Thread):
if self.push_to_liquidsoap(media_item):
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
self.liquidsoap_state_play = True