Transport API: expose remove_from_queue and clear_queue

The Transport API v2 added subscribe_queue and play_from_here, which is great for reading the play queue and jumping within it. The one thing extensions still cannot do is edit the queue.

Could the Transport API expose:

  • remove_from_queue(zone_or_output_id, queue_item_id) to remove a single item
    • clear_queue(zone_or_output_id) to clear the queue (or a “clear after current” variant)
      • optionally move_queue_item(…) for reordering
    • The Roon apps already support per-item Remove and Clear Queue, so the capability exists in the core; it just is not reachable from an extension.
  • The use case: an extension that builds or curates a queue (a discovery or automation tool) sometimes ends up with one wrong entry, for example Roon’s search resolving a title to a karaoke or 8-bit cover. Today the only options are to skip it once it reaches playback, or to destructively replace the whole queue with “Play Now”. A targeted remove would let an extension fix a single bad entry without disturbing the rest of the queue.

Reading is already possible via subscribe_queue, so the queue_item_id needed for a remove is already in hand. This feels like a natural completion of the v2 queue work. Thanks for considering it.