feat(player): docked queue overlay with reorder, remove, jump, and clear-upcoming
Add a Queue toggle to the docked player bar opening a centered editable queue overlay. New additive QueueService.ClearUpcoming keeps the playing track while dropping the rest. Current track is non-removable.
This commit is contained in:
@@ -138,4 +138,15 @@ public interface IQueueService
|
||||
|
||||
/// <summary>Empties the queue and resets the position. Does not stop the player.</summary>
|
||||
void Clear();
|
||||
|
||||
/// <summary>
|
||||
/// Empties the up-next while keeping the currently-playing track: removes every item except
|
||||
/// <see cref="Current"/>, leaving it as the sole remaining item at <see cref="CurrentIndex"/> == 0,
|
||||
/// and re-emits <see cref="QueueChanged"/>. Unlike <see cref="Clear"/> (which empties everything and
|
||||
/// goes dormant), this preserves what is playing — the player is never stopped and the current track
|
||||
/// stays queued, so playback continues uninterrupted while the rest of the queue is discarded.
|
||||
/// Interop-free; safe during prerender. No-op (no throw, no <see cref="QueueChanged"/>) when the queue
|
||||
/// is empty/dormant or already holds only the current track.
|
||||
/// </summary>
|
||||
void ClearUpcoming();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user