|
| Network.MPD.Commands.Extensions | | Stability | alpha | | Maintainer | Joachim Fasting <joachim.fasting@gmail.com> |
|
|
|
| Description |
| Extensions and shortcuts to the standard MPD command set.
|
|
| Synopsis |
|
|
|
| Documentation |
|
| updateId :: MonadMPD m => [Path] -> m Integer |
| Like update, but returns the update job id.
|
|
| toggle :: MonadMPD m => m () |
| Toggles play/pause. Plays if stopped.
|
|
| addMany :: MonadMPD m => PlaylistName -> [Path] -> m () |
| Add a list of songs/folders to a playlist.
Should be more efficient than running add many times.
|
|
| listArtists :: MonadMPD m => m [Artist] |
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] |
| List the albums in the database, optionally matching a given
artist.
|
|
| listAlbum :: MonadMPD m => Artist -> Album -> m [Song] |
| List the songs in an album of some artist.
|
|
| getPlaylist :: MonadMPD m => m [Song] |
| Retrieve the current playlist.
Equivalent to playlistinfo Nothing.
|
|
| volume :: MonadMPD m => Int -> m () |
| Increase or decrease volume by a given percent, e.g.
'volume 10' will increase the volume by 10 percent, while
'volume (-10)' will decrease it by the same amount.
|
|
| Produced by Haddock version 2.7.2 |