a) the API knows my location based on my oauth credentials, and uses
that to set canStream
b) the API doesn't know my location and canStream is always set
relative to the US
c) I am mistaken about streamability being geographically dependent
Any insight, help would be helpful. My apologies if I missed an
explanation of this in the docs.
//Ed
{
"status": "ok",
"result": {
"person_count": 0,
"track_count": 12,
"album_count": 1,
"playlist_count": 0,
"results": [
{
"baseIcon": "album/9/3/3/000000000009c339/square-200.jpg",
"releaseDate": "2001-08-22",
"artistUrl": "/artist/Stereolab/",
"duration": 3779,
"isClean": false,
"shortUrl": "http://rd.io/x/Qj5LnHo",
"canStream": false,
"embedUrl": "http://rd.io/e/Qj5LnHo",
"type": "a",
"price": "None",
"key": "a639801",
"icon":
"http://media.rd.io/album/9/3/3/000000000009c339/square-200.jpg",
"canSample": false,
"name": "Sound - Dust",
"isExplicit": false,
"artist": "Stereolab",
"url": "/artist/Stereolab/album/Sound_-_Dust/",
"artistKey": "r88792",
"length": 12,
"trackKeys": [
"t7633363",
"t7633369",
"t7633383",
"t7633392",
"t7633401",
"t7633408",
"t7633415",
"t7633426",
"t7633439",
"t7633447",
"t7633455",
"t7633466"
],
"canTether": false,
"displayDate": "Aug 22, 2001"
}
],
"artist_count": 0,
"number_results": 1
}
}
I actually confuse myself about the meaning of canStream from time to
time. All of the right properties (canStream, canDownload,
canDownloadAlbumOnly, canSample and canTether) describe the rights
that Rdio has for the region that the API call is coming from. If the
API call is authenticated and the authenticated user is a subscriber
then the region will be based on their billing region, so if they're
using a US credit card then they're a US user. Otherwise the region is
based on their IP address.
So if you want to find if something is streamable in the US there are two ways:
* make the call as a US subscriber
* make the call from a US IP address
Does that help answer your question?
Ian
> --
> You received this message because you are subscribed to the Google Groups "Rdio API" group.
> To post to this group, send email to rdio...@googlegroups.com.
> To unsubscribe from this group, send email to rdio-api+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/rdio-api?hl=en.
>
It does yes, thanks very much!
//Ed
--
You received this message because you are subscribed to the Google Groups "Rdio API" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rdio-api/-/3WxeLGIKpJ4J.
To post to this group, send email to rdio...@googlegroups.com.
To unsubscribe from this group, send email to rdio-api+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rdio-api?hl=en.
So if you want to find if something is streamable in the US there are two ways:
* make the call as a US subscriber
* make the call from a US IP address
> To unsubscribe from this group, send email to rdio-api+unsubscribe@googlegroups.com.
> To unsubscribe from this group, send email to rdio-api+unsubscribe@googlegroups.com.
> To unsubscribe from this group, send email to rdio-api+unsubscribe@googlegroups.com.