Module Mpd.Stored_playlists_lwt
val listplaylists : Client_lwt.t -> (string list, string) Stdlib.result Lwt.t
Print a list of the playlist names.
val load : Client_lwt.t -> string -> ?range:(int * int) -> unit -> Protocol.response Lwt.t
Load the playlist into the current queue. Playlist plugins are supported. A range may be specified to load only a part of the playlist.
val playlistadd : Client_lwt.t -> string -> string -> Protocol.response Lwt.t
Add URI to the playlist NAME.m3u. NAME.m3u will be created if it does not exist.
val playlistclear : Client_lwt.t -> string -> Protocol.response Lwt.t
Clear the playlist NAME.m3u.
val playlistdelete : Client_lwt.t -> string -> int -> Protocol.response Lwt.t
Delete SONGPOS from the playlist NAME.m3u.
val playlistmove : Client_lwt.t -> string -> int -> int -> Protocol.response Lwt.t
Move the song at position FROM in the playlist NAME.m3u to the position TO.
val rename : Client_lwt.t -> string -> string -> Protocol.response Lwt.t
Rename the playlist NAME.m3u to NEW_NAME.m3u.
val rm : Client_lwt.t -> string -> Protocol.response Lwt.t
Remove the playlist NAME.m3u from the playlist directory.
val save : Client_lwt.t -> string -> Protocol.response Lwt.t
Save the current playlist to NAME.m3u in the playlist directory.