Closed duracell80 closed 4 years ago
Config.json at time of bug found ....
{"radiobrowser":[{"singles":"1","tags":"ambient,chillout,1980s","stations":"net:bbc,net:npr","range":"25-600"}]}
And the API lookup was https://de1.api.radio-browser.info/m3u/stations/bytag/1980s
Radio browser is spitting out M3U files with an illegal UUID for this file format.
Fixed with ...
REMOVE #RADIOBROWSERUUID: FROM M3U n_urls = re.sub(r'^#RADIOBROWSERUUID:.*\n?', '', n_file.content, flags=re.MULTILINE)
Seems to be failing on station name, possibly due to empty or malformatted string for station name?
Splitting stations, please wait Traceback (most recent call last): File "rb-populate.py", line 168, in
station_name = str(station_split[1])
IndexError: list index out of range