raising the exception might kill pypopush thread

this is apparently the reason why schedules don't get pushed after a silence
producing desynchronization between the mvc and liquidsoap and cannot catch up until pypofetch times out.
(ON AIR turns off and there's a mess until the schedule is fetched. sometimes it even continues playing the wrong tune)
((logging inside the while True loop produces no output, probably it is locked on the queue?))
This commit is contained in:
Roberto Soto 2019-11-01 20:18:11 -07:00
parent 5ebdf2ac33
commit 03c3cb02d8

View file

@ -69,7 +69,6 @@ class PypoPush(Thread):
media_schedule = self.queue.get(block=True)
except Exception, e:
self.logger.error(str(e))
raise
else:
self.logger.debug(media_schedule)
#separate media_schedule list into currently_playing and