[REQUEST] Rdio Addon?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
kobyboy Offline
Member
Posts: 79
Joined: Mar 2011
Reputation: 0
Post: #16
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?
find quote
TheDuffMan Offline
ShareThe.TV admin
Posts: 272
Joined: Nov 2008
Reputation: 13
Post: #17
Nope Smile

[Image: widget]
find quote
ampedandwired Offline
Senior Member
Posts: 134
Joined: May 2012
Reputation: 11
Post: #18
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.
find quote
otcho Offline
Senior Member
Posts: 167
Joined: Mar 2011
Reputation: 0
Location: Germany
Post: #19
Very good news!
find quote
Dantaipan Offline
Junior Member
Posts: 7
Joined: Aug 2011
Reputation: 0
Post: #20
Great news indeed. I will be following closely.
find quote
ampedandwired Offline
Senior Member
Posts: 134
Joined: May 2012
Reputation: 11
Post: #21
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.
find quote
speedmax Offline
Junior Member
Posts: 8
Joined: Jan 2011
Reputation: 0
Post: #22
Thanks for the plugin! I will test it during the weekend.

Regards,

Max
find quote
cmckitterick Offline
Junior Member
Posts: 30
Joined: Feb 2012
Reputation: 0
Post: #23
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.
find quote
herrflick Offline
Junior Member
Posts: 16
Joined: Nov 2011
Reputation: 0
Post: #24
Thanks a lot.

It's working very well on my Apple tv 1.
find quote
rabytov Offline
Junior Member
Posts: 2
Joined: Jan 2012
Reputation: 0
Post: #25
A big thanks !
It's working on win7 but not in my atv2.
find quote
dallasnights Offline
Fan
Posts: 487
Joined: Jan 2011
Reputation: 0
Post: #26
how do you make it work on ATV2
find quote
ampedandwired Offline
Senior Member
Posts: 134
Joined: May 2012
Reputation: 11
Post: #27
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.
find quote
dallasnights Offline
Fan
Posts: 487
Joined: Jan 2011
Reputation: 0
Post: #28
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
find quote
ampedandwired Offline
Senior Member
Posts: 134
Joined: May 2012
Reputation: 11
Post: #29
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?
find quote
dallasnights Offline
Fan
Posts: 487
Joined: Jan 2011
Reputation: 0
Post: #30
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
(This post was last modified: 2012-06-10 15:00 by dallasnights.)
find quote