CC-5098: Liquidsoap: Restart liquidsoap will make the output stream silence until next song starts

-fixed
This commit is contained in:
Martin Konecny 2013-05-06 16:39:17 -04:00
parent c70d17c768
commit 1895686c85
2 changed files with 6 additions and 0 deletions

View file

@ -174,6 +174,8 @@ class PypoFetch(Thread):
commands.append(('vars.default_dj_fade %s\n' % fade).encode('utf-8'))
self.pypo_liquidsoap.get_telnet_dispatcher().telnet_send(commands)
self.pypo_liquidsoap.clear_queue_tracker()
def restart_liquidsoap(self):
try:
self.telnet_lock.acquire()