diff --git a/python_apps/pypo/schedule/pypofetch.py b/python_apps/pypo/schedule/pypofetch.py index bed733b3c..034e33b9f 100644 --- a/python_apps/pypo/schedule/pypofetch.py +++ b/python_apps/pypo/schedule/pypofetch.py @@ -510,7 +510,6 @@ class PypoFetch(Thread): Currently we are checking every POLL_INTERVAL seconds. """ - message = self.fetch_queue.get(block=True, timeout=self.listener_timeout) self.handle_message(message) diff --git a/python_apps/pypo/schedule/telnetliquidsoap.py b/python_apps/pypo/schedule/telnetliquidsoap.py index e56f66f3a..d6b90e40d 100644 --- a/python_apps/pypo/schedule/telnetliquidsoap.py +++ b/python_apps/pypo/schedule/telnetliquidsoap.py @@ -13,8 +13,8 @@ from threading import Lock def create_liquidsoap_annotation(media): # We need liq_start_next value in the annotate. That is the value that # controls overlap duration of crossfade. - return ('annotate:media_id="%s",liq_start_next="0",liq_fade_in="%s",' + \ - 'liq_fade_out="%s",liq_cue_in="%s",liq_cue_out="%s",' + \ + return ('annotate:media_id="%s",liq_start_next="0",liq_fade_in="%s",' + + 'liq_fade_out="%s",liq_cue_in="%s",liq_cue_out="%s",' + 'schedule_table_id="%s",replay_gain="%s dB":%s') % \ (media['id'], float(media['fade_in']) / 1000,