Feature request: Control queue/state via the companion server API
Momo8289 opened this issue · comments
Consent
- I verified that there is no open/closed issue for the same subject.
- I understand that YTMDesktop have NO affiliation with Google or YouTube
Feature
The ability to add and remove songs and lists of songs to the playing queue via the API. Looking at the wiki, it seems like this was possible at some point in the past (guessing in v1) using the "Remote Control API", however it appears this functionality hasn't been implemented in v2, and I can't find any issues or PRs mentioning it.
Solution
API endpoints in the companion server to add and remove songs from the queue, ideally by song ID and/or position in the queue(i.e: remove song with ID abcd
from queue, remove song at position 6 in queue, etc). There could also be some convenience endpoints to load a playlist, clear the queue, etc.
Alternatives
No response
Anything else?
As you showed before, the old API only had the ability to SELECT a given thing in the queue rather than Add / remove songs.
but a worth while feature for the right implimentation.