Fixed some db stuff and fuck up

This commit is contained in:
Fergal Moran
2015-10-19 19:10:48 +01:00
parent 25bd272b6d
commit 2013130458
3 changed files with 47 additions and 10 deletions

View File

@@ -45,6 +45,10 @@ def shuffle():
url = "http://%s:%s/a/shuffle" % (settings.RADIO_HOST, settings.RADIO_PORT)
r = requests.post(url)
def play(url):
url = "http://%s:%s/a/shuffle" % (settings.RADIO_HOST, settings.RADIO_PORT)
r = requests.post(url)
if __name__ == '__main__':
d = get_server_details("localhost", "8000", "dss")