GithubHelp home page GithubHelp logo

bitcrusher / digitally-imported-xbmc-plugin Goto Github PK

View Code? Open in Web Editor NEW
23.0 7.0 15.0 2.71 MB

A plugin for XBMC that makes the streams from Digitally Imported - di.fm, available to XBMC users

Home Page: http://qualisoft.dk

License: Other

Python 100.00%

digitally-imported-xbmc-plugin's People

Contributors

bitcrusher avatar derchrisuk avatar i-tek avatar smoky-jr avatar struart avatar tshungry avatar vidarw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

digitally-imported-xbmc-plugin's Issues

Missing Art

The artwork for the DI channels is not download any more.

Channel uri's swapped in pairs

Hey, great plugin!

The funny thing is, I enabled premium and my favorites show up nicely but the channel picture and name don't actually match the playlist uri.

For example, my first channel on the list has the Ambient channel picture, is listed as Ambient but the uri is actually for chilloutdreams. Chillout Dreams then has the uri of Ambient. In fact, all of the channels seem to have been swapped in pairs.

I did force the cache clear after enabling premium and I did try to change the sort option (wanted to get my set favourite order, apparently not possible :( ) so that might've screwed with things. I'm using the latest Raspbmc which should equate to XBMC 12.0 beta 2.

AudioAddict API

Hi

I see AudioAddict actually has an unpublished API which someone documented at http://difm.eu/dox/

Has use of this been considered before?

I wouldn't mind writing the code but was just wondering there was maybe another reason its not used.

Show the Artist and Song title

Hi.
I don't know any python, so I can't fix this myself.

Is it possible for this plugin to show the Artist and Song title instead of "channel_hi" when playing?

Thanks in advance.

Cheers,
kekePower

Loading channels is really slow

A brief skim of the code made me feel like the plugin is loading all the channel playlists to extract the urls.

It seems like it might be better to just add the available channels, then use a custom play function to get the stream url:

http://wiki.xbmc.org/index.php?title=HOW-TO_write_Python_Scripts_for_XBMC#Faster_listing_of_items

(Apologies if I read the script wrong and this is not the case)

This is partly a reminder for myself. I've only been working with xbmc for the last few months, but want to get more competent with the xbmc python libraries/idioms. Once I have I'll potentially provide a pull request. Otherwise, thanks for creating this plugin... I'm a long time di.fm fan (since 2005!).

Unable to stream Premium streams

When I try to stream any premium content it fails with the error "One or more items failed to play. Check the log for details.".

Digitally-Imported-XBMC-plugin 3.0.5

XBMC 13.2
Windows Server 2012 R2 Datacenter

It can't seem to reach the source at di.fm:

15:10:37 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:37 T:76668  NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
15:10:38 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:38 T:76668   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
15:10:38 T:76668   ERROR: XFILE::CFileCache::Open - failed to open source <http://prem4.di.fm:80/moombahton_hi?a6eeb71c2575821f0f744201>
15:10:38 T:76668   ERROR: MP3Codec: Unable to open file http://prem4.di.fm:80/moombahton_hi?a6eeb71c2575821f0f744201
15:10:38 T:76668   ERROR: CAudioDecoder: Unable to Init Codec while loading file http://prem4.di.fm:80/moombahton_hi?a6eeb71c2575821f0f744201
15:10:38 T:76668 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
15:10:38 T:76668   ERROR: Playlist Player: skipping unplayable item: 55, path [http://prem4.di.fm:80/moombahton_hi?a6eeb71c2575821f0f744201]
15:10:39 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:39 T:76668  NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
15:10:40 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:40 T:76668   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
15:10:40 T:76668   ERROR: XFILE::CFileCache::Open - failed to open source <http://prem3.di.fm:80/nightcore_hi?a6eeb71c2575821f0f744201>
15:10:40 T:76668   ERROR: MP3Codec: Unable to open file http://prem3.di.fm:80/nightcore_hi?a6eeb71c2575821f0f744201
15:10:40 T:76668   ERROR: CAudioDecoder: Unable to Init Codec while loading file http://prem3.di.fm:80/nightcore_hi?a6eeb71c2575821f0f744201
15:10:40 T:76668 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
15:10:40 T:76668   ERROR: Playlist Player: skipping unplayable item: 56, path [http://prem3.di.fm:80/nightcore_hi?a6eeb71c2575821f0f744201]
15:10:40 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:40 T:76668  NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
15:10:41 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:41 T:76668   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
15:10:41 T:76668   ERROR: XFILE::CFileCache::Open - failed to open source <http://prem4.di.fm:80/nudisco_hi?a6eeb71c2575821f0f744201>
15:10:41 T:76668   ERROR: MP3Codec: Unable to open file http://prem4.di.fm:80/nudisco_hi?a6eeb71c2575821f0f744201
15:10:41 T:76668   ERROR: CAudioDecoder: Unable to Init Codec while loading file http://prem4.di.fm:80/nudisco_hi?a6eeb71c2575821f0f744201
15:10:41 T:76668 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
15:10:41 T:76668   ERROR: Playlist Player: skipping unplayable item: 57, path [http://prem4.di.fm:80/nudisco_hi?a6eeb71c2575821f0f744201]
15:10:41 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:41 T:76668  NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
15:10:42 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:42 T:76668   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
15:10:42 T:76668   ERROR: XFILE::CFileCache::Open - failed to open source <http://prem3.di.fm:80/oldschoolacid_hi?a6eeb71c2575821f0f744201>
15:10:42 T:76668   ERROR: MP3Codec: Unable to open file http://prem3.di.fm:80/oldschoolacid_hi?a6eeb71c2575821f0f744201
15:10:42 T:76668   ERROR: CAudioDecoder: Unable to Init Codec while loading file http://prem3.di.fm:80/oldschoolacid_hi?a6eeb71c2575821f0f744201
15:10:42 T:76668 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
15:10:42 T:76668   ERROR: Playlist Player: skipping unplayable item: 58, path [http://prem3.di.fm:80/oldschoolacid_hi?a6eeb71c2575821f0f744201]
15:10:43 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:43 T:76668  NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
15:10:43 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:43 T:76668   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
15:10:43 T:76668   ERROR: XFILE::CFileCache::Open - failed to open source <http://prem3.di.fm:80/oldschoolhouse_hi?a6eeb71c2575821f0f744201>
15:10:43 T:76668   ERROR: MP3Codec: Unable to open file http://prem3.di.fm:80/oldschoolhouse_hi?a6eeb71c2575821f0f744201
15:10:43 T:76668   ERROR: CAudioDecoder: Unable to Init Codec while loading file http://prem3.di.fm:80/oldschoolhouse_hi?a6eeb71c2575821f0f744201
15:10:43 T:76668 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
15:10:43 T:76668   ERROR: Playlist Player: skipping unplayable item: 59, path [http://prem3.di.fm:80/oldschoolhouse_hi?a6eeb71c2575821f0f744201]
15:10:44 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:44 T:76668  NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
15:10:44 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:44 T:76668   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
15:10:44 T:76668   ERROR: XFILE::CFileCache::Open - failed to open source <http://prem1.di.fm:80/oldschoolrave_hi?a6eeb71c2575821f0f744201>
15:10:44 T:76668   ERROR: MP3Codec: Unable to open file http://prem1.di.fm:80/oldschoolrave_hi?a6eeb71c2575821f0f744201
15:10:44 T:76668   ERROR: CAudioDecoder: Unable to Init Codec while loading file http://prem1.di.fm:80/oldschoolrave_hi?a6eeb71c2575821f0f744201
15:10:44 T:76668 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
15:10:44 T:76668   ERROR: Playlist Player: skipping unplayable item: 60, path [http://prem1.di.fm:80/oldschoolrave_hi?a6eeb71c2575821f0f744201]
15:10:45 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:45 T:76668  NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
15:10:46 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:46 T:76668   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
15:10:46 T:76668   ERROR: XFILE::CFileCache::Open - failed to open source <http://prem3.di.fm:80/classicelectronica_hi?a6eeb71c2575821f0f744201>
15:10:46 T:76668   ERROR: MP3Codec: Unable to open file http://prem3.di.fm:80/classicelectronica_hi?a6eeb71c2575821f0f744201
15:10:46 T:76668   ERROR: CAudioDecoder: Unable to Init Codec while loading file http://prem3.di.fm:80/classicelectronica_hi?a6eeb71c2575821f0f744201
15:10:46 T:76668 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
15:10:46 T:76668   ERROR: Playlist Player: skipping unplayable item: 61, path [http://prem3.di.fm:80/classicelectronica_hi?a6eeb71c2575821f0f744201]
15:10:47 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:47 T:76668  NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
15:10:47 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:47 T:76668   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
15:10:47 T:76668   ERROR: XFILE::CFileCache::Open - failed to open source <http://prem3.di.fm:80/progressive_hi?a6eeb71c2575821f0f744201>
15:10:47 T:76668   ERROR: MP3Codec: Unable to open file http://prem3.di.fm:80/progressive_hi?a6eeb71c2575821f0f744201
15:10:47 T:76668   ERROR: CAudioDecoder: Unable to Init Codec while loading file http://prem3.di.fm:80/progressive_hi?a6eeb71c2575821f0f744201
15:10:47 T:76668 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
15:10:47 T:76668   ERROR: Playlist Player: skipping unplayable item: 62, path [http://prem3.di.fm:80/progressive_hi?a6eeb71c2575821f0f744201]
15:10:48 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:48 T:76668  NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
15:10:48 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:48 T:76668   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
15:10:48 T:76668   ERROR: XFILE::CFileCache::Open - failed to open source <http://prem1.di.fm:80/progressivepsy_hi?a6eeb71c2575821f0f744201>
15:10:48 T:76668   ERROR: MP3Codec: Unable to open file http://prem1.di.fm:80/progressivepsy_hi?a6eeb71c2575821f0f744201
15:10:48 T:76668   ERROR: CAudioDecoder: Unable to Init Codec while loading file http://prem1.di.fm:80/progressivepsy_hi?a6eeb71c2575821f0f744201
15:10:48 T:76668 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
15:10:48 T:76668   ERROR: Playlist Player: skipping unplayable item: 63, path [http://prem1.di.fm:80/progressivepsy_hi?a6eeb71c2575821f0f744201]
15:10:49 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:49 T:76668  NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
15:10:50 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:50 T:76668   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
15:10:50 T:76668   ERROR: XFILE::CFileCache::Open - failed to open source <http://prem3.di.fm:80/psybient_hi?a6eeb71c2575821f0f744201>
15:10:50 T:76668   ERROR: MP3Codec: Unable to open file http://prem3.di.fm:80/psybient_hi?a6eeb71c2575821f0f744201
15:10:50 T:76668   ERROR: CAudioDecoder: Unable to Init Codec while loading file http://prem3.di.fm:80/psybient_hi?a6eeb71c2575821f0f744201
15:10:50 T:76668 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
15:10:50 T:76668   ERROR: Playlist Player: skipping unplayable item: 64, path [http://prem3.di.fm:80/psybient_hi?a6eeb71c2575821f0f744201]
15:10:50 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:50 T:76668  NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
15:10:51 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:51 T:76668   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
15:10:51 T:76668   ERROR: XFILE::CFileCache::Open - failed to open source <http://prem4.di.fm:80/psychill_hi?a6eeb71c2575821f0f744201>
15:10:51 T:76668   ERROR: MP3Codec: Unable to open file http://prem4.di.fm:80/psychill_hi?a6eeb71c2575821f0f744201
15:10:51 T:76668   ERROR: CAudioDecoder: Unable to Init Codec while loading file http://prem4.di.fm:80/psychill_hi?a6eeb71c2575821f0f744201
15:10:51 T:76668 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
15:10:51 T:76668   ERROR: Playlist Player: skipping unplayable item: 65, path [http://prem4.di.fm:80/psychill_hi?a6eeb71c2575821f0f744201]
15:10:52 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:52 T:76668  NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
15:10:52 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:52 T:76668   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
15:10:52 T:76668   ERROR: XFILE::CFileCache::Open - failed to open source <http://prem3.di.fm:80/russianclubhits_hi?a6eeb71c2575821f0f744201>
15:10:52 T:76668   ERROR: MP3Codec: Unable to open file http://prem3.di.fm:80/russianclubhits_hi?a6eeb71c2575821f0f744201
15:10:52 T:76668   ERROR: CAudioDecoder: Unable to Init Codec while loading file http://prem3.di.fm:80/russianclubhits_hi?a6eeb71c2575821f0f744201
15:10:52 T:76668 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
15:10:52 T:76668   ERROR: Playlist Player: skipping unplayable item: 66, path [http://prem3.di.fm:80/russianclubhits_hi?a6eeb71c2575821f0f744201]
15:10:53 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:53 T:76668  NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
15:10:54 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:54 T:76668   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
15:10:54 T:76668   ERROR: XFILE::CFileCache::Open - failed to open source <http://prem3.di.fm:80/sankeys?a6eeb71c2575821f0f744201>
15:10:54 T:76668   ERROR: MP3Codec: Unable to open file http://prem3.di.fm:80/sankeys?a6eeb71c2575821f0f744201
15:10:54 T:76668   ERROR: CAudioDecoder: Unable to Init Codec while loading file http://prem3.di.fm:80/sankeys?a6eeb71c2575821f0f744201
15:10:54 T:76668 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
15:10:54 T:76668   ERROR: Playlist Player: skipping unplayable item: 67, path [http://prem3.di.fm:80/sankeys?a6eeb71c2575821f0f744201]
15:10:54 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:54 T:76668  NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
15:10:55 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:55 T:76668   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
15:10:55 T:76668   ERROR: XFILE::CFileCache::Open - failed to open source <http://prem4.di.fm:80/scousehouse_hi?a6eeb71c2575821f0f744201>
15:10:55 T:76668   ERROR: MP3Codec: Unable to open file http://prem4.di.fm:80/scousehouse_hi?a6eeb71c2575821f0f744201
15:10:55 T:76668   ERROR: CAudioDecoder: Unable to Init Codec while loading file http://prem4.di.fm:80/scousehouse_hi?a6eeb71c2575821f0f744201
15:10:55 T:76668 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
15:10:55 T:76668   ERROR: Playlist Player: skipping unplayable item: 68, path [http://prem4.di.fm:80/scousehouse_hi?a6eeb71c2575821f0f744201]
15:10:55 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:55 T:76668  NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
15:10:56 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:56 T:76668   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
15:10:56 T:76668   ERROR: XFILE::CFileCache::Open - failed to open source <http://prem4.di.fm:80/soulfulhouse_hi?a6eeb71c2575821f0f744201>
15:10:56 T:76668   ERROR: MP3Codec: Unable to open file http://prem4.di.fm:80/soulfulhouse_hi?a6eeb71c2575821f0f744201
15:10:56 T:76668   ERROR: CAudioDecoder: Unable to Init Codec while loading file http://prem4.di.fm:80/soulfulhouse_hi?a6eeb71c2575821f0f744201
15:10:56 T:76668 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
15:10:56 T:76668   ERROR: Playlist Player: skipping unplayable item: 69, path [http://prem4.di.fm:80/soulfulhouse_hi?a6eeb71c2575821f0f744201]
15:10:57 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:57 T:76668  NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
15:10:57 T:76668   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
15:10:57 T:76668   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
15:10:57 T:76668   ERROR: XFILE::CFileCache::Open - failed to open source <http://prem3.di.fm:80/spacemusic_hi?a6eeb71c2575821f0f744201>
15:10:57 T:76668   ERROR: MP3Codec: Unable to open file http://prem3.di.fm:80/spacemusic_hi?a6eeb71c2575821f0f744201
15:10:57 T:76668   ERROR: CAudioDecoder: Unable to Init Codec while loading file http://prem3.di.fm:80/spacemusic_hi?a6eeb71c2575821f0f744201
15:10:57 T:76668 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
15:10:57 T:76668   ERROR: Playlist Player: skipping unplayable item: 70, path [http://prem3.di.fm:80/spacemusic_hi?a6eeb71c2575821f0f744201]

Problem with XBMC Frodo 12.2

Crashes at startup. Tested on both Windows and Mac OS X.
Related to DI.fm webpage Upgrade?
Sky.fm still Works.

Recieves the following error on load:

15:00:36 T:5716 NOTICE: [PLUGIN] Digitally Imported v2.1.1 (8. December 2012)
15:00:36 T:5716 NOTICE: Going for Premium favorite streams
15:00:40 T:5716 NOTICE: Found listenkey
15:01:07 T:5716 ERROR: Connection error Could not connect to di.fm Check your internet connection
15:01:07 T:5716 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: cannot concatenate 'str' and 'bool' objects
Traceback (most recent call last):
File "C:\Users\Vidar\AppData\Roaming\XBMC\addons\plugin.audio.di.fm\default.py", line 414, in
MusicAddonInstance.start()
File "C:\Users\Vidar\AppData\Roaming\XBMC\addons\plugin.audio.di.fm\default.py", line 156, in start
streamList = self.getFavoriteStreamsList( self._favoritesStreamJson128k + "?" + listenkey )
TypeError: cannot concatenate 'str' and 'bool' objects
-->End of Python script error report<--
15:01:07 T:5336 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.audio.di.fm/
15:01:07 T:5336 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.di.fm/) failed

Plugin incompatible with new di.fm design

I'm getting a "Script error" when I try to launch the plugin, and see this error in Kodi's log:

17:27:44 T:1608078400   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/.kodi/addons/plugin.audio.di.fm/default.py", line 440, in <module>
    MusicAddonInstance.run()
  File "/storage/.kodi/addons/plugin.audio.di.fm/default.py", line 209, in run
    channelMeta = json.loads(re_channelData.findall(html)[0])
IndexError: list index out of range
-->End of Python script error report<--

This is a clean install of the plugin on OpenELEC 5 on my RPi 2. It used to work fine on my old one, but I can't remember when I last used it. It looks like di.fm has a new design, so that's probably the cause?

Stream List parsing

Is there a particular reason you use the regular expessions to parse the front page instead of reading the json from listen.di.fm (like http://listen.di.fm/public3)? It seems the latter would be easier to read and less prone to breaking if the DI site gets updated. Also, Sky.FM provides the same data at listen.sky.fm .

Script Failed error

Running latest version
Kodi 14.2 (Helix)

17:34:20 T:1488974912 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/.kodi/addons/Digitally-Imported-XBMC-plugin-master/default.py", line 459, in
MusicAddonInstance.run()
File "/storage/.kodi/addons/Digitally-Imported-XBMC-plugin-master/default.py", line 165, in run
channelMeta = self.getChannelMetadata(html)
File "/storage/.kodi/addons/Digitally-Imported-XBMC-plugin-master/default.py", line 273, in getChannelMetadata
channelMeta = re_channelMeta.findall(html)[0]
IndexError: list index out of range
-->End of Python script error report<--
17:34:21 T:1969275424 ERROR: GetDirectory - Error getting plugin://plugin.audio.di.fm/
17:34:21 T:1969275424 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.di.fm/) failed
17:34:21 T:1488974912 NOTICE: Thread BackgroundLoader start, auto delete: false

Favorites no longer working

When choosing the "Use my favorites" option for the plugin, I get a warning when launching the plugin "No favorites found. Login to di.fm in your browser and go to 'Manage favorites' or uncheck 'Use my favorites' from this plugins settings". I do have 2 favorites chosen for my premium account.

In the past, the plugin would launch fine and I would just see my 2 favorites. Now, it just gives the error above and doesn't show anything. If I turn off 'Use my favorites', then I see everything. So, still usable but would be better with favorites working again. Thanks and great work on the plugin.

This is on XBMC 13.2.

Selecting radio station makex XBMC freeze up

As title says: When selecting a radio station the whole XBMC will freeze for half a minute and then respond with the message: "One or more items failed to play." And log file: http://pastebin.com/77sEg4Wz

Funny thing is that I bookmarked one of the streams (disco house) and that works just fine (I tried the DI addon in this log and then opened the working stream afterwards).

Fortsæt det gode arbejde!

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.