getPlaybackToken and authenticate

52 views
Skip to first unread message

Stuart Langridge

unread,
May 18, 2013, 9:11:14 AM5/18/13
to rdio...@googlegroups.com
I'm playing with the Rdio web playback API (the SWF one, not the new beta one, 'cos I haven't asked for access to the new beta one yet), and all seems good; a user can use my app, explore music, play 30 second previews, and if that user is themselves logged in to Rdio, they can play whole songs and those songs playback out of that user's limit of playback time. Hooray, that's the idea.

However, I noticed something intriguing in https://github.com/rdio/hello-web-playback/blob/master/token.js#L30. It says "if you want to do playback as a particular user, pass --authenticate to rdio-call". Does this mean that if I request a getPlaybackToken using rdio-call and I pass --authenticate, that token will be authorised on *my* account -- that is, if a user comes to my web app and explores music, the songs will play back on *my* account, not the user's, and the playback time will be deducted from *my* playback time, not the user's? I'm not sure if that's what the sentence is meant to mean; in particular, having *tried* it, it doesn't seem to work like that, but if what I'm describing is not what is meant, then I don't think I understand at all what passing --authenticate to rdio-call getPlaybackToken is actually *meant* to do. Clarifications are welcome :-)

sil

Devin Sevilla

unread,
May 20, 2013, 4:29:55 PM5/20/13
to rdio...@googlegroups.com
Hi Stuart,

The Web Playback API doesn't let you share your Rdio account with
other users. Each user will need their own Rdio subscription to stream
tracks. The Web Playback API currently uses your rdio.com cookies to
stream full tracks.

I removed that bit of confusing documentation. I'm not sure of the
history of that line, but it definitely wasn't accurate. Thanks for
brining it up!

--
Devin Sevilla
API Engineer, Rdio Inc.
http://rdio.com/people/devin_s/
> --
> You received this message because you are subscribed to the Google Groups
> "Rdio API" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rdio-api+u...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Stuart Langridge

unread,
May 20, 2013, 4:30:57 PM5/20/13
to rdio...@googlegroups.com
Thanks, pal; I appreciate you getting back to me on this. I did think, hm, is it really meant to work like that? :-)

sil



You received this message because you are subscribed to a topic in the Google Groups "Rdio API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rdio-api/PtjHsuKGq8s/unsubscribe?hl=en-US.
To unsubscribe from this group and all its topics, send an email to rdio-api+u...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.





--
New Year's Day --
everything is in blossom!
I feel about average.
   -- Kobayashi Issa
Reply all
Reply to author
Forward
0 new messages