Kodi Community Forum

Full Version: [RELEASE] Radio Add-on (rad.io, radio.de, radio.fr, radio.pt, radio.es) Music Plugin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
(2014-12-12, 19:34)tahyti Wrote: [ -> ]Hi,
i love this plugin, but i cant get radio jaliya to work anymore... found in genre/african music...

i tried to add it as a custom radio, but none of the stream i tried worked...

http://laut.fm/jaliya
http://liveradio.de/radio-jaliya
http://stream3.laut.fm/jaliya
http://lautfm-jaliya.radio.de/

Any idea?

Cheers.
The same applies for me for several stations that worked flawlessly before. lets say, 2 or 3 weeks.
I looked at the kodi log and it seems the stream cannot be decoded:
Code:
11:24:01 T:1969123328   ERROR: CAudioDecoder: Unable to Init Codec while loading file http://streaming206.radionomy.com/Aair-Lounge-Radio?group=0&countrycode=DE
11:24:01 T:1969123328 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder

Or it states it as an "unplayable item" like in this case:
Code:
11:24:01 T:1969123328   DEBUG: StartScript - calling plugin Radio('plugin://plugin.audio.radio_de/station/9117','4','')
11:24:01 T:1969123328   DEBUG: WaitOnScriptResult - waiting on the Radio (id=9) plugin...
11:24:01 T:1673524288  NOTICE: Thread LanguageInvoker start, auto delete: false
11:24:01 T:1673524288    INFO: initializing python engine.
11:24:01 T:1673524288   DEBUG: CPythonInvoker(9, /storage/.kodi/addons/plugin.audio.radio_de/addon.py): start processing
11:24:01 T:1673524288  NOTICE: -->Python Interpreter Initialized<--
11:24:01 T:1673524288   DEBUG: CPythonInvoker(9, /storage/.kodi/addons/plugin.audio.radio_de/addon.py): the source file to load is "/storage/.kodi/addons/plugin.audio.radio_de/addon.py"
11:24:01 T:1673524288   DEBUG: CPythonInvoker(9, /storage/.kodi/addons/plugin.audio.radio_de/addon.py): setting the Python path to /storage/.kodi/addons/plugin.audio.radio_de:/storage/.kodi/addons/script.module.xbmcswift2/lib:/usr/lib/python27.zip:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/lib/python2.7/site-packages:/usr/lib/python2.7/site-packages/PIL:/usr/lib/python2.7/site-packages/gtk-2.0
11:24:01 T:1673524288   DEBUG: CPythonInvoker(9, /storage/.kodi/addons/plugin.audio.radio_de/addon.py): entering source directory /storage/.kodi/addons/plugin.audio.radio_de
11:24:01 T:1673524288   DEBUG: CPythonInvoker(9, /storage/.kodi/addons/plugin.audio.radio_de/addon.py): instantiating addon using automatically obtained id of "plugin.audio.radio_de" dependent on version 2.1.0 of the xbmc.python api
11:24:01 T:1673524288   DEBUG: [xbmcswift2] Reading json storage from disk at "/storage/.kodi/userdata/addon_data/plugin.audio.radio_de/.storage/my_stations.json"
11:24:01 T:1673524288   DEBUG: [xbmcswift2] Loaded storage "my_stations.json" from disk
11:24:01 T:1673524288   DEBUG: [xbmcswift2] Adding url rule "/" named "show_root_menu" pointing to function "show_root_menu"
11:24:01 T:1673524288   DEBUG: [xbmcswift2] Adding url rule "/stations/local/" named "show_local_stations" pointing to function "show_local_stations"
11:24:01 T:1673524288   DEBUG: [xbmcswift2] Adding url rule "/stations/recommended/" named "show_recommendation_stations" pointing to function "show_recommendation_stations"
11:24:01 T:1673524288   DEBUG: [xbmcswift2] Adding url rule "/stations/top/" named "show_top_stations" pointing to function "show_top_stations"
11:24:01 T:1673524288   DEBUG: [xbmcswift2] Adding url rule "/stations/search/" named "search" pointing to function "search"
11:24:01 T:1673524288   DEBUG: [xbmcswift2] Adding url rule "/stations/search/<search_string>/" named "search_result" pointing to function "search_result"
11:24:01 T:1673524288   DEBUG: [xbmcswift2] Adding url rule "/stations/my/" named "show_my_stations" pointing to function "show_my_stations"
11:24:01 T:1673524288   DEBUG: [xbmcswift2] Adding url rule "/stations/my/custom/<station_id>" named "custom_my_station" pointing to function "custom_my_station"
11:24:01 T:1673524288   DEBUG: [xbmcswift2] Adding url rule "/stations/my/add/<station_id>" named "add_to_my_stations" pointing to function "add_to_my_stations"
11:24:01 T:1673524288   DEBUG: [xbmcswift2] Adding url rule "/stations/my/del/<station_id>" named "del_from_my_stations" pointing to function "del_from_my_stations"
11:24:01 T:1673524288   DEBUG: [xbmcswift2] Adding url rule "/stations/<category_type>/" named "show_station_categories" pointing to function "show_station_categories"
11:24:01 T:1673524288   DEBUG: [xbmcswift2] Adding url rule "/stations/<category_type>/<category>/" named "show_stations_by_category" pointing to function "show_stations_by_category"
11:24:01 T:1673524288   DEBUG: [xbmcswift2] Adding url rule "/station/<station_id>" named "get_stream_url" pointing to function "get_stream_url"
11:24:01 T:1673524288   DEBUG: [xbmcswift2] Handling incoming request for /station/9117
11:24:01 T:1673524288  NOTICE: [xbmcswift2] Request for "/station/9117" matches rule for function "get_stream_url"
11:24:01 T:1673524288  NOTICE: [plugin.audio.radio_de] get_station_by_station_id started with station_id=9117
11:24:01 T:1673524288  NOTICE: [plugin.audio.radio_de] __api_call started with path=broadcast/getbroadcastembedded, param={'broadcast': '9117'}
11:24:01 T:1673524288  NOTICE: [plugin.audio.radio_de] __urlopen opening url=http://radio.de/info/broadcast/getbroadcastembedded?broadcast=9117
11:24:01 T:1673524288  NOTICE: [plugin.audio.radio_de] get_stream_url result: http://www.antenne.de/webradio/channels/chillout.m3u
11:24:01 T:1673524288   DEBUG: [xbmcswift2] Saving a json storage to disk at "/storage/.kodi/userdata/addon_data/plugin.audio.radio_de/.storage/my_stations.json"
11:24:01 T:1969123328   DEBUG: WaitOnScriptResult- plugin returned successfully
11:24:01 T:1969123328    INFO: easy_aquire - Created session to http://www.antenne.de
11:24:01 T:1673524288    INFO: CPythonInvoker(9, /storage/.kodi/addons/plugin.audio.radio_de/addon.py): script successfully run
11:24:02 T:1969123328   DEBUG: CCurlFile::GetMimeType - http://www.antenne.de/webradio/channels/chillout.m3u  -> audio/x-mpegurl
11:24:02 T:1969123328   ERROR: Playlist Player: skipping unplayable item: 3, path [plugin://plugin.audio.radio_de/station/9117]

Either way both didn't work for me and there are quite a couple of other stations that dont work either. If you do a search for stations by category and start playing an unplayable item the player "falls through" the list quite often (skipping unplayable stations) until it finally finds a station that is playable.

Strangely the radio.de app for Android and BlackBerry don't seem to have those issues.

Any help on fixing this would be great!

@sphere: If you are still active you can also find me in the kodinerds board.
Similar problem here: many stations do not play with the default player.
It looks as if ccurl fails to retrieve a response body (or maybe the response is too big - there is a bug in libcurl) from these urls or something.
These stations play fine when using VLC as an external player.
Hi All.
i'm new to all this, but enjoying the learning and playing so far.
have already installed Kodi and others on 7 other friends devices :-)

i love this radio app, but it has stopped working on my PC windows 8.1
it still works on android devices ??

any thoughts ?

thanks
hello
all work well with this addon on kodi rpi helix but i have an error message on screen ;
the log :

Code:
17:44:41 1436.842163 T:2527056960  NOTICE: Thread LanguageInvoker start, auto delete: false
17:44:41 1436.933472 T:2550133824  NOTICE: Previous line repeats 1 times.
17:44:41 1436.933716 T:2550133824 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://plugin.audio.radio_de/cdart.png
17:44:42 1438.446655 T:2527056960  NOTICE: -->Python Interpreter Initialized<--
17:44:46 1442.017944 T:2527056960  NOTICE: Previous line repeats 1 times.
17:44:46 1442.018311 T:2527056960   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'xbmcswift2.urls.NotFoundException'>
                                            Error Contents: No matching view found for /extrafanart/
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/plugin.audio.radio_de/addon.py", line 278, in <module>
                                                plugin.run()
                                              File "/storage/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 332, in run
                                                items = self._dispatch(self.request.path)
                                              File "/storage/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 318, in _dispatch
                                                raise NotFoundException, 'No matching view found for %s' % path
                                            NotFoundException: No matching view found for /extrafanart/
                                            -->End of Python script error report<--
17:44:47 1442.769165 T:2830566464   ERROR: GetDirectory - Error getting plugin://plugin.audio.radio_de/extrafanart/
17:44:47 1442.792480 T:2437932096   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'xbmcswift2.urls.NotFoundException'>
                                            Error Contents: No matching view found for /extrafanart/
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/plugin.audio.radio_de/addon.py", line 278, in <module>
                                                plugin.run()
                                              File "/storage/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 332, in run
                                                items = self._dispatch(self.request.path)
                                              File "/storage/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 318, in _dispatch
                                                raise NotFoundException, 'No matching view found for %s' % path
                                            NotFoundException: No matching view found for /extrafanart/
                                            -->End of Python script error report<--
17:44:47 1443.379272 T:2857366592   ERROR: GetDirectory - Error getting plugin://plugin.audio.radio_de/extrafanart/
17:44:48 1443.660156 T:2437932096  NOTICE: Thread LanguageInvoker start, auto delete: false
17:44:48 1443.940186 T:2550133824 WARNING: Create - unsupported protocol(image) in image://smb%3a%2f%2fWORKGROUP/
17:44:48 1444.463867 T:2437932096  NOTICE: -->Python Interpreter Initialized<--
17:44:50 1446.030884 T:2437932096  NOTICE: [xbmcswift2] Request for "/station/5170" matches rule for function "get_stream_url"
17:44:50 1446.042603 T:2437932096  NOTICE: [plugin.audio.radio_de] get_station_by_station_id started with station_id=5170
17:44:50 1446.044312 T:2437932096  NOTICE: [plugin.audio.radio_de] __api_call started with path=broadcast/getbroadcastembedded, param={'broadcast': '5170'}
17:44:50 1446.050903 T:2437932096  NOTICE: [plugin.audio.radio_de] __urlopen opening url=http://radio.fr/info/broadcast/getbroadcastembedded?broadcast=5170
17:44:50 1446.289551 T:2437932096  NOTICE: [plugin.audio.radio_de] get_stream_url result: http://streaming.radio.rtl2.fr/rtl2-1-44-128
17:44:51 1447.449951 T:2437932096  NOTICE: Thread FileCache start, auto delete: false
17:44:51 1447.452026 T:2917876800  NOTICE: Thread ShoutcastFile start, auto delete: false
17:44:52 1448.109985 T:2508190784  NOTICE: Thread PAPlayer start, auto delete: false
17:44:55 1451.466064 T:2527056960  NOTICE: Thread LanguageInvoker start, auto delete: false
how to have no error message on screen ?
Thank's
(2015-01-08, 15:29)altca Wrote: [ -> ]Similar problem here: many stations do not play with the default player.
It looks as if ccurl fails to retrieve a response body (or maybe the response is too big - there is a bug in libcurl) from these urls or something.
These stations play fine when using VLC as an external player.

I was thinking about a faulty curl as a reason, too.
For the last few days everything seems to be normal again using the CuBox. But I'm not sure if any components regarding this have been updated ever since.

I'll keep watching this over the next few weeks and report back in if there's any changes.
Can i add one of the radios to the local library ? That way, i could start the playback using the standard web interface or database.
Got a big request. Might not really be possible. I almost never listen to music on the radio, but I do listen to a lot of sports games. Particularly basketball. Tune-In radio actually provides direct support for basketball games by simply following the team you support.

http://tunein.com/radio/Basketball-g308/

In some situations, it appears this is the only way to actually get a sports radio stream, as the regular channels that carry it on the air don't appear to work.

There are exceptions for extremely regional audio. For example KEYN carries Wichita State games (a local college team). Except the Radio addon appears to get confused by the stream when the game starts, as I get an error. Here's a log trying to play while the game is going on.

http://xbmclogs.com/show.php?id=415360
Hi i'm using this addon on my raspberry pi 2 with openelec 5.0.3 but it cannot play any stream anymore i get this in my kodi.log

23:26:38 T:1787425856 NOTICE: [xbmcswift2] Request for "/station/8407" matches rule for function "get_stream_url"
23:26:38 T:1787425856 NOTICE: [plugin.audio.radio_de] get_station_by_station_id started with station_id=8407
23:26:38 T:1787425856 NOTICE: [plugin.audio.radio_de] __api_call started with path=broadcast/getbroadcastembedded, param={'broadcast': '8407'}
23:26:38 T:1787425856 NOTICE: [plugin.audio.radio_de] __urlopen opening url=http://rad.io/info/broadcast/getbroadcastembedded?broadcast=8407
23:26:38 T:1787425856 NOTICE: [plugin.audio.radio_de] get_stream_url result: http://streams.fresh.fm:8108
23:26:48 T:1970208768 ERROR: CCurlFile::Stat - Failed: Timeout was reached(28) for http://streams.fresh.fm:8108/
23:26:49 T:1970208768 ERROR: CAudioDecoder: Unable to Init Codec while loading file http://streams.fresh.fm:8108
23:26:49 T:1970208768 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
23:26:49 T:1970208768 ERROR: Playlist Player: skipping unplayable item: 5, path [plugin://plugin.audio.radio_de/station/8407]
(2015-02-13, 00:41)Pienoet Wrote: [ -> ]i'm using this addon on my raspberry pi 2 with openelec 5.0.3 but it cannot play any stream anymore...
There has been a later build of OpenELEC version 5.0.3 to fix the problem. See Since 5.0.2 radio streaming doesn't work / remote control.
so wich build i have to rake then?
(2015-02-13, 00:57)Pienoet Wrote: [ -> ]so wich build i have to rake then?
It looks like the https://dl.dropboxusercontent.com/u/5572...5043f4.tar file that is linked near the bottom of the #3900 thread is working. Alternatively, you could wait for the next release.
(2015-02-13, 00:57)Pienoet Wrote: [ -> ]so wich build i have to rake then?
In the interest of science I upgraded my Raspberry Pi Model B from OpenELEC 5.0.0 to OpenELEC 5.0.3. As expected the Radio add-on did not work. Then I downloaded the .tar file cited above.

Using the instructions on this page, I installed the new version. Now Radio works again. Note that the destination folder is /storage/.update.

Note that my Raspberry Pi B is in the original series and not the new Raspberry Pi 2.
thanks i was to fast and updated my raspberry pi 2 and it won't boot further then the rainbow screen.

But thanks!

I hope they fixed this soon for the raspberry pi 2
(2015-02-13, 02:19)Pienoet Wrote: [ -> ]thanks i was to fast and updated my raspberry pi 2 and it won't boot further then the rainbow screen.
I added a note to that effect in the OpenELEC Github issue #3900. I see that you have also noted the failure in the OpenELEC forum.
(2015-02-13, 02:19)Pienoet Wrote: [ -> ]thanks i was to fast and updated my raspberry pi 2 and it won't boot further then the rainbow screen.

But thanks!

I hope they fixed this soon for the raspberry pi 2

Are you sure you installed the RPi2 build and not RPi? The rainbow boot screen when upgrading is often a sign that the wrong build has been used for the upgrade.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45