Use stop instead of kick to disconnect the source

This commit is contained in:
Jérôme Lebleu 2020-04-01 19:01:06 +02:00
parent 6ac31f3a15
commit 39469d3f88
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()