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
ok registered for a key and put that in properly, can see my playlists but when I click on a song nothing plays

Here is the log

08:12:13 T:196816896 NOTICE: -->Python Interpreter Initialized<--
08:12:15 T:196816896 NOTICE: CommonFunctions-0.9.2
08:12:16 T:196816896 NOTICE: /var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.audio.rdio/
08:12:16 T:196816896 NOTICE: Rdio: Connected to Rdio with apikey 5gftyyyxtcre2ys52qr5yrfm
08:12:16 T:196816896 NOTICE: Rdio: Authenticating to Rdio
08:12:16 T:196816896 NOTICE: Rdio: Authorizing OAuth token https://www.rdio.com/oauth/authorize?oau...xyghpscdbd
08:12:17 T:196816896 NOTICE: Rdio: Logging in to Rdio as [email protected] using URL https://www.rdio.com/signin/?next=/oauth...xyghpscdbd
08:12:18 T:196816896 NOTICE: Rdio: Approving oauth token jchcdkumhgrfahxyghpscdbd with pin 2332
08:12:19 T:196816896 NOTICE: Rdio: Verifying OAuth token on Rdio API with pin 2332
08:12:20 T:196816896 NOTICE: Rdio: Getting playback token
08:12:20 T:196816896 NOTICE: Rdio: Got playback token: GAlP1J01AAAguTVnZnR5eXl4dGNyZTJ5czUycXI1eXJmbWxvY2FsaG9zdF-7n3BSYVwIxuCaujvNWWI=
08:12:20 T:196816896 NOTICE: Rdio: Successfully authenticated to Rdio
08:12:23 T:196816896 NOTICE: -->Python Interpreter Initialized<--
08:12:25 T:196816896 NOTICE: CommonFunctions-0.9.2
08:12:26 T:196816896 NOTICE: /var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.audio.rdio/
08:12:26 T:196816896 NOTICE: Rdio: Connected to Rdio with apikey 5gftyyyxtcre2ys52qr5yrfm
08:12:36 T:208572416 NOTICE: -->Python Interpreter Initialized<--
08:12:39 T:208572416 NOTICE: CommonFunctions-0.9.2
08:12:39 T:208572416 NOTICE: /var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.audio.rdio/
08:12:39 T:208572416 NOTICE: Rdio: Connected to Rdio with apikey 5gftyyyxtcre2ys52qr5yrfm
08:12:44 T:213364736 NOTICE: -->Python Interpreter Initialized<--
08:12:46 T:213364736 NOTICE: CommonFunctions-0.9.2
08:12:47 T:213364736 NOTICE: /var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.audio.rdio/
08:12:47 T:213364736 NOTICE: Rdio: Connected to Rdio with apikey 5gftyyyxtcre2ys52qr5yrfm
08:12:49 T:147501056 NOTICE: DVDPlayer: Opening: rtmpe://cp102543.edgefcs.net:1935/ondemand?auth=daCdrcxcpbca5d4aObudkcdb0ctbtdAaxaC-bp1j1s-O-7ouz&aifp=rdio app=ondemand?auth=daCdrcxcpbca5d4aObudkcdb0ctbtdAaxaC-bp1j1s-O-7ouz&aifp=rdio playpath=mp3Confused/music/c/f/a/b/cfab34051c74459f875213028efb9dd1/full-192
08:12:49 T:147501056 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
08:12:49 T:221306880 NOTICE: Creating InputStream
08:12:49 T:221306880 WARNING: HandShake: Type mismatch: client sent 6, server answered 9
08:12:51 T:221306880 NOTICE: Creating Demuxer
08:12:51 T:221306880 ERROR: RTMP_ReadPacket, failed to read RTMP packet header
08:12:51 T:221306880 WARNING: could not find codec parameters for rtmpe://cp102543.edgefcs.net:1935/ondemand?auth=daCdrcxcpbca5d4aObudkcdb0ctbtdAaxaC-bp1j1s-O-7ouz&aifp=rdio app=ondemand?auth=daCdrcxcpbca5d4aObudkcdb0ctbtdAaxaC-bp1j1s-O-7ouz&aifp=rdio playpath=mp3Confused/music/c/f/a/b/cfab34051c74459f875213028efb9dd1/full-192
08:12:51 T:221306880 ERROR: OpenDemuxStream - Error creating demuxer
08:12:51 T:221306880 NOTICE: CDVDPlayer::OnExit()
08:12:51 T:221306880 NOTICE: CDVDPlayer::OnExit() deleting input stream
08:12:51 T:147501056 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.audio.rdio/?play=True&mode=play&key=t3115968]
08:12:51 T:147501056 NOTICE: CDVDPlayer::CloseFile()
08:12:51 T:147501056 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
08:12:51 T:147501056 NOTICE: DVDPlayer: waiting for threads to exit
08:12:51 T:147501056 NOTICE: DVDPlayer: finished waiting
08:13:15 T:192835584 NOTICE: -->Python Interpreter Initialized<--
08:13:16 T:192835584 NOTICE: CommonFunctions-0.9.2
08:13:16 T:192835584 NOTICE: /var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.audio.rdio/
08:13:16 T:192835584 NOTICE: Rdio: Connected to Rdio with apikey 5gftyyyxtcre2ys52qr5yrfm
08:13:17 T:147501056 NOTICE: DVDPlayer: Opening: rtmpe://cp102543.edgefcs.net:1935/ondemand?auth=daCbicOcGdmctc_aLbYcJc9cPcldBdGaLcp-bp1j1V-O-8orz&aifp=rdio app=ondemand?auth=daCbicOcGdmctc_aLbYcJc9cPcldBdGaLcp-bp1j1V-O-8orz&aifp=rdio playpath=mp3Confused/music/2/1/c/4/21c4cf0724ce4c3aaa13624121262214/full-192
08:13:17 T:147501056 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
08:13:17 T:206974976 NOTICE: Creating InputStream
08:13:17 T:206974976 WARNING: HandShake: Type mismatch: client sent 6, server answered 9
08:13:18 T:206974976 NOTICE: Creating Demuxer
08:13:18 T:206974976 ERROR: RTMP_ReadPacket, failed to read RTMP packet header
08:13:18 T:206974976 WARNING: could not find codec parameters for rtmpe://cp102543.edgefcs.net:1935/ondemand?auth=daCbicOcGdmctc_aLbYcJc9cPcldBdGaLcp-bp1j1V-O-8orz&aifp=rdio app=ondemand?auth=daCbicOcGdmctc_aLbYcJc9cPcldBdGaLcp-bp1j1V-O-8orz&aifp=rdio playpath=mp3Confused/music/2/1/c/4/21c4cf0724ce4c3aaa13624121262214/full-192
08:13:18 T:206974976 ERROR: OpenDemuxStream - Error creating demuxer
08:13:18 T:206974976 NOTICE: CDVDPlayer::OnExit()
08:13:18 T:206974976 NOTICE: CDVDPlayer::OnExit() deleting input stream
08:13:18 T:147501056 ERROR: Playlist Player: skipping unplayable item: 1, path [plugin://plugin.audio.rdio/?play=True&mode=play&key=t7639642]
08:13:18 T:147501056 NOTICE: CDVDPlayer::CloseFile()
08:13:18 T:147501056 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
08:13:18 T:147501056 NOTICE: DVDPlayer: waiting for threads to exit
08:13:18 T:147501056 NOTICE: DVDPlayer: finished waiting
08:13:23 T:192835584 NOTICE: -->Python Interpreter Initialized<--
08:13:24 T:192835584 NOTICE: CommonFunctions-0.9.2
08:13:25 T:192835584 NOTICE: /var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.audio.rdio/
08:13:25 T:192835584 NOTICE: Rdio: Connected to Rdio with apikey 5gftyyyxtcre2ys52qr5yrfm
08:13:26 T:147501056 NOTICE: DVDPlayer: Opening: rtmpe://cp102543.edgefcs.net:1935/ondemand?auth=daCbIcIdldTcPdsaoczavdwascwcrbVboaX-bp1j13-O-4ovA&aifp=rdio app=ondemand?auth=daCbIcIdldTcPdsaoczavdwascwcrbVboaX-bp1j13-O-4ovA&aifp=rdio playpath=mp3Confused/music/9/1/a/9/91a93ae6b82c40ffa981e3cef608a0fa/full-192
08:13:26 T:147501056 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
08:13:26 T:201781248 NOTICE: Creating InputStream
08:13:26 T:201781248 WARNING: HandShake: Type mismatch: client sent 6, server answered 9
08:13:27 T:201781248 NOTICE: Creating Demuxer
08:13:27 T:201781248 ERROR: RTMP_ReadPacket, failed to read RTMP packet header
08:13:27 T:201781248 WARNING: could not find codec parameters for rtmpe://cp102543.edgefcs.net:1935/ondemand?auth=daCbIcIdldTcPdsaoczavdwascwcrbVboaX-bp1j13-O-4ovA&aifp=rdio app=ondemand?auth=daCbIcIdldTcPdsaoczavdwascwcrbVboaX-bp1j13-O-4ovA&aifp=rdio playpath=mp3Confused/music/9/1/a/9/91a93ae6b82c40ffa981e3cef608a0fa/full-192
08:13:27 T:201781248 ERROR: OpenDemuxStream - Error creating demuxer
08:13:27 T:201781248 NOTICE: CDVDPlayer::OnExit()
08:13:27 T:201781248 NOTICE: CDVDPlayer::OnExit() deleting input stream
08:13:27 T:147501056 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.audio.rdio/?play=True&mode=play&key=t2836046]
08:13:27 T:147501056 NOTICE: CDVDPlayer::CloseFile()
08:13:27 T:147501056 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
08:13:27 T:147501056 NOTICE: DVDPlayer: waiting for threads to exit
08:13:27 T:147501056 NOTICE: DVDPlayer: finished waiting
If you have a look at the instructions at https://github.com/ampedandwired/rdio-xbmc/wiki there is a section "Get an Rdio API Key" that explains where/how to get the API key and API secret.
did that please look at post 31, can see my songs but will not play
Yep, sorry didn't see your last post. This latest error looks like you've got an old version of RTMP. The rdio addon needs the latest version (2.4).

I'm not too familiar with the upgrade process on ATV, but there seems to be a few threads about it on the XBMC forums if you google something like "atv rtmp 2.4 xbmc". This post in particular looks like it might have some helpful info: http://forum.xbmc.org/showthread.php?tid...pid1106384
works perfect now on ATV2, thank you

One thing I did notice to shuffle your songs in a playlist, you have to choose the songs one by one then it shuffles great
Sweet, glad it's working for you now.
Thanks very much for those who took the time to test this addon. It seems to be working well enough to release it as v1.0. I've created a release thread for it - please continue discussion there.

I've also created a repository for the plugin ("Amedandwired's Add-ons") so you can get auto-updates from now on. If you previously installed this plugin directly from zip, I recommend you switch over to using the repository. Further details are in the "release thread".
Hi, I tried your plugin during the weekend.
There is the log file I have. Is this plugin work only with the new XBMC version. I still runing the old XBMC one (version 10, I think).

Thanks for your nice work!

Max

SyntaxError: invalid syntax
21:03:56 T:140360549808192 M:3081220096 ERROR: GetDirectory - Error getting plugin://plugin.audio.rdio/
21:03:56 T:140360549808192 M:3081220096 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.rdio/) failed
21:03:56 T:140360549808192 M:3081220096 WARNING: GetLabel - Unknown nodetype requested 0
21:03:58 T:140360173061888 M:3081240576 NOTICE: -->Python Interpreter Initialized<--
21:03:58 T:140360173061888 M:3081113600 ERROR: Error Type: exceptions.SyntaxError
21:03:58 T:140360173061888 M:3081113600 ERROR: Error Contents: ('invalid syntax', ('/home/maxime/.xbmc/addons/plugin.audio.rdio/rdioxbmc.py', 76, 46, ' error_message = error_messages[0] if type(error_messages) is list else error_messages\n'))
21:03:58 T:140360173061888 M:3081113600 ERROR: Traceback (most recent call last):
File "/home/maxime/.xbmc/addons/plugin.audio.rdio/rdioplugin.py", line 29, in ?
from rdioxbmc import RdioApi, RdioAuthenticationException
File "/home/maxime/.xbmc/addons/plugin.audio.rdio/rdioxbmc.py", line 76
error_message = error_messages[0] if type(error_messages) is list else error_messages
Hi speedmax, sorry to hear your having problems with the addon. I haven't tested on Dharma (version 10), so there's a good chance it won't work. I'll have a look at what's required to backport, maybe for release 1.3 and possibly give it a go if it's not too difficult (no guarantees though).

That said, the error you pasted above looks like it might be a python version incompatibility. What version of python are you using? You can check by opening a command prompt and running "python --version".
(2012-06-12, 07:38)ampedandwired Wrote: [ -> ]Hi speedmax, sorry to hear your having problems with the addon. I haven't tested on Dharma (version 10), so there's a good chance it won't work. I'll have a look at what's required to backport, maybe for release 1.3 and possibly give it a go if it's not too difficult (no guarantees though).

That said, the error you pasted above looks like it might be a python version incompatibility. What version of python are you using? You can check by opening a command prompt and running "python --version".

Hi,

Thanks for your help. I need to upgrade the distro & XBMC. I still runing on ubuntu 10.04 LTS. I have to upgrade to 12.04 and by the same time upgrade XBMC.
The time is missing & the setup still running well!

The version of python is 2.6.5. It's been a long time I did not look at the package update. I will do it to see if there a new Python version available.

Thanks for your help!

Max

The distro shouldn't matter too much... I'm still running 10.10 (with XBMC Eden though). I would have thought python 2.6.5 would have worked. Don't have time to dig into it tonight but will investigate a bit further when I get a spare moment.
I will update XBMC to Eden. Then I will take a look if your addon work.

Thanks for your time!

Regards,

Max
Glad to see something in the works. Hopefully development goes well and we see the installation process become streamlined.
@garretjansen, actually release 1.0 is already out and is available to be installed through my repository. Have a look at the rdio addon release thread.
Pages: 1 2 3