Digitally Imported addon v1.1.1 in the official XBMC Eden music addon repository

Posted by | Posted in Uncategorized | Posted on 27-04-2012

I finally reached my goal and the Digitally Imported XBMC plugin can now be found in the official XBMC music addon repository.

What was fixed to make the addon worthy of the official XBMC 11 (Eden) music repo:

  • Changed cache path from using xbmc.getaddoninfo(‘path’) to xbmc.getaddoninfo(‘profile’)
  • Renamed resource/language/english to resource/language/English
  • Localized on-screen strings (used in dialogboxes)

Everyone who has installed earlier versions manually, should be auto-updated.

On another note, my XBMC statistics page now shows 150 active installations.

The info that gets sent is country, plugin version and accounttype (if your using public or premium streams).
You can op-out of this by going to the addon settings, and disable “Allow submitting of stats”.

Because the XBMC 10 (Dharma) repository does not accept new addons anymore, I’ve made a Dharma compliant version that you have to download from below.
Download Digitally Imported XBMC Dharma addon v1.1.1

Addon source, can be see on Github here: https://github.com/Bitcrusher/Digitally-Imported-XBMC-plugin
You can pull the source from the Github repo here: git://github.com/Bitcrusher/Digitally-Imported-XBMC-plugin.git

Digitally Imported XBMC plugin v1.1.0

Posted by | Posted in Python, XBMC | Posted on 24-04-2012

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

I finally got around to updating/redoing my Digitally Imported addon adding a lot of features I’ve wanted to do for a long time – and in the process rewriting about 80% of the code making it much cleaner and about 150 codelines lighter.

Also, with this released I’ve uploaded the source code to Github, hoping to have the plugin accepted in the Official XBMC add-on repository – and is currently awaiting approval from the XBMC staff – and when that happens it should be available to all XBMC 10 users and up.

When the plugin gets approved, it should (hopefully) auto-update the 1.0 version that people have manually installed from the .zip in the last release – which has 1500+ downloads so far by the way.

Also, as described in the changes below, I’ve made a stats functionality and it’s results is available at http://stats.qualisoft.dk and is optional, but on be default – and I know it’s a bit of a cheap trick ;) The statspage has only been set up quickly, I’ll work a bit more on it when stats starts coming in.

This new version has been tested on Linux and Win7 and XBMC 10 (Dharma) and XBMC 11 (Eden).

Whats new:

  • The addon is now GPL2
  • Added AAC+ streams – 1/2 bandwidth for the same quality
  • Premium AAC+ streams available 40/64/128k
  • Channelart will automatically be downloaded – for when new channels are added
  • Notification when new channels are added and new channels (when new channelart is found) are highlighted in orange – remains hightlighted till the cache is refreshed
  • Added stats system – results of this will be visible at http://stats.qualisoft.dk

What’s been improved/fixed:

  • Overhauled the whole plugin, removed lots of duplicate/redundant code = ~150 lines lighter code
  • Filesystem paths are resolved using getAddonInfo(‘path’) instead of os.getcwd()
  • All log output to switched from using the print function to xbmc.log
  • Revised add-on settings page – categorized in tabs

What’s been removed:

  • Removed MP3 stream support

Again, hopefully the plugin will be approved very soon, but I’ll put up the download link here one last time here.

Download Digitally Imported XBMC plugin v1.1.0

Instructions for installing the plugin can be found here, in the previous post for when v1.0 was released. It’s fine to either overwrite the old plugin.audio.di.fm directory or deleting it first – deleting it will get rid of deprecated files though.

If you’d like to check out the source, the Git can be found here: https://github.com/Bitcrusher/Digitally-Imported-XBMC-plugin

Also you can pull from the Git repo here: git://github.com/Bitcrusher/Digitally-Imported-XBMC-plugin.git

Digitally Imported XBMC plugin v1.0

Posted by | Posted in Python, Ubuntu, XBMC | Posted on 04-01-2012

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

I had holiday between Christmas and New Years, and pulled myself together and finshed up the Digitally Imported streaming music plugin for XBMC, finally hitting version 1.0.

This was actually quite lucky I had started work on it again as XBMC 11.0 Eden: Beta got release – which works great – and as Digitally Imported changed their website design at New Years, meaning: the plugin broke.

Version 1.0 means I’ve implemented all the functionality I originally set out to do:

  • Streaming of 96k public streams
  • The option to choose A-Z sorting or let the streams be displayed in the order they are at di.fm
  • A configurable cache function of stream URLs, for faster loading of the streamlist when using cached version + to not hammer DIs webserver (6 hours cache by default)
  • Unique channel icons for every channel – thank you to Ari Shohat from Digitally Imported for permission to use them
  • Premium login and premium streams
  • Premium users have the option to choose between 256k and 128k streams
  • Premium users may choose to use their ‘My Favorites’ playlist, only showing the streams they want

Download Digitally Imported XBMC plugin v1.0

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 v1.0
  • 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.
    • Linux/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.