Liking cljdoc? Tell your friends :D

rockbox.playback

Transport controls and one-call play helpers.

(-> client
    (pb/play-album "album-id" {:shuffle true})
    (pb/seek 90000))

Action functions return the client so they compose with ->. Read functions return data.

Transport controls and one-call play helpers.

    (-> client
        (pb/play-album "album-id" {:shuffle true})
        (pb/seek 90000))

Action functions return the client so they compose with `->`. Read
functions return data.
raw docstring

current-trackclj

(current-track client)

Currently playing track as a kebab-case map, or nil when stopped.

Currently playing track as a kebab-case map, or `nil` when stopped.
sourceraw docstring

file-positionclj

(file-position client)

Byte offset into the current file.

Byte offset into the current file.
sourceraw docstring

flush-and-reloadclj

(flush-and-reload client)

Force-reload the current queue from disk.

Force-reload the current queue from disk.
sourceraw docstring

nextclj

(next client)
source

next-trackclj

(next-track client)

Next track in the queue, or nil.

Next track in the queue, or `nil`.
sourceraw docstring

pauseclj

(pause client)
source

playclj

(play client)
(play client {:keys [elapsed offset] :or {elapsed 0 offset 0}})

Resume playback from queued position. Optional :elapsed and :offset.

Resume playback from queued position. Optional `:elapsed` and `:offset`.
sourceraw docstring

play-albumclj

(play-album client album-id)
(play-album client album-id opts)

Play all tracks from an album. Options: :shuffle (bool), :position (int).

Play all tracks from an album. Options: `:shuffle` (bool), `:position` (int).
sourceraw docstring

play-all-tracksclj

(play-all-tracks client)
(play-all-tracks client opts)

Play the entire library. Almost always used with :shuffle true.

Play the entire library. Almost always used with `:shuffle true`.
sourceraw docstring

play-artistclj

(play-artist client artist-id)
(play-artist client artist-id opts)

Play all tracks by an artist. Options: :shuffle, :position.

Play all tracks by an artist. Options: `:shuffle`, `:position`.
sourceraw docstring

play-directoryclj

(play-directory client path)
(play-directory client path opts)

Play every file under a directory. Options: :recurse, :shuffle, :position.

Play every file under a directory. Options: `:recurse`, `:shuffle`, `:position`.
sourceraw docstring

play-liked-tracksclj

(play-liked-tracks client)
(play-liked-tracks client opts)

Play every liked track. Options: :shuffle, :position.

Play every liked track. Options: `:shuffle`, `:position`.
sourceraw docstring

play-playlistclj

(play-playlist client playlist-id)
(play-playlist client playlist-id opts)

Play a saved playlist by id. Options: :shuffle, :position.

Play a saved playlist by id. Options: `:shuffle`, `:position`.
sourceraw docstring

play-trackclj

(play-track client path)

Play a single file by absolute path.

Play a single file by absolute path.
sourceraw docstring

previousclj

(previous client)
source

raw-statusclj

(raw-status client)

Raw integer playback status (firmware enum).

Raw integer playback status (firmware enum).
sourceraw docstring

resumeclj

(resume client)
source

seekclj

(seek client position-ms)

Seek to an absolute position in milliseconds.

Seek to an absolute position in milliseconds.
sourceraw docstring

statusclj

(status client)

Playback status as a keyword: :stopped, :playing, :paused.

Playback status as a keyword: `:stopped`, `:playing`, `:paused`.
sourceraw docstring

stopclj

(stop client)
source

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