diff --git a/frontend/bindings/yellowjacket/backend/queue/queue.ts b/frontend/bindings/yellowjacket/backend/queue/queue.ts index 5200a95..c6663aa 100644 --- a/frontend/bindings/yellowjacket/backend/queue/queue.ts +++ b/frontend/bindings/yellowjacket/backend/queue/queue.ts @@ -56,6 +56,16 @@ export function CycleRepeat(): $CancellablePromise { return $Call.ByID(3510519482); } +/** + * DropSourceForPlaylist clears the queue's "Playing from" label when + * its source playlist is deleted. A link back to a playlist that no + * longer exists is worse than none, and the label otherwise survives + * the deletion until the next SetQueue (#249). + */ +export function DropSourceForPlaylist(playlistID: number): $CancellablePromise { + return $Call.ByID(1435106374, playlistID); +} + /** * EmitCurrentState emits the current queue state to the frontend. * This is called after the frontend DOM is ready.