Module Mpd.Stored_playlists
val listplaylists : Client.t -> (string list, string) Stdlib.resultPrint a list of the playlist names.
val load : Client.t -> string -> ?range:(int * int) -> unit -> Protocol.responseLoad 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.t -> string -> string -> Protocol.responseAdd URI to the playlist NAME.m3u. NAME.m3u will be created if it does not exist.
val playlistclear : Client.t -> string -> Protocol.responseClear the playlist NAME.m3u.
val playlistdelete : Client.t -> string -> int -> Protocol.responseDelete SONGPOS from the playlist NAME.m3u.
val playlistmove : Client.t -> string -> int -> int -> Protocol.responseMove the song at position FROM in the playlist NAME.m3u to the position TO.
val rename : Client.t -> string -> string -> Protocol.responseRename the playlist NAME.m3u to NEW_NAME.m3u.
val rm : Client.t -> string -> Protocol.responseRemove the playlist NAME.m3u from the playlist directory.
val save : Client.t -> string -> Protocol.responseSave the current playlist to NAME.m3u in the playlist directory.