Kodi Community Forum
[RELEASE] Rdio Music Addon - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Music Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=148)
+---- Thread: [RELEASE] Rdio Music Addon (/showthread.php?tid=133714)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28


RE: [RELEASE] Rdio Music Addon - felixxx999 - 2013-04-21

I have the same issue. Got my RDIO working a few months ago, then it was broken while under Frodo 12.0.

Upgraded to 12.1 and "Failed to authenticate"


RE: [RELEASE] Rdio Music Addon - nbmaltais - 2013-04-23

I made a python script to manually login to rdio. It requires that python be installed, that browser be present (so it won't work on openelec I guess) and some user interraction. It's a one time operation, after the rdio plugin will work.

This is only a patch while waiting for the login problem to be fixed.

If anyone is interrested, reply and I'll find a way to share the script.

By the way, thanks for this great plugin!

Nic


RE: [RELEASE] Rdio Music Addon - Soldin - 2013-04-24

(2013-04-23, 22:36)nbmaltais Wrote: I made a python script to manually login to rdio. It requires that python be installed, that browser be present (so it won't work on openelec I guess) and some user interraction. It's a one time operation, after the rdio plugin will work.

This is only a patch while waiting for the login problem to be fixed.

If anyone is interrested, reply and I'll find a way to share the script.

By the way, thanks for this great plugin!

Nic

Hi nbmaltais! I am interested in your script you can share?

Still could not use the plugin ... Sad

Soldin.


RE: [RELEASE] Rdio Music Addon - nbmaltais - 2013-04-24

So here is the script:
http://pastebin.com/4wE3uBay

Save this in a file called rdiologin.py ( or anyname you want .py).
Execute the script ( you must have python 2.7 installed : www.python.org) :
on windows:
c:\python27\python.exe path\to\rdiologin.py yourapikey yourapisecret
on linux:
python2 path\to\rdiologin.py yourapikey yourapisecret

The script will open your default browser to the rdio application authorisation login page. Enter your username and password and follow the instruction. You should receive a 4 digits code.
Enter the code in the script window.
The script will then open the main rdio web page in your browser. This is the not automated part...
You must login to rdio and find the "r" cookie for www.rdio.com.
When you have the r cookie, enter it in the script window (or paste it).
The script will create the state file required by rdio addon and save it to the right location. Next time you launch the rdio plugin, it should work (well it did for me...).

Getting the cookie value depends on the browser. In google chrome, press CTRL+SHIFT+I, the developper tools will appear. Click on the resources tab, select cookies from the tree view, select rdio.com, double click on the r cookie value, right click and select copy.
In IE, press F12, select the cache menu, show cookie information, find the cookie with DOMAIN = rdio.com and NAME = r, copy the value field.
Other browsers: google!

Hope this works for you. Let me know it doesn't!

Nic


RE: [RELEASE] Rdio Music Addon - ampedandwired - 2013-04-25

Awesome work Nic! Thanks for helping out.

Still no good solution to this problem unfortunately, but I'm looking into a workaround and talking with the Rdio guys about alternative approaches. Hopefully I'll have some more news soon.


RE: [RELEASE] Rdio Music Addon - lavep - 2013-04-29

I'd guess it not just authentication. Can't really use it lately because of any menu entry selection ends up with script error ;-(


RE: [RELEASE] Rdio Music Addon - Soldin - 2013-05-01

Anyone know say that error is this?

Code:
13:22:44 T:140726581851904  NOTICE: Previous line repeats 1 times.
13:22:44 T:140726581851904  NOTICE: Thread Jobworker start, auto delete: true
13:22:44 T:140726831363840  NOTICE: Thread XBPyThread start, auto delete: false
13:22:44 T:140726831363840  NOTICE: -->Python Interpreter Initialized<--
13:22:44 T:140726831363840   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ImportError'>
                                            Error Contents: No module named t0mm0.common.addon
                                            Traceback (most recent call last):
                                              File "/home/anderson/.xbmc/addons/plugin.audio.rdio/rdioplugin.py", line 25, in <module>
                                                from t0mm0.common.addon import Addon
                                            ImportError: No module named t0mm0.common.addon
                                            -->End of Python script error report<--
13:22:44 T:140726960314240   ERROR: GetDirectory - Error getting plugin://plugin.audio.rdio/
13:22:44 T:140726960314240   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.rdio/) failed
13:22:44 T:140726831363840  NOTICE: Thread Background Loader start, auto delete: false



RE: [RELEASE] Rdio Music Addon - eQUIV - 2013-05-02

I'm not sure what exactly has caused it, but some of my playlists will not open in this plugin. It seems to only effect a few playlists -- I think it has to do with length, as these lists have 80+ songs. Anyone else having this problem?


RE: [RELEASE] Rdio Music Addon - artrafael - 2013-05-02

(2013-05-01, 18:30)Soldin Wrote: Anyone know say that error is this?

Code:
13:22:44 T:140726581851904  NOTICE: Previous line repeats 1 times.
13:22:44 T:140726581851904  NOTICE: Thread Jobworker start, auto delete: true
13:22:44 T:140726831363840  NOTICE: Thread XBPyThread start, auto delete: false
13:22:44 T:140726831363840  NOTICE: -->Python Interpreter Initialized<--
13:22:44 T:140726831363840   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ImportError'>
                                            Error Contents: No module named t0mm0.common.addon
                                            Traceback (most recent call last):
                                              File "/home/anderson/.xbmc/addons/plugin.audio.rdio/rdioplugin.py", line 25, in <module>
                                                from t0mm0.common.addon import Addon
                                            ImportError: No module named t0mm0.common.addon
                                            -->End of Python script error report<--
13:22:44 T:140726960314240   ERROR: GetDirectory - Error getting plugin://plugin.audio.rdio/
13:22:44 T:140726960314240   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.rdio/) failed
13:22:44 T:140726831363840  NOTICE: Thread Background Loader start, auto delete: false

Enable debug log (wiki)ging in XBMC, reproduce error, upload complete log to www.xbmclogs.com and post assigned URL here.


RE: [RELEASE] Rdio Music Addon - eQUIV - 2013-05-02

Here's the error I'm receiving on some playlists:

http://www.xbmclogs.com/show.php?id=15424


RE: [RELEASE] Rdio Music Addon - jdhanley - 2013-05-05

I am having the same authentication problem under XMBC 12.2 on my Raspberry Pi. When there is a fix, will someone reply to this thread to notify us?

Thanks!


RE: [RELEASE] Rdio Music Addon - ampedandwired - 2013-05-06

Hi All,

Sorry for the delay in getting back to you all - I've got a lot of things going on at the moment and haven't had the time to dedicate to this plugin that I'd like.

I've had some discussions with the Rdio guys and unfortunately there doesn't seem to be a "proper" solution available for XBMC/Rdio integration Sad This means that we'll have to keep cobbling together our own solutions.

The authentication problem is caused by changes to the Rdio website. Previously the plugin did auth simply by hitting the Rdio login pages using an HTTP library. They've changed their site so that all the forms are handled by Javascript, which means that this approach doesn't work - you really need to use a proper browser to log in and get the authentication PIN. I could make this a manual step that you have to do when setting up the plugin, but I'd like to avoid that if possible, so I'm working on an automated solution using phantomjs (running into some problems, so if anyone can help out let me know).

Will continue to update this thread as I make progress.


RE: [RELEASE] Rdio Music Addon - maxwel - 2013-05-06

Can someone help me please? i'm getting a sript error message... i'm trying to connect lastfm on xbmc but i'm getting this ( connect failed ... Script failed : rdioplugin.py ) my rdio username, password and API are correct and i living in available countrie... I'm using XBMC v12.2 (Frodo), with Win7x64.

Here is my debug log file:
http://xbmclogs.com/show.php?id=16532

Thank you.


RE: [RELEASE] Rdio Music Addon - drift - 2013-05-14

I've managed to submit the auth token, I just cannot find where to put the pin code it gave me. Any help?


RE: [RELEASE] Rdio Music Addon - nbmaltais - 2013-05-15

Hi Drift,

Can you give more details? Are you trying to use the script I posted or the rdio addon?

Nic