bitcrusher / sky-fm-xbmc-plugin Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Error Type: <type 'exceptions.IOError'>
Error Contents: (2, 'No such file or directory', u'/home/gordonjcp/.xbmc/userdata/addon_data/plugin.audio.sky.fm//cacheChannels.json')
When the plugin is started a second time, it works perfectly.
We are getting the message audio plugin script failed.
The blue text on the General Settings screen of this add-on reports the add-on version as 2.1.0, but XBMC itself reports it as 2.1.1.
The problem seems to be caused by line 21 of resources/language/English/strings.xml
:
<string id="30016">Version: 2.1.0</string>
Hi,
On Ubuntu. My Sky-FM was working perfectly for very long time.
Since the last update I made for
Sky-FM, it just stoped working. When I click for Sky-FM addon on music extension on my XBMC 12.3 I got thhe message ๐
In french :
Erreur
Echec du scipt ! : plugin.audio.sky.fm
What can I do to solve it ?
I have just installed this add-on for the first time. When I attempt to open it, this error appears on the screen:
Error
Script failed! : plugin.audio.sky.fm
xbmc.log
says this:
22:04:24 T:2694739040 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndexError'>
Error Contents: list index out of range
Traceback (most recent call last):
File "/storage/.xbmc/addons/plugin.audio.sky.fm/default.py", line 414, in <module>
MusicAddonInstance.start()
File "/storage/.xbmc/addons/plugin.audio.sky.fm/default.py", line 170, in start
streamList = self.customizeStreamListAddMenuitem(jsonList, "") # sending a blank string as listenkey
File "/storage/.xbmc/addons/plugin.audio.sky.fm/default.py", line 226, in customizeStreamListAddMenuitem
self.getChannelArt( channel['id'], "art_" + channel['key'] )
File "/storage/.xbmc/addons/plugin.audio.sky.fm/default.py", line 258, in getChannelArt
xbmcgui.Dialog().ok( ADDON.getLocalizedString(30160), ADDON.getLocalizedString(30161), ADDON.getLocalizedString(30162) + channelartDict[0] )
IndexError: list index out of range
-->End of Python script error report<--
The immediate cause for the error appears to be a lack of elements in the channelartDict
list.
The less immediate cause seems to be that the sky.fm webpage has changed since the channelArt_re
regex on line 243 of default.py
was written. Specifically, there no longer seems to be any occurrences of data-id=
in the HTML of the sky.fm home page.
In order to be able to use the add-on in the meantime, I have commented out lines 258 and 259 of default.py
:
xbmcgui.Dialog().ok( ADDON.getLocalizedString(30160), ADDON.getLocalizedString(30161), ADDON.getLocali...
xbmc.log( ADDON.getLocalizedString(30160) + " " + ADDON.getLocalizedString(30161) + channelKey + " " +...
(I'm not sure that a dialogue should be shown for each failed channel art fetch anyway, especially since in my case there were 66 failed art fetches at the time that the add-on started.)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.