notify_liquidsoap_started refactored
This commit is contained in:
parent
1d325949e7
commit
d482933b1a
|
@ -308,15 +308,7 @@ class AirtimeApiClient(object):
|
||||||
logger.error("%s", e)
|
logger.error("%s", e)
|
||||||
|
|
||||||
def notify_liquidsoap_started(self):
|
def notify_liquidsoap_started(self):
|
||||||
logger = self.logger
|
return self.services.notify_liquidsoap_started()
|
||||||
|
|
||||||
try:
|
|
||||||
url = self.construct_url("notify_liquidsoap_started")
|
|
||||||
|
|
||||||
self.get_response_from_server(url, attempts=5)
|
|
||||||
except Exception, e:
|
|
||||||
logger.error("Exception: %s", str(e))
|
|
||||||
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
This is a callback from liquidsoap, we use this to notify about the
|
This is a callback from liquidsoap, we use this to notify about the
|
||||||
|
|
Loading…
Reference in New Issue