Selecting Spotify track or album
I'm trying to play a track or source from Spotify but must be passing the wrong data in as I get a success message from the device but nowPlaying states INVALID_SOURCE.
I'm sending "SPOTIFY" as the source.
I'm sending the username (not email address) associated with my Spotify account that matches the sourceAccount from /nowPlaying when I play the track from the SoundTouch app.
I'm sending the location as "spotify:album:uniqueId" or "spotify:track:uniqueId" that I got from NowPlaying/trackID or NowPlaying/ContentItem/location - this is where I think I'm going wrong, can you point me in the right direction?
If I POST this whilst I have the SoundTouch app open on my phone I get an error 3404.