mirror of
https://github.com/fergalmoran/dss.api.git
synced 2025-12-25 18:58:19 +00:00
Fixed radio check
This commit is contained in:
@@ -73,6 +73,10 @@ class RadioHelper(Helper):
|
||||
'title': str(m)
|
||||
}
|
||||
elif 'np' in self.request.query_params:
|
||||
ret = ice_scrobbler.get_server_details("localhost", "8000", "dss")
|
||||
ret = ice_scrobbler.get_server_details(
|
||||
settings.RADIO_HOST,
|
||||
settings.RADIO_PORT,
|
||||
settings.RADIO_MOUNT
|
||||
)
|
||||
|
||||
return Response(data=ret, status=HTTP_200_OK)
|
||||
|
||||
Reference in New Issue
Block a user