clangen / musikcube

a cross-platform, terminal-based music player, audio engine, metadata indexer, and server in c++
https://musikcube.com
BSD 3-Clause "New" or "Revised" License
4.18k stars 295 forks source link

API-access to the play queue? #652

Open ScuttleSE opened 9 months ago

ScuttleSE commented 9 months ago

Is there a way to remove tracks from the play queue using the API?

I see that I can add a track with the play_at_index function, but an api-call to remove a track from the queue seems to be missing.

I can replace the entire queue, but that interrupts the currently playing song.

ScuttleSE commented 9 months ago

After some experimenting, it seems like the play queue is not manipulable at all, except replacing it completely. Would nice with a way to add/remove entries in the queue using the API, just like you can do in the local client.