I'm trying to get a list of all tracks in a playlist. First I get the key for the playlist itself (using getObjectFromShortCode), and then I use "get" to return the object for that specific playlist, with "tracks" specified in the Extras field.
The odd thing is that this works perfectly for other peoples' playlists (like the one specified by Rdio engineer Kevin Nelson, here:
https://groups.google.com/d/msg/rdio-api/UAJ3_d9HRmI/JGN96pbdmn4J) but not for mine. When I try to pull in the object for one of my playlists, using "get" on the playlist key, I only get the following:
{
"status": "ok",
"result": {
"p12861268": {
"ownerKey": "s3489410",
"name": "Roundup 1",
"url": "/people/csilverman/playlists/12861268/Roundup_1/",
"ownerIcon": "user/no-user-image-square.jpg",
"owner": "Chris Silverman",
"shortUrl": "http://rd.io/x/Qi-GYBc/",
"key": "p12861268",
"ownerUrl": "/people/csilverman/",
"embedUrl": "https://rd.io/e/Qi-GYBc/",
"type": "p"
}
}
}
What am I doing wrong? (I just started experimenting with the Rdio API over the weekend, so there is a very good chance I am probably doing something wrong. I've been at this for a day or two now, though, and I can't see what the problem is.)
- Chris