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.
Ok.

Here it is.

<summary lang="sp">Escuche más de 4000 emisoras de radio.</summary>

<description lang="sp">Plugin de música para escuchar más de 4000 emisoras de radio internacionales desde rad.io, radio.de y radio.fr.[CR]Cuenta en la actualidad con:[CR]- Traducciones al inglés, alemán, francés y español[CR]- Buscador de emisoras por localización, género, tema, país, ciudad o idioma.[CR]- Buscador de emisoras individuales.[CR]- 115 géneros, 59 temas, 94 países, 1010 ciudades, 63 idiomas.</description>

Thank you for your interest.

It would be nice to have the possibility automatically to integrate the "radio" categories as normal playlists in the normal file menu.
It should synchronize from "radio" to the >hard< playlist files. Discribed here

So the big advantage would be that the radio stations are available out of the android remote app (no addon support).
With this the "radio" addon would be usable without using a tv screen only with android as an internet radio. Very interesting for raspberry pi user with raspbmc as os.


You will find a lot of user requesting this feature. In my case i could use my raspberry pi (raspbmc) as an internetradio where ever i have power and wifi.

btw: thank you for the good addon!
Best Regards
Hi,

I'm not sure that I got you right, but my addon can't (or at least shouldn't) resolve all stations to its "real streaming url" because that would require one api (web) call per station.
I'm also not sure how to expose a generated playlist file - any ideas (path)?

The only thing I could imagine is exporting the "my-station"-stations to any external M3U file on every my-stations change - would that help?

Another Idea: Im not 100% sure on that but I believe it is possible to use the xbmc jsonrpc-api to browse in xbmc-plugin's virtual-file-system.

regards,
sphere
Thank you for the fast replay. Ok, I see the advantages not to get all streaming urls.
Maybe it could be a feature for later, synchronizing to the playlist file on the file system starting only manually.

An one way synchronized export of the "my-stations" would be wonderful!
It is exactly what is needed to use the "radio" as an display less internet radio.
PS: If you decide to develop in this direction, what would be wonderful, please let us know the actual state of development.

Best regards
Hi, keep getting "update failed" when trying to update from xbmc.
None of the BBC national stations are working, Radio 1,2,3,4 and 5 live. The error "can't find a next item to play" is displayed.
(2012-08-07, 17:19)UKVaper Wrote: [ -> ]None of the BBC national stations are working, Radio 1,2,3,4 and 5 live. The error "can't find a next item to play" is displayed.

I can't find such stations. Could you please enable debug logging in xbmc, try to play such stations, upload the xbmc.log (you could use the "XBMC Log Uploader Addon") and then send me a link to your log?

I will have a look and will try to fix.

regards,
sphere
19:37:03 T:180170752 DEBUG: Process - Entering source directory /var/mobile/Library/Preferences/XBMC/addons/plugin.audio.radio_de
19:37:03 T:180170752 DEBUG: Instantiating addon using automatically obtained id of "plugin.audio.radio_de" dependent on version 2.0 of the xbmc.python api
19:37:03 T:180170752 NOTICE: Radio addon: get_stream started with id=3245
19:37:03 T:180170752 NOTICE: Radio.de scraper: get_station_by_station_id started with language=english, station_id=3245
19:37:03 T:180170752 NOTICE: Radio.de scraper: __get_json started with path=broadcast/getbroadcastembedded, gets={'broadcast': '3245'}, language=english
19:37:03 T:180170752 NOTICE: Radio.de scraper: __urlopen opening url=http://rad.io/info/broadcast/getbroadcastembedded?broadcast=3245
19:37:04 T:180170752 NOTICE: Radio.de scraper: __urlopen ended with 1991 bytes result
19:37:04 T:180170752 NOTICE: Radio.de scraper: get_station_by_station_id end
19:37:04 T:180170752 NOTICE: Radio addon: get_stream end with stream_url=http://www.bbc.co.uk/radio/listen/live/r3.asx
19:37:04 T:180170752 INFO: Scriptresult: Success
19:37:04 T:140238848 DEBUG: WaitOnScriptResult- plugin returned successfully
19:37:04 T:180170752 INFO: Python script stopped
19:37:04 T:180170752 DEBUG: Thread XBPyThread 180170752 terminating
19:37:04 T:140238848 DEBUG: CFileCurl::GetMimeType - http://www.bbc.co.uk/radio/listen/live/r3.asx -> video/x-ms-asf
19:37:04 T:140238848 DEBUG: Previous line repeats 1 times.
19:37:04 T:140238848 ERROR: Playlist Player: skipping unplayable item: 19, path [plugin://plugin.audio.radio_de/station/3245/]
19:37:04 T:140238848 DEBUG: CGUIAudioManager::Initialize
19:37:04 T:140238848 DEBUG: waiting for python thread 10 to stop
19:37:04 T:140238848 DEBUG: python thread 10 destructed
19:37:04 T:140238848 DEBUG: waiting for python thread 11 to stop
19:37:04 T:140238848 DEBUG: python thread 11 destructed
19:37:04 T:140238848 DEBUG: waiting for python thread 12 to stop
19:37:04 T:140238848 DEBUG: python thread 12 destructed
19:37:04 T:140238848 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
19:37:09 T:140238848 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
19:37:12 T:140238848 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib-arm-osx.so)
19:37:12 T:140238848 DEBUG: Unloading: ImageLib-arm-osx.so
19:37:18 T:170647552 DEBUG: Thread Jobworker 170647552 terminating (autodelete)
19:37:18 T:171180032 DEBUG: Thread Jobworker 171180032 terminating (autodelete)
19:37:18 T:160137216 DEBUG: Thread Jobworker 160137216 terminating (autodelete)
19:37:20 T:160669696 DEBUG: Thread Jobworker 160669696 terminating (autodelete)
19:37:33 T:140238848 INFO: CheckIdle - Closing session to http://mp3-vx-128.as34763.net (easy=0x7a0a000, multi=0x0)
19:37:34 T:140238848 INFO: CheckIdle - Closing session to http://www.bbc.co.uk (easy=0x825c000, multi=0x0)
19:38:04 T:140238848 NOTICE: Samba is idle. Closing the remaining connections
Bug Found in a Music Add-on (or may be in xbmc).
Add-on Name = Radio
Type = Media Sources
Author = Tristan Fischer ([email protected])
Version=1.1.0
Summary = Access >4000 radio broadcasts

Bug:
Radio add-on does not load thumbnails for stations when displaying it's content through MyMusicNav.xml but does in case of MyMusicSongs.xml

The add-on displays it's content in MyMusicNav.xml or MyMusicSongs.xml depending on which was opened last.
I'm not a skin xml structure expert so I can't follow you Wink

The thumbnail urls are stored in the listitems "thumbnail" property. Both views should take the thumbnail from there, don't they?
Does anyone know where I can edit/add radio stations to "My Stations" via ssh?
I have a ATV2 and want to add my stations manually instead of using the XBMC UI.... cant find anything inside
/var/mobile/Library/Preferences/XBMC/addons/plugin.audio.radio_de

Anyway I have no real idead where My Stations are saved...
@sphere , NO they don't. Then may be this is a xbmc bug.
(2012-08-11, 15:36)gessi2000 Wrote: [ -> ]Does anyone know where I can edit/add radio stations to "My Stations" via ssh?
I have a ATV2 and want to add my stations manually instead of using the XBMC UI.... cant find anything inside
/var/mobile/Library/Preferences/XBMC/addons/plugin.audio.radio_de

Anyway I have no real idead where My Stations are saved...

Hi,

You could do it manually but I don't recommend it.
The addon settings and "my stations" are stored in the userdata/addon_data folder. On your ATV2 this should be "/private/var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.audio.radio_de/".

If you already have items on your "my stations"-list you should have a file called "mystations.json", its layout should be easy to understand.

I am already working on a possibility for user added custom stations, but this will take some time.

regards,
sphere
hey sphere

thanks for this great plugin, works fine and it even got my favorite stations in it :-)

is "add to favourites" supposed to work already? adding of a station works, however, starting playback from the favourites list fails.

cheers