libmpd-0.9.0.9: An MPD client library.

Copyright | (c) Joachim Fasting 2012
License | MIT
Maintainer | joachifm@fastmail.fm
Stability | stable
Portability | unportable
Safe Haskell | None
Language | Haskell2010

Network.MPD.Applicative.StoredPlaylists

Description

Stored playlists.

Synopsis

- listPlaylist :: PlaylistName -> Command [Path]
- listPlaylistInfo :: PlaylistName -> Command [Song]
- listPlaylists :: Command [PlaylistName]
- load :: PlaylistName -> Command ()
- playlistAdd :: PlaylistName -> Path -> Command ()
- playlistClear :: PlaylistName -> Command ()
- playlistDelete :: PlaylistName -> Position -> Command ()
- playlistMove :: PlaylistName -> Id -> Position -> Command ()
- rename :: PlaylistName -> PlaylistName -> Command ()
- rm :: PlaylistName -> Command ()
- save :: PlaylistName -> Command ()

# Documentation

listPlaylist :: PlaylistName -> Command [Path] #

List song items in the playlist.

listPlaylistInfo :: PlaylistName -> Command [Song] #

List song items in the playlist with metadata.

listPlaylists :: Command [PlaylistName] #

Get a list of stored playlists.

load :: PlaylistName -> Command () #

Load playlist into the current queue.

playlistAdd :: PlaylistName -> Path -> Command () #

Add a database path to the named playlist.

playlistClear :: PlaylistName -> Command () #

Clear the playlist.

playlistDelete :: PlaylistName -> Position -> Command () #

Delete the item at the given position from the playlist.

playlistMove :: PlaylistName -> Id -> Position -> Command () #

Move a song to a new position within the playlist.

rename :: PlaylistName -> PlaylistName -> Command () #

Rename the playlist.

rm :: PlaylistName -> Command () #

Remove the playlist.

save :: PlaylistName -> Command () #

Save current queue to the named playlist.