Stability | alpha |
---|---|
Maintainer | Joachim Fasting <joachim.fasting@gmail.com> |
Safe Haskell | None |
Extensions and shortcuts to the standard MPD command set.
- updateId :: MonadMPD m => [Path] -> m Integer
- toggle :: MonadMPD m => m ()
- addMany :: MonadMPD m => PlaylistName -> [Path] -> m ()
- listArtists :: MonadMPD m => m [Artist]
- listAlbums :: MonadMPD m => Maybe Artist -> m [Album]
- listAlbum :: MonadMPD m => Artist -> Album -> m [Song]
- getPlaylist :: MonadMPD m => m [Song]
- volume :: MonadMPD m => Int -> m ()
Documentation
addMany :: MonadMPD m => PlaylistName -> [Path] -> m ()Source
Add a list of songs/folders to a playlist.
Should be more efficient than running add
many times.
listArtists :: MonadMPD m => m [Artist]Source
Delete a list of songs from a playlist.
If there is a duplicate then no further songs will be deleted, so
take care to avoid them (see prune
for this).
List the artists in the database.
listAlbums :: MonadMPD m => Maybe Artist -> m [Album]Source
List the albums in the database, optionally matching a given artist.
listAlbum :: MonadMPD m => Artist -> Album -> m [Song]Source
List the songs in an album of some artist.
getPlaylist :: MonadMPD m => m [Song]Source
Retrieve the current playlist.
Equivalent to playlistinfo Nothing
.