• 1
  • 8
  • 9
  • 10(current)
  • 11
  • 12
  • 28
[RELEASE] Rdio Music Addon
Just got it working through XMBC yesterday, so I haven't had a chance to totally play with it. Since I plan on using this over Pandora, my question is: does this include a "Play Station" button (like when you go to "Collection" on the Rdio app, or to an artist). I'm not a big fan of making playlists, so I'd much rather have the "Play Station" option, or some sort of auto playlist based on what you're playing....
@Felix, at present there's really nothing exactly like this in the XBMC plugin. I really like the idea though, and I'll definitely see what can be done for a future version of the plugin.

What I'm thinking would be cool is something that chooses the next song to play automatically by looking at "similar artists" of the song you're listening to, choosing one, then playing one of that artist's "top tracks". Repeat this and then you've got something similar to Pandora, in that it will play a whole bunch of random, similar songs based on a "seed" song.
Exactly! Use something like the Mediamonkey does with Last.fm autoplaylists....

That would be fantastic. I don't like mucking around with music ON THE XBMC. I want to start music and let it go... not have to click around....

anyway, great plug in.

Playing with it last night I thought a SHUFFLE option for playing a playlist would be nice as well...


(2012-10-26, 08:29)ampedandwired Wrote: @Felix, at present there's really nothing exactly like this in the XBMC plugin. I really like the idea though, and I'll definitely see what can be done for a future version of the plugin.

What I'm thinking would be cool is something that chooses the next song to play automatically by looking at "similar artists" of the song you're listening to, choosing one, then playing one of that artist's "top tracks". Repeat this and then you've got something similar to Pandora, in that it will play a whole bunch of random, similar songs based on a "seed" song.

I'm a heavy user of Rdio and just set this up. Awesome, awesome work. There's nothing I'd want to change in it, you wrote it perfectly. Thanks so much!
Image
(2012-10-26, 15:07)felixxx999 Wrote: Playing with it last night I thought a SHUFFLE option for playing a playlist would be nice as well...

Not at home right now so can't check, but can't you do this using XBMC's standard shuffle option?

@TheDuffMan - thanks very much! Smile
Just wanted to add my thanks, the plugin is fantastic, keep going!
Image
(2012-10-29, 03:07)ampedandwired Wrote:
(2012-10-26, 15:07)felixxx999 Wrote: Playing with it last night I thought a SHUFFLE option for playing a playlist would be nice as well...

Not at home right now so can't check, but can't you do this using XBMC's standard shuffle option?

@TheDuffMan - thanks very much! Smile
wait... I didn't even know that existed... will try tonight.

I'm excited to announce release 1.6.0 of this plugin. This release adds one feature only (but it's a good one!), as suggested by felixxx999 - artist radio stations.

Artist radio stations are played from the "artist" menu, and will play a mixture of randomly selected songs from that artist and from other artists related to that artist. The next song to play is determined as follows:
  • First song is always one of the top 20 "top tracks" from the "base" artist
  • Next song is chosen by fetching the top 10 "related artists" of the artist of the song that just played, choosing one at random, and then choosing a random song from the top 10 tracks of that related artist
  • Approximately every 1 in 5 tracks will return again to the "base" artist and the process repeats

There is no repeat detection yet so you may occasionally get the same song played more than once (hopefully not too often though).

I'd like to hear your feedback on this feature, especially the algorithm for choosing the next song. I'll implement the same idea but for songs in your collection some time in the not too distant future.

Enjoy!
Hey a, great add-on...looks like it may be my top one for xbmc but I'm wondering there is any control from the various remote apps?

Thanks to the devs(ampedandwired)for a great addition to xbmc!
Testing it now. Say goodbye to Pandora! Shuffle for playlists works great too
@StealthyMonk - there's nothing specifically coded into this plugin to support remote control apps. I don't use any remote control apps myself but my guess is that you'll be able to use the remote app's "standard remote mode" just fine with the plugin, but I doubt if any "library browsing" capabilities of the remote app will work with the Rdio plugin.

Nice idea though, will see if this is possible.
Thanks for reply a&w! I guess I wasnt very specific but your answer covered it nonetheless. I was referring to the library browsing side of things-I have my pc downstairs as a music server and rdio access from upstairs is my last piece of the puzzle. Thanks again for the reply/add-on!
help I am getting the following error
I am on eden ATV2 , clean insall today
Thanks all

14:49:00 T:121094144 NOTICE: CommonFunctions-1.2.0
14:49:01 T:121094144 NOTICE: /var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.audio.rdio/
14:49:01 T:121094144 NOTICE: Rdio: Executing Rdio 1.6.0 addon operation main with params {'mode': 'main'}
14:49:01 T:121094144 NOTICE: Rdio: Authenticating to Rdio
14:49:02 T:121094144 NOTICE: Rdio: Authorizing OAuth token https://www.rdio.com/oauth/authorize/?oa...352rqsqa89
14:49:02 T:121094144 NOTICE: Rdio: Logging in to Rdio using URL https://www.rdio.com/signin/?next=/oauth...352rqsqa89
14:49:03 T:121094144 NOTICE: Rdio: Approving oauth token 8ztuk653y5vktu352rqsqa89 with pin 9022
14:49:04 T:121094144 NOTICE: Rdio: Verifying OAuth token on Rdio API with pin 9022
14:49:04 T:121094144 NOTICE: Rdio: Extracting Rdio cookie
14:49:04 T:121094144 NOTICE: Rdio: Getting playback token
14:49:05 T:121094144 NOTICE: Rdio: Getting current user
14:49:05 T:121094144 NOTICE: Rdio: Successfully authenticated to Rdio
14:49:05 T:121094144 NOTICE: Rdio: Executed Rdio addon operation main in 2243 ms
14:49:08 T:115580928 NOTICE: -->Python Interpreter Initialized<--
14:49:10 T:115580928 NOTICE: CommonFunctions-1.2.0
14:49:10 T:115580928 NOTICE: /var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.audio.rdio/
14:49:10 T:115580928 NOTICE: Rdio: Executing Rdio 1.6.0 addon operation playlists with params {'mode': 'playlists'}
14:49:21 T:115580928 ERROR: Error Type: <class 'rdioapi.RdioProtocolException'>
14:49:21 T:115580928 ERROR: Error Contents: RdioProtocolException 401: <h1>401 Duplicate Nonce</h1>
14:49:21 T:115580928 ERROR: Traceback (most recent call last):
File "/var/mobile/Library/Preferences/XBMC/addons/plugin.audio.rdio/rdioplugin.py", line 582, in <module>
XbmcRdioOperation(addon).execute()
File "/var/mobile/Library/Preferences/XBMC/addons/plugin.audio.rdio/rdioplugin.py", line 574, in execute
handler(**self._addon.queries)
File "/var/mobile/Library/Preferences/XBMC/addons/plugin.audio.rdio/rdioplugin.py", line 295, in playlists
playlists = self._rdio_api.call('getPlaylists', extras = 'description')
File "/var/mobile/Library/Preferences/XBMC/addons/plugin.audio.rdio/rdioxbmc.py", line 183, in call
result = self._rdio.call(method, **args)
File "/var/mobile/Library/Preferences/XBMC/addons/plugin.audio.rdio/resources/lib/rdioapi/__init__.py", line 140, in call
raise RdioProtocolException(resp['status'], content)
RdioProtocolException: RdioProtocolException 401: <h1>401 Duplicate Nonce</h1>
14:49:21 T:86966272 ERROR: GetDirectory - Error getting plugin://plugin.audio.rdio/?mode=playlists
14:49:21 T:86966272 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.rdio/?mode=playlists) failed
Looks like it might be a problem with connectivity to Rdio. Can the XBMC box can connect to the internet OK?
checked internet all is fine
Last night installed Beta 1 of Frodo for ATV2
still will not work see below, hope you can fix

10:23:40 T:156332032 NOTICE: -->Python Interpreter Initialized<--
10:23:41 T:109899776 ERROR: Control 50 in window 10501 has been asked to focus, but it can't
10:23:42 T:156332032 NOTICE: CommonFunctions-1.2.0
10:23:43 T:156332032 NOTICE: /var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.audio.rdio/
10:23:43 T:156332032 NOTICE: Rdio: Executing Rdio 1.6.0 addon operation main with params {'mode': 'main'}
10:23:43 T:156332032 NOTICE: Rdio: Executed Rdio addon operation main in 19 ms
10:23:45 T:160272384 NOTICE: -->Python Interpreter Initialized<--
10:23:47 T:160272384 NOTICE: CommonFunctions-1.2.0
10:23:48 T:160272384 NOTICE: /var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.audio.rdio/
10:23:48 T:160272384 NOTICE: Rdio: Executing Rdio 1.6.0 addon operation artists_in_collection with params {'mode': 'artists_in_collection'}
10:24:12 T:160272384 NOTICE: Rdio: Executed Rdio addon operation artists_in_collection in 19915 ms
10:24:39 T:160272384 NOTICE: -->Python Interpreter Initialized<--
10:24:41 T:160272384 NOTICE: CommonFunctions-1.2.0
10:24:41 T:160272384 NOTICE: /var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.audio.rdio/
10:24:41 T:160272384 NOTICE: Rdio: Executing Rdio 1.6.0 addon operation albums_for_artist_in_collection with params {'mode': 'albums_for_artist_in_collection', 'key': 's8377', 'artist': 'r85813'}
10:24:46 T:160272384 NOTICE: Rdio: Executed Rdio addon operation albums_for_artist_in_collection in 3802 ms
10:24:51 T:160272384 NOTICE: -->Python Interpreter Initialized<--
10:24:54 T:160272384 NOTICE: CommonFunctions-1.2.0
10:24:55 T:160272384 NOTICE: /var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.audio.rdio/
10:24:55 T:160272384 NOTICE: Rdio: Executing Rdio 1.6.0 addon operation artist with params {'mode': 'artist', 'key': 'r85813'}
10:24:55 T:160272384 NOTICE: Rdio: Executed Rdio addon operation artist in 52 ms
10:24:58 T:162402304 NOTICE: -->Python Interpreter Initialized<--
10:25:00 T:162402304 NOTICE: CommonFunctions-1.2.0
10:25:00 T:162402304 NOTICE: /var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.audio.rdio/
10:25:00 T:162402304 NOTICE: Rdio: Executing Rdio 1.6.0 addon operation play_artist_radio with params {'mode': 'play_artist_radio', 'key': 'r85813'}
10:25:01 T:160272384 NOTICE: -->Python Interpreter Initialized<--
10:25:04 T:160272384 NOTICE: CommonFunctions-1.2.0
10:25:04 T:160272384 NOTICE: /var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.audio.rdio/
10:25:04 T:160272384 NOTICE: Rdio: Executing Rdio 1.6.0 addon operation play_artist_radio_track with params {'baseArtist': 'r85813', 'play': 'True', 'mode': 'play_artist_radio_track', 'key': 't1280420', 'artist': 'r85813'}
10:25:05 T:109899776 ERROR: CAudioDecoder: Unable to Init Codec while loading file rtmpe://fms.25AC.edgecastcdn.net:1935/8025AC/media.rd.io app=8025AC/media.rd.io playpath=mp3Confused/music/f/3/0/1/f3011b5575134ea6814447e38a37eea4/full-192?80e2d2f4276a71565175a1c15d3f54afa75b3b2c9d58dd8727a70e9d1c68bb82d0a74e13eb3ed59c4c6237ca5f15394a43638d0a8c685f45ffafebe613d209ca8981aca4ecdfd71cbe6e3ad53e1214c4deea63cfc544eefe65dfa656b6d0907ceec5c4b3ec069d8598f4c17a97bbfe2441d25867c7d6705e6e01309431
10:25:05 T:109899776 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
10:25:05 T:109899776 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.audio.rdio/?baseArtist=r85813&play=True&mode=play_artist_radio_track&key=t1280420&artist=r85813]
10:25:05 T:162402304 NOTICE: Rdio: Executed Rdio addon operation play_artist_radio in 4194 ms
10:25:06 T:160272384 NOTICE: Rdio: Executed Rdio addon operation play_artist_radio_track in 1286 ms
10:25:06 T:109899776 ERROR: GetDirectory - Error getting plugin://plugin.audio.rdio/?key=r85813&mode=play_artist_radio
10:25:06 T:109899776 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.rdio/?key=r85813&mode=play_artist_radio) failed
10:25:33 T:160272384 NOTICE: -->Python Interpreter Initialized<--
10:25:35 T:160272384 NOTICE: CommonFunctions-1.2.0
10:25:36 T:160272384 NOTICE: /var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.audio.rdio/
10:25:36 T:160272384 NOTICE: Rdio: Executing Rdio 1.6.0 addon operation play_artist_radio with params {'mode': 'play_artist_radio', 'key': 'r85813'}
10:25:37 T:161869824 NOTICE: -->Python Interpreter Initialized<--
10:25:39 T:161869824 NOTICE: CommonFunctions-1.2.0
10:25:39 T:161869824 NOTICE: /var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.audio.rdio/
10:25:39 T:161869824 NOTICE: Rdio: Executing Rdio 1.6.0 addon operation play_artist_radio_track with params {'baseArtist': 'r85813', 'play': 'True', 'mode': 'play_artist_radio_track', 'key': 't1280420', 'artist': 'r85813'}
10:25:40 T:109899776 ERROR: CAudioDecoder: Unable to Init Codec while loading file rtmpe://fms.25AC.edgecastcdn.net:1935/8025AC/media.rd.io app=8025AC/media.rd.io playpath=mp3Confused/music/f/3/0/1/f3011b5575134ea6814447e38a37eea4/full-192?80e2d2f4276a71565175a1c15d3f54afa75b3b2c9d58dd8727a70e9d1c68bb82dca24e13eb3ed59c7828550afe0cc25880b758eb585620964d1a4e0d3a29359dd7c44784907ab99eb65b40567893b21e8c495a426ab2fe73ab239959000bb777bc2faac4e7d8a80026d203aaaea050f7a4e06bf109891fd795e0c1b281
10:25:40 T:109899776 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
10:25:40 T:109899776 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.audio.rdio/?baseArtist=r85813&play=True&mode=play_artist_radio_track&key=t1280420&artist=r85813]
10:25:41 T:161869824 NOTICE: Rdio: Executed Rdio addon operation play_artist_radio_track in 1310 ms
10:25:42 T:160272384 NOTICE: Rdio: Executed Rdio addon operation play_artist_radio in 5199 ms
10:25:42 T:109899776 ERROR: GetDirectory - Error getting plugin://plugin.audio.rdio/?key=r85813&mode=play_artist_radio
10:25:42 T:109899776 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.rdio/?key=r85813&mode=play_artist_radio) failed
  • 1
  • 8
  • 9
  • 10(current)
  • 11
  • 12
  • 28

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Rdio Music Addon2