Persistent named playlists stored in the database, with folder support.
Persistent named playlists stored in the database, with folder support.
(add-tracks client playlist-id track-ids)Append tracks (by id) to a saved playlist.
Append tracks (by id) to a saved playlist.
(create client {:keys [name] :as input})Create a saved playlist. input keys: :name (required), :description,
:image, :folder-id, :track-ids. Returns the new playlist.
Create a saved playlist. `input` keys: `:name` (required), `:description`, `:image`, `:folder-id`, `:track-ids`. Returns the new playlist.
(create-folder client name)Create a new folder. Returns the folder map.
Create a new folder. Returns the folder map.
(delete-folder client id)Delete a folder by id.
Delete a folder by id.
(get client id)Single playlist by id, or nil.
Single playlist by id, or `nil`.
(list client)(list client folder-id)List saved playlists, optionally filtered by folder.
List saved playlists, optionally filtered by folder.
(play client playlist-id)Load a saved playlist into the queue and start playing.
Load a saved playlist into the queue and start playing.
(remove-track client playlist-id track-id)Remove a single track from a saved playlist.
Remove a single track from a saved playlist.
(track-ids client playlist-id)Ordered track ids for a saved playlist.
Ordered track ids for a saved playlist.
(update client id {:keys [name] :as input})Update a saved playlist's metadata. input: :name (required),
:description, :image, :folder-id. Returns the client.
Update a saved playlist's metadata. `input`: `:name` (required), `:description`, `:image`, `:folder-id`. Returns the client.
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 |