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','')