Skip to content

Queue and Playlists

Queue changes are quick. Playlist changes are durable, so broad writes should preview first.

Terminal window
spotuify queue
spotuify queue --format json
Terminal window
spotuify queue add spotify:track:4uLU6hMCjMI75M1A2tKUQC

Add by search:

Terminal window
spotuify queue add --search "never too much"

The TUI append behavior is the same product rule: queueing a track appends one URI; queueing a playlist or album expands it to playable tracks and appends them. It does not replace the current queue.

Terminal window
spotuify queue

The queue lives on the active Spotify session, so there has to be one. When nothing is playing, spotuify plays the first selected track on the embedded device to start a session, then queues the rest, instead of failing with NO_ACTIVE_DEVICE:

Terminal window
spotuify queue add --search "never too much" # idle → it starts playing

What you get: the first item playing on spotuify-hume, any remaining selections queued behind it. Once something is playing, queue add appends as usual.

In the TUI, Enter replaces the queue with the item you picked and starts playback. e appends. A toast after Enter reminds you of the alternative:

Playing Wonderwall (queue replaced · e to enqueue next time)

If you wanted to append, Esc dismisses the toast, then re-select and press e. The replaced queue can also be restored with u (undo); see Architecture.

Terminal window
spotuify playlists
spotuify playlists --format ids
Terminal window
spotuify playlist tracks "Quiet Storm" --format jsonl
Terminal window
spotuify playlist play "Quiet Storm"
Terminal window
spotuify playlist add "Quiet Storm" spotify:track:4uLU6hMCjMI75M1A2tKUQC --dry-run

In the TUI, press a or A on a selected item. A playlist picker opens; use Space to select one or more playlists, then Enter to add.

Terminal window
spotuify playlist add "Quiet Storm" spotify:track:4uLU6hMCjMI75M1A2tKUQC --dry-run

Commit only after the preview:

Terminal window
spotuify playlist add "Quiet Storm" spotify:track:4uLU6hMCjMI75M1A2tKUQC --yes
Terminal window
spotuify playlist plan "exile and returning home" --format json > plan.json
spotuify resolve-tracks --from plan.json --format jsonl > candidates.jsonl
spotuify playlist create "Exile and Return" --from candidates.jsonl --dry-run

After approval:

Terminal window
spotuify playlist create "Exile and Return" --from candidates.jsonl --yes --format json

What you get: a receipt with playlist id, playlist URI, playlist name, and added item count.

Terminal window
spotuify playlist create "Exile and Return" --from candidates.jsonl --yes --format json