Sorry, fix broke actually more than it fixed. Adding AttributeError in
radiobrowser.get_playable_url exception should fix that.
This commit is contained in:
parent
e02cd6a85f
commit
87ef25f482
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ class Station:
|
|||
try:
|
||||
playable_url_json = request('url/' + generic.get_stationid_without_prefix(self.id))[0]
|
||||
self.url = playable_url_json['url']
|
||||
except (IndexError, KeyError):
|
||||
except (IndexError, KeyError,AttributeError):
|
||||
logging.error("Could not retrieve first playlist item for station with id '%s'", self.id)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue