Stored playlists

listplaylist {NAME}

Lists the files in the playlist NAME.m3u.

listplaylistinfo {NAME}

Lists songs in the playlist NAME.m3u.

listplaylists

Prints a list of the playlist directory.

After each playlist name the server sends its last modification time as attribute "Last-Modified" in ISO 8601 format. To avoid problems due to clock differences between clients and the server, clients should not compare this value with their local clock.

load {NAME}

Loads the playlist NAME.m3u from the playlist directory.

playlistadd {NAME} {URI}

Adds URI to the playlist NAME.m3u.

NAME.m3u will be created if it does not exist.

playlistclear {NAME}

Clears the playlist NAME.m3u.

playlistdelete {NAME} {SONGPOS}

Deletes SONGPOS from the playlist NAME.m3u.

playlistmove {NAME} {SONGID} {SONGPOS}

Moves SONGID in the playlist NAME.m3u to the position SONGPOS.

rename {NAME} {NEW_NAME}

Renames the playlist NAME.m3u to NEW_NAME.m3u.

rm {NAME}

Removes the playlist NAME.m3u from the playlist directory.

save {NAME}

Saves the current playlist to NAME.m3u in the playlist directory.