Digitally Imported XBMC plugin v0.7

Posted by | Posted in Python, Ubuntu, XBMC | Posted on 24-07-2011

UPDATE: Version 1.1.1 of  the Digitally Imported XBMC plugin has been released

A totally unofficial and unendorsed XBMC plugin.

For quite some time now, I’ve been wanting to start coding Python, also I’ve been a longtime member of Digitally Imported‘s excellent streaming music service that at the time of writing this post, has 38 channels to choose from.

So I decided to combine those two things and write a DI plugin for the awesome open source media center XBMC, which coincidentally uses Python.

The plugin is in what i would call stable beta as I’ve seen no more bugs, the beta label is more to show that I want to do more with the plugin.

Currently it only supports the public streams in 96kb/s in MP3 format, the plan is to add support for Premium streams (256kb/s).

For now, it’s just a file download, but in the future I plan to have it added to the official XBMC repository, so it can be downloaded directly from within XBMC.

What you need to do:

  • Make sure you have at least XBMC 10.1 – codename Dharma (XBMC 10.0 should work too)
  • Download Digitally Imported XBMC plugin v0.7
  • Download the updated Digitally Imported XBMC plugin v1.0 instead
  • Unpack the archive, inside the archive is a folder called plugin.audio.di.fm, move it to one of the following locations, depending on your OS. Some unpacking programs extracts to a folder with the same name as the file it extracted from, meaning you could end up with a plugin.audio.di.fm folder within the plugin.audio.di.fm folder – Inception style – and that could screw things up.
    • Ubuntu – ~/.xbmc/addons/
    • Windows – C:\Users\<your_username>\AppData\Roaming\XBMC\addons\
    • OS X – ~/Library/Application Support/XBMC/addons/
  • From XBMC, the plugin is configured by left clicking or pressing C on the Digitally Imported folder in the music add-ons category and choosing Add-on settings.

It has a few settings, like sorting from A-Z or keeping the order they’re show in at frontpage of di.fm, and choosing to never refresh the stream cache, resulting in the channellist gets shown much faster.

The plugin has been tested on XBMC 10.1 running on both Ubuntu 10.10 – Maverick Meerkat and Windows 7, so I’m crossing my fingers for similar results with your system. If you encounter any problems, a note in the comments would be greatly appreciated.

Comments posted (8))

  1. Cool software. When will it be possible to use the premium accounts?

  2. Unfortunately I didn’t get to have as much coding time during my summer holiday, as I thought I would, where I had originally thought I would have to time to implement the Premium feature.
    I’ll see if I can make some time during this or the next weekend, to implement it :)

  3. Hey! Nice work =)

    Take a look at mechanize for filling out forms (premium accounts.
    http://wwwsearch.sourceforge.net/mechanize/
    Cheers

  4. Thank you for this great job!! It works perfekt! Now I’m waitning for the “Primium”-Version. And then I will you donate somthing…
    Follow this way!

    Thanx!
    Neutron69ch

  5. Glad you like it, unfortunately I won’t have time to add premium before I’ve finished the AI class at ai-class.com, which is done mid-December.
    But I assure you, I’d also like to finish it :)
    Enjoy it till then

  6. works fine! :)

  7. Axute: I’m assuming you mean v1.0 works fine, and not v0.7 ;)
    Copied the install instructions to the v1.0 post, so people don’t have to visit this deprecated post/version again.
    Glad it works for you :)

  8. Comments on this post has been closed and moved to the post on v1.1.1 here: http://qualisoft.dk/2012/04/digitally-imported-addon-v1-1-1-in-the-official-xbmc-eden-music-addon-repository/