Merge pull request #993 from jeromelebleu/fix-disconnect
Fix source disconnection with recent Liquidsoap
This commit is contained in:
commit
492d5768b4
|
@ -234,9 +234,9 @@ class TelnetLiquidsoap:
|
||||||
self.logger.debug('Disconnecting source: %s', sourcename)
|
self.logger.debug('Disconnecting source: %s', sourcename)
|
||||||
command = ""
|
command = ""
|
||||||
if(sourcename == "master_dj"):
|
if(sourcename == "master_dj"):
|
||||||
command += "master_harbor.kick\n"
|
command += "master_harbor.stop\n"
|
||||||
elif(sourcename == "live_dj"):
|
elif(sourcename == "live_dj"):
|
||||||
command += "live_dj_harbor.kick\n"
|
command += "live_dj_harbor.stop\n"
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.telnet_lock.acquire()
|
self.telnet_lock.acquire()
|
||||||
|
|
Loading…
Reference in New Issue