142West / Shots-Alarm

0 stars 0 forks source link

No Spotify context URI from track playing in "Liked Songs" #2

Open aflynn73 opened 4 years ago

aflynn73 commented 4 years ago

If Shots is activated while the user is playing a track from "Liked Songs," no spotify context URI is provided (ie: album, playlist, etc.). After cancellation, the alarm successfully returns to the previously playing track and position, but because no context URI was provided, it plays the track without context, thus deleting the user's queue, if one was present.

aflynn73 commented 4 years ago

This may not be resolvable, as there is no Spotify API call that will result in a context URI for "Liked Songs." There is a way to add a track to the user's queue, but only at the end, and there is no way to read the user's queue.