Copyright | (c) Joachim Fasting 2012 |
---|---|
License | MIT |
Maintainer | joachifm@fastmail.fm |
Stability | stable |
Portability | unportable |
Safe Haskell | None |
Language | Haskell2010 |
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] Source #
List song items in the playlist.
listPlaylistInfo :: PlaylistName -> Command [Song] Source #
List song items in the playlist with metadata.
listPlaylists :: Command [PlaylistName] Source #
Get a list of stored playlists.
load :: PlaylistName -> Command () Source #
Load playlist into the current queue.
playlistAdd :: PlaylistName -> Path -> Command () Source #
Add a database path to the named playlist.
playlistClear :: PlaylistName -> Command () Source #
Clear the playlist.
playlistDelete :: PlaylistName -> Position -> Command () Source #
Delete the item at the given position from the playlist.
playlistMove :: PlaylistName -> Id -> Position -> Command () Source #
Move a song to a new position within the playlist.
rename :: PlaylistName -> PlaylistName -> Command () Source #
Rename the playlist.
rm :: PlaylistName -> Command () Source #
Remove the playlist.
save :: PlaylistName -> Command () Source #
Save current queue to the named playlist.