Liking cljdoc? Tell your friends :D

rockbox.playlist

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`.
raw docstring

amountclj

(amount client)

Number of tracks in the active queue.

Number of tracks in the active queue.
sourceraw docstring

clearclj

(clear client)

Remove every track from the queue.

Remove every track from the queue.
sourceraw docstring

createclj

(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.
sourceraw docstring

currentclj

(current client)

The active queue: :tracks :amount :index :max-playlist-size ....

The active queue: `:tracks :amount :index :max-playlist-size ...`.
sourceraw docstring

insert-albumclj

(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.
sourceraw docstring

insert-directoryclj

(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.
sourceraw docstring

insert-tracksclj

(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.
sourceraw docstring

remove-trackclj

(remove-track client i)

Remove the track at queue index i (0-based).

Remove the track at queue index `i` (0-based).
sourceraw docstring

resumeclj

(resume client)

Resume from the saved position.

Resume from the saved position.
sourceraw docstring

shuffleclj

(shuffle client)

Shuffle the remaining tracks in the queue.

Shuffle the remaining tracks in the queue.
sourceraw docstring

startclj

(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).
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close