Live playback queue management — what's currently playing and what's
queued up next. For persistent named playlists see rockbox.saved-playlists.
Live playback queue management — what's currently playing and what's queued up next. For persistent named playlists see `rockbox.saved-playlists`.
(amount client)Number of tracks in the active queue.
Number of tracks in the active queue.
(clear client)Remove every track from the queue.
Remove every track from the queue.
(create client name paths)Create and start a new temporary queue from a list of paths. Replaces the current queue.
Create and start a new temporary queue from a list of paths. Replaces the current queue.
(current client)The active queue: :tracks :amount :index :max-playlist-size ....
The active queue: `:tracks :amount :index :max-playlist-size ...`.
(insert-album client album-id)(insert-album client album-id position)Append all tracks from an album to the queue.
Append all tracks from an album to the queue.
(insert-directory client directory)(insert-directory client directory position)(insert-directory client directory position playlist-id)Insert a directory's contents (recursively) into the queue.
Insert a directory's contents (recursively) into the queue.
(insert-tracks client paths)(insert-tracks client paths position)(insert-tracks client paths position playlist-id)Insert track paths (or IDs) into the queue.
position is a rockbox.types/insert-position keyword (:next :after-current :last :first) or the underlying integer; defaults to :next.
Optional :playlist-id targets a specific playlist instead of the active queue.
Insert track paths (or IDs) into the queue. `position` is a `rockbox.types/insert-position` keyword (`:next :after-current :last :first`) or the underlying integer; defaults to `:next`. Optional `:playlist-id` targets a specific playlist instead of the active queue.
(remove-track client i)Remove the track at queue index i (0-based).
Remove the track at queue index `i` (0-based).
(resume client)Resume from the saved position.
Resume from the saved position.
(shuffle client)Shuffle the remaining tracks in the queue.
Shuffle the remaining tracks in the queue.
(start client)(start client opts)Start playback of the current queue. Options:
:start-index (int), :elapsed (int), :offset (int).
Start playback of the current queue. Options: `:start-index` (int), `:elapsed` (int), `:offset` (int).
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |