add support for navXML.asp and FavXML.asp queries
Some devices use hardcoded links for station list and favourites.
This commit is contained in:
parent
ee5d6ffdb1
commit
04c40f2b5f
1 changed files with 4 additions and 0 deletions
|
@ -122,6 +122,10 @@ def upstream(path):
|
||||||
return station_search()
|
return station_search()
|
||||||
if 'statxml.asp' in path and request.args.get('id'):
|
if 'statxml.asp' in path and request.args.get('id'):
|
||||||
return get_station_info()
|
return get_station_info()
|
||||||
|
if 'navXML.asp' in path:
|
||||||
|
return radiobrowser_landing()
|
||||||
|
if 'FavXML.asp' in path:
|
||||||
|
return my_stations_landing()
|
||||||
if 'loginXML.asp' in path:
|
if 'loginXML.asp' in path:
|
||||||
return landing()
|
return landing()
|
||||||
logging.error("Unhandled upstream query (/setupapp/%s)", path)
|
logging.error("Unhandled upstream query (/setupapp/%s)", path)
|
||||||
|
|
Loading…
Reference in a new issue