- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Plan: Premium
Country: DK
Device: Spotify on Linux Ubuntu (PC)
My Question or Issue
Hi, I'm playing songs using the Web API like this without issues:
PUT /v1/me/player/play HTTP/1.1
Content-Type: application/json
Authorization: xxxxx
Host: api.spotify.com
Content-Length: 116
{"context_uri": "spotify:album:5ht7ItJgpBH7W6vJ5BqpPr", "offset": {"position": 5},"position_ms": 0}
Is it possible to play a local file (added to a playlist) through the same Web API call by using a different URI e.g. something like:
"spotify:local:Grandmaster+Flash::The+Message:392"
I got that URI format from checking the playlist where the local song was added.
I'm getting http code 400 and the following error message when trying this:
"Invalid track uri: spotify:local:Grandmaster+Flash::The+Message:392"
Regards,
Flemming
Solved! Go to Solution.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page