Kodi Community Forum

Full Version: [REQUEST] Rdio Addon?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
TheDuffMan Wrote:I see there's a plex plugin for Rdio that is written in Python and means it's likely possible to port: https://github.com/mikedecaro/Rdio.bundle.

I might get around to writing it myself eventually, but if anyone is interested in writing it now that link should help.

Any Further development?
Nope Smile
Just to let you know that I've started working on an XBMC Rdio Addon. It's not yet usable, but I've managed to get auth and playback working, which is the hardest bit, so the rest should come fairly quickly.

Code is here: https://github.com/ampedandwired/rdio-xbmc

Will post here once it's in a usable state.
Very good news!
Great news indeed. I will be following closely.
The first cut (0.1.0) of the Rdio addon is stable and ready for beta testing. The addon is not available in any repos yet, so it's installation by zip only at this stage. There's bound to be some issues with this first beta (especially seeing as this is my first XBMC addon, not to mention first Python project), so please let me know of any problems you encounter. I've only tested on Ubuntu (and XBMC Live) so far, so any feedback from Windows users would be appreciated.

The following functionality is available so far:
  • List and play your collection by artist
  • List and play your collection by album
  • List and play your playlists (including collaborative and subscribed playlists)

There's a lot more functionality yet to be done, but I should be able to add features fairly quickly once there's a solid base to build on.

If you feel like giving it a go, head on over to https://github.com/ampedandwired/rdio-xbmc/wiki and follow the installation instructions.
Thanks for the plugin! I will test it during the weekend.


I've literally just installed the plugin (Windows 7) and it seems to be working as advertised. Functionality is pretty limited, but I can stream music in my collection/playlists painlessly. Assuming it continues to work, this plugin is already useable and could soon be awesome.

Thanks for the hard work.
Thanks a lot.

It's working very well on my Apple tv 1.
A big thanks !
It's working on win7 but not in my atv2.
how do you make it work on ATV2
Glad to hear it's working for some of you at least.

@dallasnights, @rabytov: unfortunately I don't have an ATV, so I can't test it myself. Would you be able to provide a bit more information about what you are seeing and what exactly is failing for you? If you could supply an XBMC debug log file that would help immensely.

There are a few threads on the XBMC forums that indicate that the RTMP version may be the problem for the ATV. You could try the instructions in this post from Karmaj for upgrading - can't guarantee that it will work, but probably worth a shot. Let me know how it goes.
here is the log when I click on Rdio on ATV2 hope you can fix thank you

07:20:06 T:196816896 NOTICE: -->Python Interpreter Initialized<--
07:20:08 T:196816896 NOTICE: CommonFunctions-0.9.2
07:20:08 T:196816896 ERROR: Error Type: <type 'exceptions.ImportError'>
07:20:08 T:196816896 ERROR: Error Contents: No module named oauth2
07:20:08 T:196816896 ERROR: Traceback (most recent call last):
File "/var/mobile/Library/Preferences/XBMC/addons/ampedandwired-rdio-xbmc-8c09939/rdioplugin.py", line 26, in <module>
from rdioxbmc import RdioApi
File "/var/mobile/Library/Preferences/XBMC/addons/ampedandwired-rdio-xbmc-8c09939/rdioxbmc.py", line 21, in <module>
from rdioapi import Rdio
File "/var/mobile/Library/Preferences/XBMC/addons/ampedandwired-rdio-xbmc-8c09939/resources/lib/rdioapi/__init__.py", line 34, in <module>
import oauth2 as oauth
ImportError: No module named oauth2
07:20:09 T:147501056 ERROR: GetDirectory - Error getting plugin://plugin.audio.rdio
07:20:09 T:147501056 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.rdio) failed
07:20:09 T:147501056 WARNING: GetLabel - Unknown nodetype requested 0
Thanks for the logs. So the error message seems to indicate that python can't find the oauth2 library. Since 6 June this library was distributed as part of the rdio plugin (see this commit). Can you tell me if the directory "<xbmc_home>/addons/plugin.audio.rdio/resources/lib/oauth2" exists? (substitute <xbmc_home> for wherever your xbmc home directory is on your ATV).

Did you attempt to install the plugin prior to my post about 0.1.0? Some of the line numbers in the log you posted just don't match up with what I would expect with this release, so I'm wondering if you're running old code somehow?
you are right, I used the newest one and the directory you mentioned is now there you just linked to but still wont launch
I went into settings
I noticed Rdio secret key and Rdio API secret are empty
the UN and PW are correct

Maybe that is problem, how do put in the KEY and API secret

Thank you
here is the log now

07:59:10 T:198766592 NOTICE: -->Python Interpreter Initialized<--
07:59:12 T:198766592 NOTICE: CommonFunctions-0.9.2
07:59:14 T:198766592 NOTICE: /var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.audio.rdio/
07:59:14 T:198766592 NOTICE: Rdio: Connected to Rdio with apikey
07:59:14 T:198766592 NOTICE: Rdio: You must supply your Rdio username/password and Rdio API credentials in plugin settings. Visit http://bit.ly/rdioxbmc for help.
07:59:24 T:199118848 NOTICE: -->Python Interpreter Initialized<--
07:59:26 T:199118848 NOTICE: CommonFunctions-0.9.2
07:59:26 T:199118848 NOTICE: /var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.audio.rdio/
07:59:26 T:199118848 NOTICE: Rdio: Connected to Rdio with apikey
07:59:26 T:199118848 NOTICE: Rdio: You must supply your Rdio username/password and Rdio API credentials in plugin settings. Visit http://bit.ly/rdioxbmc for help.
07:59:32 T:197701632 NOTICE: -->Python Interpreter Initialized<--
07:59:34 T:197701632 NOTICE: CommonFunctions-0.9.2
07:59:34 T:197701632 NOTICE: /var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.audio.rdio/
07:59:34 T:197701632 NOTICE: Rdio: Connected to Rdio with apikey
Pages: 1 2 3