From 95bb5b2f367c9adcac11bca57104f623b7dcf1d9 Mon Sep 17 00:00:00 2001 From: Martin Konecny Date: Wed, 15 May 2013 17:18:15 -0400 Subject: [PATCH] CC-5153: Cancel show won't cut off current song after airtime-playout is restarted -fixed --- python_apps/pypo/pypofetch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python_apps/pypo/pypofetch.py b/python_apps/pypo/pypofetch.py index d5959e502..99ef4b161 100644 --- a/python_apps/pypo/pypofetch.py +++ b/python_apps/pypo/pypofetch.py @@ -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: