I edited the ‘local’ url to my actual location and it did indeed produce a populated m3u8 list.
I have not tested it on the server yet, but will do soon I hope.
For your information, in case it might be important to you, the terminal, as well as listing the found stations also produced the following output
Traceback (most recent call last):
File "./tuneinradio_without_selenium.py", line 145, in <module>
File "./tuneinradio_without_selenium.py", line 128, in main
m3ulink = "#EXTINF:-1 tvg-logo=\"" + thisimage + "\" tvg-id=\"" + title + "\" group-title=\"MyRadio\" radio=\"true\"," + title + "\npipe:///usr/bin/ffmpeg -loglevel fatal -i " + finalurl + " -vn -acodec libmp3lame -metadata service_provider=" + provider + " -metadata service_name=" + provider + " -f mpegts -mpegts_service_type digital_radio pipe:1\n\n"
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 93: ordinal not in range(128)
Thanks again for doing this … appreciated
I think the reason for the errors is that some of the stations are not functioning (at least not in a browser), and the script errors out when it meets such a radio station.
So the list produced is incomplete as all stations following the ‘bad’ one never get listed.