fix: web interface radio display error, #94
This commit is contained in:
parent
a39199d54d
commit
30c481bc24
@ -35,7 +35,7 @@ def get_radio_server_description(url):
|
|||||||
error = error_traceback.rstrip().split("\n")[-1]
|
error = error_traceback.rstrip().split("\n")[-1]
|
||||||
log.debug("radio: unsuccessful attempts on fetching radio description (shoutcast): " + error)
|
log.debug("radio: unsuccessful attempts on fetching radio description (shoutcast): " + error)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
return False # ?
|
return url
|
||||||
|
|
||||||
try:
|
try:
|
||||||
r = requests.get(url_icecast, timeout=10)
|
r = requests.get(url_icecast, timeout=10)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user