correctly rename AirTime to Airtime
This commit is contained in:
parent
4ebcb1b1f9
commit
e056e5ff01
8 changed files with 10 additions and 10 deletions
|
@ -1,7 +1,7 @@
|
|||
from api_clients import *
|
||||
import sys
|
||||
|
||||
api_clients = api_client.AirTimeApiClient()
|
||||
api_clients = api_client.AirtimeApiClient()
|
||||
|
||||
dj_type = sys.argv[1]
|
||||
username = sys.argv[2]
|
||||
|
|
|
@ -107,10 +107,10 @@ except Exception, e:
|
|||
|
||||
class Global:
|
||||
def __init__(self):
|
||||
self.api_client = api_client.AirTimeApiClient()
|
||||
self.api_client = api_client.AirtimeApiClient()
|
||||
|
||||
def selfcheck(self):
|
||||
self.api_client = api_client.AirTimeApiClient()
|
||||
self.api_client = api_client.AirtimeApiClient()
|
||||
return self.api_client.is_server_compatible()
|
||||
|
||||
def test_api(self):
|
||||
|
@ -172,7 +172,7 @@ if __name__ == '__main__':
|
|||
g.test_api()
|
||||
sys.exit()
|
||||
|
||||
api_client = api_client.AirTimeApiClient()
|
||||
api_client = api_client.AirtimeApiClient()
|
||||
api_client.register_component("pypo")
|
||||
|
||||
pypoFetch_q = Queue()
|
||||
|
|
|
@ -40,7 +40,7 @@ except Exception, e:
|
|||
class PypoFetch(Thread):
|
||||
def __init__(self, pypoFetch_q, pypoPush_q, media_q, telnet_lock):
|
||||
Thread.__init__(self)
|
||||
self.api_client = api_client.AirTimeApiClient()
|
||||
self.api_client = api_client.AirtimeApiClient()
|
||||
self.fetch_queue = pypoFetch_q
|
||||
self.push_queue = pypoPush_q
|
||||
self.media_prepare_queue = media_q
|
||||
|
|
|
@ -64,7 +64,7 @@ except Exception, e:
|
|||
|
||||
class Notify:
|
||||
def __init__(self):
|
||||
self.api_client = api_client.AirTimeApiClient()
|
||||
self.api_client = api_client.AirtimeApiClient()
|
||||
|
||||
def notify_media_start_playing(self, data, media_id):
|
||||
logger = logging.getLogger("notify")
|
||||
|
|
|
@ -42,7 +42,7 @@ except Exception, e:
|
|||
class PypoPush(Thread):
|
||||
def __init__(self, q, telnet_lock):
|
||||
Thread.__init__(self)
|
||||
self.api_client = api_client.AirTimeApiClient()
|
||||
self.api_client = api_client.AirtimeApiClient()
|
||||
self.queue = q
|
||||
|
||||
self.telnet_lock = telnet_lock
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue