Add play queue manipulation APIs
Any updates on this?
Unfortunately no
Is there no way to add song into queue by api?
I added mediocre support for foobar2000 in my fork on GitLab, if anyone is interested. I can't really write efficient C++ code though, sorry :/ Been ages since I wrote stuff with it and it resulted in a f ton of commits until I finally got it working.
So uh... please do it better than what I did: https://gitlab.com/cozyGalvinism/beefweb
Endpoint: api/queue
GET /: Get the current queue
POST /add/:plref/:plitem: Adds song plitem from playlist plref to the queue
POST /remove: Removes the songs specified in the body (I don't remember the format for the items though :/ I just know it's integers)
POST /move/:index: Moves the song in the queue at index to the top of the queue
This is already actively used by a YouTube radio channel without any issues.
🤞 For that feature