CC-3430: Live Stream: Admin should be able to kick out the source connection

- Clicking a button on UI triggers sending msg to pypo, which will lead running
'kick' command in liquidsoap.
This commit is contained in:
James 2012-03-14 11:09:59 -04:00
parent 2ee4b227fc
commit c5c9fd7ba8
6 changed files with 50 additions and 6 deletions

View file

@ -77,6 +77,9 @@ class PypoMessageHandler(Thread):
elif command == 'switch_source':
self.logger.info("switch_source command received...")
self.pypo_queue.put(message)
elif command == 'disconnect_source':
self.logger.info("disconnect_source command received...")
self.pypo_queue.put(message)
elif command == 'update_recorder_schedule':
self.recorder_queue.put(message)
elif command == 'cancel_recording':