On Kodi 16/RPi2:
Lot's of issues with this addon, simply adding stations to "My stations" without having tried to play back anything already causes errors.
Also, when I do play a radio station, and want to stop it but the screen is dimmed and I hit the return button, Radio freaks out and goes into a loop trying to play each station one by one.
Too bad, I believe this addon has not been maintained for 3 years so it makes sense stuff breaks with new Kodi versions and the stream url of lots of stations also change.
Any alternatives? Only thing I can think of is to manually create a .m3u playlist with my radio stations. For most European countries you can find the stream urls of most stations here:
http://www.listenlive.eu
But in most cases it is a m3u file itself, since there are multiple mirrors for 1 station. So I don't know how to create a nice playlist that views nicely in Kodi, with 1 listing per station instead of multiple.
Piece of the log after recieving a bunch of error messages:
Code:
18:42:50 536056.812500 T:1655698416 NOTICE: [plugin.audio.radio_de] get_station_by_station_id started with station_id=11746
18:42:50 536056.812500 T:1416623088 NOTICE: [plugin.audio.radio_de] __api_call started with path=broadcast/getbroadcastembedded, param={'broadcast': '30802'}
18:42:50 536056.812500 T:1758675952 NOTICE: [plugin.audio.radio_de] __urlopen opening url=http://rad.io/info/broadcast/getbroadcastembedded?broadcast=11746
18:42:50 536056.812500 T:1391457264 NOTICE: [plugin.audio.radio_de] __urlopen opening url=http://rad.io/info/broadcast/getbroadcastembedded?broadcast=30803
18:42:50 536056.812500 T:1655698416 NOTICE: [plugin.audio.radio_de] __api_call started with path=broadcast/getbroadcastembedded, param={'broadcast': '11746'}
18:42:50 536056.812500 T:1416623088 NOTICE: [plugin.audio.radio_de] __urlopen opening url=http://rad.io/info/broadcast/getbroadcastembedded?broadcast=30802
18:42:50 536056.812500 T:1655698416 NOTICE: [plugin.audio.radio_de] __urlopen opening url=http://rad.io/info/broadcast/getbroadcastembedded?broadcast=11746
18:42:50 536056.812500 T:1280308208 NOTICE: [plugin.audio.radio_de] get_stream_url result: http://vip-icecast.538.lw.triple-it.nl/RADIO538_MP3
18:42:50 536057.125000 T:1399845872 NOTICE: [xbmcswift2] Request for "/station/1819" matches rule for function "get_stream_url"
18:42:50 536057.125000 T:1297085424 NOTICE: [plugin.audio.radio_de] get_stream_url result: http://vip-icecast.538.lw.triple-it.nl/WEB12_MP3
18:42:50 536057.125000 T:1399845872 NOTICE: [plugin.audio.radio_de] get_station_by_station_id started with station_id=1819
18:42:50 536057.125000 T:1399845872 NOTICE: [plugin.audio.radio_de] __api_call started with path=broadcast/getbroadcastembedded, param={'broadcast': '1819'}
18:42:50 536057.125000 T:1399845872 NOTICE: [plugin.audio.radio_de] __urlopen opening url=http://rad.io/info/broadcast/getbroadcastembedded?broadcast=1819
18:42:50 536057.187500 T:1305474032 NOTICE: [plugin.audio.radio_de] get_stream_url result: http://icecast.omroep.nl/funx-latin-bb-mp3
18:42:50 536057.187500 T:1416623088 NOTICE: [plugin.audio.radio_de] get_stream_url result: http://vip-icecast.538.lw.triple-it.nl/WEB12_MP3
18:42:50 536057.187500 T:1758675952 NOTICE: [plugin.audio.radio_de] get_stream_url result: http://icecast.omroep.nl/funx-slowjamz-bb-mp3
18:42:50 536057.250000 T:1391457264 NOTICE: Previous line repeats 1 times.
18:42:50 536057.250000 T:1391457264 NOTICE: [plugin.audio.radio_de] get_stream_url result: http://vip-icecast.538.lw.triple-it.nl/WEB19_MP3
18:42:50 536057.250000 T:1399845872 NOTICE: [plugin.audio.radio_de] get_stream_url result: http://vip-icecast.538.lw.triple-it.nl/RADIO538_MP3
18:42:50 536057.250000 T:1957823024 ERROR: CPythonInvoker(89, /home/osmc/.kodi/addons/plugin.audio.radio_de/addon.py): script didn't stop in 5 seconds - let's kill it
18:42:50 536057.500000 T:1957823024 ERROR: Playlist Player: skipping unplayable item: 10, path [plugin://plugin.audio.radio_de/station/30803]
18:42:51 536058.125000 T:1280308208 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IOError'>
Error Contents: [Errno 2] No such file or directory: '/home/osmc/.kodi/userdata/addon_data/plugin.audio.radio_de/.storage/my_stations.json.tmp'
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/plugin.audio.radio_de/addon.py", line 278, in <module>
plugin.run()
File "/home/osmc/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 339, in run
storage.close()
File "/home/osmc/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/storage.py", line 69, in close
self.sync()
File "/home/osmc/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/storage.py", line 63, in sync
shutil.move(tempname, self.filename) # atomic commit
File "/usr/lib/python2.7/shutil.py", line 302, in move
copy2(src, real_dst)
File "/usr/lib/python2.7/shutil.py", line 130, in copy2
copyfile(src, dst)
File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/home/osmc/.kodi/userdata/addon_data/plugin.audio.radio_de/.storage/my_stations.json.tmp'
-->End of Python script error report<--
18:42:54 536060.750000 T:1297085424 ERROR: Previous line repeats 4 times.
18:42:54 536060.750000 T:1297085424 NOTICE: [xbmcswift2] Request for "/station/17199" matches rule for function "get_stream_url"
18:42:54 536060.750000 T:1297085424 NOTICE: [plugin.audio.radio_de] get_station_by_station_id started with station_id=17199
18:42:54 536060.750000 T:1297085424 NOTICE: [plugin.audio.radio_de] __api_call started with path=broadcast/getbroadcastembedded, param={'broadcast': '17199'}
18:42:54 536060.750000 T:1297085424 NOTICE: [plugin.audio.radio_de] __urlopen opening url=http://rad.io/info/broadcast/getbroadcastembedded?broadcast=17199
18:42:54 536061.000000 T:1758675952 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IOError'>
Error Contents: [Errno 2] No such file or directory: '/home/osmc/.kodi/userdata/addon_data/plugin.audio.radio_de/.storage/my_stations.json.tmp'
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/plugin.audio.radio_de/addon.py", line 278, in <module>
plugin.run()
File "/home/osmc/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 339, in run
storage.close()
File "/home/osmc/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/storage.py", line 69, in close
self.sync()
File "/home/osmc/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/storage.py", line 63, in sync
shutil.move(tempname, self.filename) # atomic commit
File "/usr/lib/python2.7/shutil.py", line 302, in move
copy2(src, real_dst)
File "/usr/lib/python2.7/shutil.py", line 130, in copy2
copyfile(src, dst)
File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/home/osmc/.kodi/userdata/addon_data/plugin.audio.radio_de/.storage/my_stations.json.tmp'
-->End of Python script error report<--
18:42:54 536061.187500 T:1297085424 NOTICE: [plugin.audio.radio_de] get_stream_url result: http://icecast.omroep.nl/funx-dance-bb-mp3
18:42:54 536061.187500 T:1957823024 ERROR: Playlist Player: skipping unplayable item: 11, path [plugin://plugin.audio.radio_de/station/17199]
18:42:56 536063.375000 T:1758675952 NOTICE: [xbmcswift2] Request for "/station/8432" matches rule for function "get_stream_url"
18:42:56 536063.375000 T:1758675952 NOTICE: [plugin.audio.radio_de] get_station_by_station_id started with station_id=8432
18:42:56 536063.375000 T:1758675952 NOTICE: [plugin.audio.radio_de] __api_call started with path=broadcast/getbroadcastembedded, param={'broadcast': '8432'}
18:42:56 536063.375000 T:1758675952 NOTICE: [plugin.audio.radio_de] __urlopen opening url=http://rad.io/info/broadcast/getbroadcastembedded?broadcast=8432
18:42:56 536063.437500 T:1758675952 NOTICE: [plugin.audio.radio_de] get_stream_url result: http://icecast.omroep.nl/3fm-bb-mp3
18:43:29 536096.625000 T:1957823024 ERROR: GetDirectory - Error getting plugin://plugin.audio.radio_de/stations/my/
18:43:29 536096.625000 T:1957823024 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.radio_de/stations/my/) failed
18:43:32 536099.312500 T:1391457264 NOTICE: [xbmcswift2] Request for "/stations/my/" matches rule for function "show_my_stations"
18:43:32 536099.312500 T:1391457264 NOTICE: [plugin.audio.radio_de] __add_stations started with 23 items
18:43:32 536099.375000 T:1416623088 NOTICE: [xbmcswift2] Request for "/" matches rule for function "show_root_menu"
18:43:32 536099.625000 T:1391457264 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IOError'>
Error Contents: [Errno 2] No such file or directory: '/home/osmc/.kodi/userdata/addon_data/plugin.audio.radio_de/.storage/my_stations.json.tmp'
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/plugin.audio.radio_de/addon.py", line 278, in <module>
plugin.run()
File "/home/osmc/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 339, in run
storage.close()
File "/home/osmc/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/storage.py", line 69, in close
self.sync()
File "/home/osmc/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/storage.py", line 63, in sync
shutil.move(tempname, self.filename) # atomic commit
File "/usr/lib/python2.7/shutil.py", line 302, in move
copy2(src, real_dst)
File "/usr/lib/python2.7/shutil.py", line 130, in copy2
copyfile(src, dst)
File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/home/osmc/.kodi/userdata/addon_data/plugin.audio.radio_de/.storage/my_stations.json.tmp'
-->End of Python script error report<--
18:43:50 536116.875000 T:1957823024 ERROR: Window Translator: Can't find window settingsprofile
18:44:05 536132.625000 T:1957823024 ERROR: Previous line repeats 1 times.
18:44:05 536132.625000 T:1957823024 ERROR: unable to load:/usr/share/kodi/addons/skin.osmc/16x9/EventLog.xml, Line 0
Failed to open file
THERE YOU GO:
TuneIn addon for Kodi!
This is great. Especially if you have TuneIn on your phone. You can just follow the radio stations in the app. And they will appear in Kodi as well after you login.
Super easy.