Compare commits
6 commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
f349a2686c | ||
![]() |
22475e9c3a | ||
![]() |
1d65195926 | ||
![]() |
25ecc9b668 | ||
![]() |
595dea2fd5 | ||
![]() |
a37b86f638 |
2 changed files with 2 additions and 2 deletions
|
@ -42,6 +42,7 @@ Any reported device helps the community to see which AVRs work properly and whic
|
|||
* Marantz NR1605
|
||||
* Marantz NA6005
|
||||
* Marantz NA8005
|
||||
* Marantz SR5009
|
||||
* Onkyo TX-NR414
|
||||
* Onkyo TX-NR5009
|
||||
* Onkyo TX-NR616
|
||||
|
|
|
@ -61,7 +61,7 @@ def request(url):
|
|||
|
||||
|
||||
def get_station_by_id(uid):
|
||||
station_json = request('stations/byid/' + str(uid))
|
||||
station_json = request('stations/byuuid/' + str(uid))
|
||||
if station_json and len(station_json):
|
||||
return Station(station_json[0])
|
||||
else:
|
||||
|
@ -152,7 +152,6 @@ def get_stations_by_votes(limit=DEFAULT_STATION_LIMIT):
|
|||
stations = []
|
||||
stations_json = request('stations?order=votes&reverse=true&limit=' + str(limit))
|
||||
for station_json in stations_json:
|
||||
print(station_json)
|
||||
if SHOW_BROKEN_STATIONS or get_json_attr(station_json, 'lastcheckok') == 1:
|
||||
stations.append(Station(station_json))
|
||||
return stations
|
||||
|
|
Loading…
Add table
Reference in a new issue