[RELEASE] Radio Add-on (rad.io, radio.de, radio.fr, radio.pt, radio.es) Music Plugin - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Music Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=148) +---- Thread: [RELEASE] Radio Add-on (rad.io, radio.de, radio.fr, radio.pt, radio.es) Music Plugin (/showthread.php?tid=119362) |
RE: [RELEASE] Radio Add-on (rad.io, radio.de, radio.fr) Music Plugin - Lejla - 2013-09-12 Do somebody have any idea or the same issue with other channels? RE: [RELEASE] Radio Add-on (rad.io, radio.de, radio.fr) Music Plugin - sphere - 2013-09-13 (2013-09-10, 00:22)Lejla Wrote: Hi sphere Hi, I can reproduce this issue. Seems like the Player needs to get and follow an HTTP Redirect (from http://listen.radionomy.com/abc-lounge to http://streaming206.radionomy.com/ABC-Lounge) which doesn't happen. RE: [RELEASE] Radio Add-on (rad.io, radio.de, radio.fr) Music Plugin - Lejla - 2013-09-14 Hi sphere Thank you for your effort and testing issue. I have creating manually a .m3u and .strm file without success. Do you know maybe a solution, for playing radio station abc-lounge? \\EDIT: I found solution, it works with the IP Address: 31.12.68.207/ABC-Lounge RE: [RELEASE] Radio Add-on (rad.io, radio.de, radio.fr) Music Plugin - seiichiro0185 - 2013-10-12 Hi there, any news regarding the stream redirection issue? I have the same problem as Lejla with several radionomy.com stations. Unfortunately using the IP doesn't work for me. RE: [RELEASE] Radio Add-on (rad.io, radio.de, radio.fr) Music Plugin - weesack1 - 2013-10-26 hi there is there any way to record the radio stations to my hdd, cheers RE: [RELEASE] Radio Add-on (rad.io, radio.de, radio.fr) Music Plugin - gooner_47 - 2013-11-27 First off... lol @ this... (2013-08-21, 20:55)Buzzinhomer Wrote: Your fucking App smashed my whole RaspBMC. Fuck you for your App. Upload it as a beta when you don't know what you do! What a cunt. Anway... to my actual request. I am trying to play Radio 1 through the app, but having selected it and clicked to play, it will start playing Radio Jackie instead (see screenshot) it appears to be failing to actually play that, and Radio 4, then just skipping to the first one it can play. [[/code] RE: [RELEASE] Radio Add-on (rad.io, radio.de, radio.fr) Music Plugin - sphere - 2013-11-29 I created a new version (2.3.0) which is able to play these (asx-based) playlists, thanks for reporting! Here is the full changelog: Code: 2.3.0 (29.11.2013) The update will be available through the official xbmc.org add-on repository shortly. Or you can download it here if you can't wait: Download Version 2.3.0 regards, sphere RE: [RELEASE] Radio Add-on (rad.io, radio.de, radio.fr) Music Plugin - privado - 2013-11-30 Hey sphere, you know roughly how long until update ? RE: [RELEASE] Radio Add-on (rad.io, radio.de, radio.fr) Music Plugin - sphere - 2013-11-30 No. But you can download it here if you can't wait: Download Version 2.3.0 RE: [RELEASE] Radio Add-on (rad.io, radio.de, radio.fr) Music Plugin - gooner_47 - 2013-12-01 Thanks, this is now playing Radio 1 perfectly. I've now managed to get stuck again... I'm trying to add BBC London as a custom station - as it cannot be found by the search. I've tried http://www.bbc.co.uk/radio/listen/live/bbclondon.asx, which doesn't play. The confusing thing is, I've also tried adding the Radio 1 URL http://www.bbc.co.uk/radio/listen/live/r1.asx (by looking back through the log) as a custom station - but this also doesn't play. So what appears to be the same URL plays fine when selecting it from the "Local Stations" folder, but not if you add it as a custom station. I've also tried to add Kiss 100 as another station and this won't play either. I'm obviously struggling to get the URL correct when adding a custom station - what exactly is the best way to find this once you've reached the radio station's website and the link to listen live? Logfile if required: [/code] RE: [RELEASE] Radio Add-on (rad.io, radio.de, radio.fr) Music Plugin - sphere - 2013-12-01 (2013-12-01, 03:47)gooner_47 Wrote: I've tried http://www.bbc.co.uk/radio/listen/live/bbclondon.asx, which doesn't play. The confusing thing is, I've also tried adding the Radio 1 URL http://www.bbc.co.uk/radio/listen/live/r1.asx (by looking back through the log) as a custom station - but this also doesn't play. So what appears to be the same URL plays fine when selecting it from the "Local Stations" folder, but not if you add it as a custom station. The difference is that the add-on only resolves a playlist (.ASX is a playlist!) when the URL is coming via the API. A custom stations URL directly passed to the XBMC player. To solve your issue you can just open .ASX file with any text editor (its similar to an .XML), then you can see "entry"-nodes, within these nodes there are at least one "real" streal URLs. You need to use this URL for a custom station. regards, sphere RE: [RELEASE] Radio Add-on (rad.io, radio.de, radio.fr) Music Plugin - VivekSub - 2013-12-02 Hi, I just installed the radio plugin on XBMC on Windows. Pressing any link in the listing resulted in a "script failed addon.py" error. The log details are below. Any help is appreciated. This is the latest version (2.3.0). Thanks! Log below: 22:13:50 T:2896 DEBUG: XBPyThread:rocess - The source file to load is C:\Documents and Settings\Administrator\Application Data\XBMC\addons\plugin.audio.radio_de\addon.py 22:13:50 T:2896 DEBUG: XBPyThread:rocess - Setting the Python path to C:\Documents and Settings\Administrator\Application Data\XBMC\addons\plugin.audio.radio_de;C:\Documents and Settings\Administrator\Application Data\XBMC\addons\script.module.simplejson\lib;C:\Program Files\XBMC\addons\script.module.pil\lib;C:\Program Files\XBMC\addons\script.module.pysqlite\lib;C:\Documents and Settings\Administrator\Application Data\XBMC\addons\script.module.xbmcswift2\lib;C:\Program Files\XBMC\system\python\DLLs;C:\Program Files\XBMC\system\python\Lib;C:\Program Files\XBMC\python26.zip;C:\Program Files\XBMC\system\python\lib\plat-win;C:\Program Files\XBMC\system\python\lib\lib-tk;C:\Program Files\XBMC;C:\Program Files\XBMC\system\python;C:\Program Files\XBMC\system\python\lib\site-packages; 22:13:50 T:2896 DEBUG: XBPyThread:rocess - Entering source directory C:\Documents and Settings\Administrator\Application Data\XBMC\addons\plugin.audio.radio_de 22:13:50 T:2896 DEBUG: Instantiating addon using automatically obtained id of "plugin.audio.radio_de" dependent on version 2.1.0 of the xbmc.python api 22:13:50 T:2896 DEBUG: [xbmcswift2] Reading json storage from disk at "C:\Documents and Settings\Administrator\Application Data\XBMC\userdata\addon_data\plugin.audio.radio_de\.storage\my_stations.json" 22:13:50 T:2896 DEBUG: [xbmcswift2] Loaded storage "my_stations.json" from disk 22:13:50 T:2896 DEBUG: [xbmcswift2] Adding url rule "/" named "show_root_menu" pointing to function "show_root_menu" 22:13:50 T:2896 DEBUG: [xbmcswift2] Adding url rule "/stations/local/" named "show_local_stations" pointing to function "show_local_stations" 22:13:50 T:2896 DEBUG: [xbmcswift2] Adding url rule "/stations/recommended/" named "show_recommendation_stations" pointing to function "show_recommendation_stations" 22:13:50 T:2896 DEBUG: [xbmcswift2] Adding url rule "/stations/top/" named "show_top_stations" pointing to function "show_top_stations" 22:13:50 T:2896 DEBUG: [xbmcswift2] Adding url rule "/stations/search/" named "search" pointing to function "search" 22:13:50 T:2896 DEBUG: [xbmcswift2] Adding url rule "/stations/search/<search_string>/" named "search_result" pointing to function "search_result" 22:13:50 T:2896 DEBUG: [xbmcswift2] Adding url rule "/stations/my/" named "show_my_stations" pointing to function "show_my_stations" 22:13:50 T:2896 DEBUG: [xbmcswift2] Adding url rule "/stations/my/custom/<station_id>" named "custom_my_station" pointing to function "custom_my_station" 22:13:50 T:2896 DEBUG: [xbmcswift2] Adding url rule "/stations/my/add/<station_id>" named "add_to_my_stations" pointing to function "add_to_my_stations" 22:13:50 T:2896 DEBUG: [xbmcswift2] Adding url rule "/stations/my/del/<station_id>" named "del_from_my_stations" pointing to function "del_from_my_stations" 22:13:50 T:2896 DEBUG: [xbmcswift2] Adding url rule "/stations/<category_type>/" named "show_station_categories" pointing to function "show_station_categories" 22:13:50 T:2896 DEBUG: [xbmcswift2] Adding url rule "/stations/<category_type>/<category>/" named "show_stations_by_category" pointing to function "show_stations_by_category" 22:13:50 T:2896 DEBUG: [xbmcswift2] Adding url rule "/station/<station_id>" named "get_stream_url" pointing to function "get_stream_url" 22:13:50 T:2896 DEBUG: [xbmcswift2] Handling incoming request for /stations/recommended/ 22:13:50 T:2896 NOTICE: [xbmcswift2] Request for "/stations/recommended/" matches rule for function "show_recommendation_stations" 22:13:50 T:2896 NOTICE: [plugin.audio.radio_de] get_recommendation_stations started 22:13:50 T:2896 NOTICE: [plugin.audio.radio_de] __api_call started with path=broadcast/editorialreccomendationsembedded, param=None 22:13:50 T:2896 NOTICE: [plugin.audio.radio_de] __urlopen opening url=http://rad.io/info/broadcast/editorialreccomendationsembedded 22:13:50 T:2252 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the Radio (id=77) plugin... 22:13:50 T:184 DEBUG: ------ Window Init (DialogBusy.xml) ------ 22:13:50 T:2896 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.ValueError'> Error Contents: No JSON object could be decoded Traceback (most recent call last): File "C:\Documents and Settings\Administrator\Application Data\XBMC\addons\plugin.audio.radio_de\addon.py", line 278, in <module> plugin.run() File "C:\Documents and Settings\Administrator\Application Data\XBMC\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 332, in run items = self._dispatch(self.request.path) File "C:\Documents and Settings\Administrator\Application Data\XBMC\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 306, in _dispatch listitems = view_func(**items) File "C:\Documents and Settings\Administrator\Application Data\XBMC\addons\plugin.audio.radio_de\addon.py", line 90, in show_recommendation_stations stations = radio_api.get_recommendation_stations() File "C:\Documents and Settings\Administrator\Application Data\XBMC\addons\plugin.audio.radio_de\resources\lib\api.py", line 57, in get_recommendation_stations stations = self.__api_call(path) File "C:\Documents and Settings\Administrator\Application Data\XBMC\addons\plugin.audio.radio_de\resources\lib\api.py", line 142, in __api_call json_data = json.loads(response) File "C:\Program Files\XBMC\system\python\Lib\json\__init__.py", line 307, in loads return _default_decoder.decode(s) File "C:\Program Files\XBMC\system\python\Lib\json\decoder.py", line 319, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Program Files\XBMC\system\python\Lib\json\decoder.py", line 338, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded -->End of Python script error report<-- 22:13:50 T:2896 INFO: Python script stopped 22:13:50 T:2896 DEBUG: Thread XBPyThread 2896 terminating 22:13:50 T:2252 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - plugin exited prematurely - terminating 22:13:50 T:184 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.audio.radio_de/stations/recommended/ 22:13:50 T:184 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.radio_de/stations/recommended/) failed 22:13:50 T:184 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.audio.radio_de/) 22:13:50 T:184 DEBUG: ParentPath = [addons://sources/audio/] 22:13:50 T:484 DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin Radio('plugin://plugin.audio.radio_de/','75','') RE: [RELEASE] Radio Add-on (rad.io, radio.de, radio.fr) Music Plugin - gooner_47 - 2013-12-03 (2013-12-01, 11:22)sphere Wrote:(2013-12-01, 03:47)gooner_47 Wrote: I've tried http://www.bbc.co.uk/radio/listen/live/bbclondon.asx, which doesn't play. The confusing thing is, I've also tried adding the Radio 1 URL http://www.bbc.co.uk/radio/listen/live/r1.asx (by looking back through the log) as a custom station - but this also doesn't play. So what appears to be the same URL plays fine when selecting it from the "Local Stations" folder, but not if you add it as a custom station. Gotcha. Opened the .asx, copied a (ridiculously long) stream URL into my_stations - there was no way I was going to type that all out - and it's working great now, thanks. I'm trying to add another one now though, http://www.sovereignfm.com/ I'm struggling to get the URL again. Viewing source on the page the radio plays on, gives the following, which has a couple of likely looking links. I tried downloading the m3u8 file and looking for a URL in there (like I did for the .asx previously) but that didn't work. I can see an .xpsf line there, which I assume I can also do the same as I did with the .asx file with - but I don't know how to amend that to a URL to download the .xpsf file in the first place... /** * Audio Settings (V3 API) */ // -- Set audioLive to true for live streaming, or false for on demand var audioLive = true; // -- Added your primary stream details here var audioFlash = [{ audioType: 'playlist', audioUrl: 'xspf.php?server=s3.xrad.io&endpoint=msh1.stream&monkey=nuts.xspf' }]; // -- Add your HTML5 supported stream details here var audioHTML = [{ audioType: 'http', audioUrl: 'http://s3.xrad.io/live/msh1.stream/playlist.m3u8' }]; RE: [RELEASE] Radio Add-on (rad.io, radio.de, radio.fr) Music Plugin - gerhard911 - 2013-12-11 I, also am struggling to set up Custom Stations. http://cpr.streamguys.net/wvxu.pls is the URL of the stream I want and this will play fine when opened in VLC. However, I get the following error when attempting to open a custom station with the same url. 11:16:41 T:2897212480 NOTICE: Previous line repeats 1 times. 11:16:41 T:2897212480 NOTICE: Thread XBPyThread start, auto delete: false 11:16:41 T:2897212480 NOTICE: -->Python Interpreter Initialized<-- 11:16:42 T:2897212480 NOTICE: [xbmcswift2] Request for "/station/WVXU" matches rule for function "get_stream_url" 11:16:42 T:2897212480 NOTICE: [plugin.audio.radio_de] get_stream_url result: http://cpr.streamguys.net/wvxu.pls 11:16:43 T:3040804864 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.audio.radio_de/station/WVXU] 11:16:55 T:2897212480 NOTICE: Thread Background Loader start, auto delete: false 11:17:17 T:2897212480 NOTICE: Previous line repeats 5 times. 11:17:17 T:2897212480 NOTICE: Thread Jobworker start, auto delete: true I am in the US. Does it matter that the plugin is using radio_de? Thanks in advance for any advice. RE: [RELEASE] Radio Add-on (rad.io, radio.de, radio.fr) Music Plugin - sphere - 2013-12-11 (2013-12-11, 19:14)gerhard911 Wrote: I, also am struggling to set up Custom Stations. Same for you: You should not add a playlist URL, you need a station URL! Just open the .PLS file with any text editor and grab a random line starting with "File". In your case you need to use "http://cpr.streamguys.net/wvxu" as stream URL (taken from the PLS file). |