beefweb icon indicating copy to clipboard operation
beefweb copied to clipboard

Add play queue manipulation APIs

Open hyperblast opened this issue 8 years ago • 5 comments

hyperblast avatar Aug 16 '17 20:08 hyperblast

Any updates on this?

g-plane avatar Oct 24 '18 04:10 g-plane

Unfortunately no

hyperblast avatar Oct 24 '18 08:10 hyperblast

Is there no way to add song into queue by api?

neomasterr avatar Apr 03 '19 17:04 neomasterr

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.

cozyGalvinism avatar Oct 29 '20 22:10 cozyGalvinism

🤞 For that feature

ovROG avatar Mar 31 '24 03:03 ovROG