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: