Merge pull request #993 from jeromelebleu/fix-disconnect

Fix source disconnection with recent Liquidsoap
This commit is contained in:
Kyle Robbertze 2020-04-02 09:50:43 +02:00 committed by GitHub
commit 492d5768b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -234,9 +234,9 @@ class TelnetLiquidsoap:
self.logger.debug('Disconnecting source: %s', sourcename)
command = ""
if(sourcename == "master_dj"):
command += "master_harbor.kick\n"
command += "master_harbor.stop\n"
elif(sourcename == "live_dj"):
command += "live_dj_harbor.kick\n"
command += "live_dj_harbor.stop\n"
try:
self.telnet_lock.acquire()