windows - Add song to playing queue in Spotify Desktop -


i'm trying queue song spotify desktop (windows 8.1) making use of spotify remote control bridge. want song appended after current playing track.

due restrictions spotify applies api, there's no public documentation , can't in contact developers. 1 of posts i've been following understand how api works: https://medium.com/@b3ngr33ni3r/hijacking-spotify-web-control-5014b0a1a360

i've played song https://xxxx.spotilocal.com/remote/play.json?oauth=xxxx&csrf=xxxx&uri=xxxx, jumps playing queue instantly , replaces entirely.

when call https://xxxx.spotilocal.com/remote/queue.json?oauth=xxxx&csrf=xxxx&uri=xxxx returns "method not implemented". need special oauth token? or csrf token?

queue.json endpoint

this endpoint appeared in js-library, although never worked , it's, said, not implemented. doesn't matter arguments supply.

play.json endpoint

so, endpoint more interesting. first of all, in past use following parameter ?action=queue add song queue, sadly doesn't work latest versions whatever reason. thing can supply play-context ?context. context tells spotify play next (like setting new queue). if want play track of album , simultaneously want album finish after specific song ends, can supply ?context=spotify:album:albumid. there more information in this issue of library.

summarizing, can't add songs spotify queue, add own context used as future queue

although nice know why spotify isn't releasing documentation local-api.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -