moveInQueue

suspend fun moveInQueue(from: Int, to: Int)

Moves the item at from so that it sits at to in the new order.

The playing item stays the playing item wherever it lands, and nothing is reopened, so this is what a drag in a playlist should call.

Throws

for an index outside the queue.

when nothing is open at all.