Refactor some stuff related to four streams, Liquidsoap is a piece of

shit too - no dynamic variables
This commit is contained in:
Albert Santoni 2015-03-10 19:15:38 -04:00
parent 6232e3f4f0
commit 0042fb50fe
9 changed files with 130 additions and 221 deletions

View file

@ -83,12 +83,12 @@ class Notify:
# @pram time: time that LS started
def notify_liquidsoap_status(self, msg, stream_id, time):
logger.debug('#################################################')
logger.debug('# Calling server to update liquidsoap status #')
logger.debug('#################################################')
logger.debug('msg = ' + str(msg))
logger.info('#################################################')
logger.info('# Calling server to update liquidsoap status #')
logger.info('#################################################')
logger.info('msg = ' + str(msg))
response = self.api_client.notify_liquidsoap_status(msg, stream_id, time)
logger.debug("Response: " + json.dumps(response))
logger.info("Response: " + json.dumps(response))
def notify_source_status(self, source_name, status):
logger.debug('#################################################')