From d482933b1a2b94ae2ddc0ebb5fc8b948ba084cc1 Mon Sep 17 00:00:00 2001
From: Rudi Grinberg <rudi.grinberg@gmail.com>
Date: Tue, 30 Oct 2012 17:41:53 -0400
Subject: [PATCH] notify_liquidsoap_started refactored

---
 python_apps/api_clients/api_client.py | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/python_apps/api_clients/api_client.py b/python_apps/api_clients/api_client.py
index 12d90f503..17324425c 100644
--- a/python_apps/api_clients/api_client.py
+++ b/python_apps/api_clients/api_client.py
@@ -308,15 +308,7 @@ class AirtimeApiClient(object):
             logger.error("%s", e)
 
     def notify_liquidsoap_started(self):
-        logger = self.logger
-
-        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))
-
+        return self.services.notify_liquidsoap_started()
 
     """
     This is a callback from liquidsoap, we use this to notify about the