Giter Site home page Giter Site logo

sky-fm-xbmc-plugin's People

Contributors

bitcrusher avatar martijnkaijser avatar tshungry avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

sky-fm-xbmc-plugin's Issues

On first run, plugin fails to start due to missing cache

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.

script failed

We are getting the message audio plugin script failed.

v2.1.1: UI reports version 2.1.0

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>

Sky-FM addons 3.0.3 problem with XBMC 12.3

Hi,
On Ubuntu. My Sky-FM was working perfectly for very long time.
Since the last update I made for
2014-02-01 16 01 17
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 ?

v2.1.1: add-on fails to start due to problem fetching channel art

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.