Cancel show won't cut off current song after airtime-playout is restarted

-fixed
This commit is contained in:
Martin Konecny 2013-05-15 17:18:15 -04:00
parent 05dc0b7dbc
commit 95bb5b2f36
1 changed files with 2 additions and 1 deletions

View File

@ -535,13 +535,14 @@ class PypoFetch(Thread):
#Liquidsoap is playing much more easily.
self.pypo_liquidsoap.clear_all_queues()
self.set_bootstrap_variables()
# Bootstrap: since we are just starting up, we need to grab the
# most recent schedule. After that we can just wait for updates.
success = self.persistent_manual_schedule_fetch(max_attempts=5)
if success:
self.logger.info("Bootstrap schedule received: %s", self.schedule_data)
self.set_bootstrap_variables()
loops = 1
while True: