| |||||||||
| |||||||||
| |||||||||
Description | |||||||||
This module lets you select songs and add/play songs with MPD by filtering them by user-supplied criteria(E.g. ask for an artist, then for the album..) | |||||||||
Synopsis | |||||||||
| |||||||||
Usage | |||||||||
To use this, import the following modules: import XMonad.Prompt.MPD import qualified Network.MPD as MPD You can then use this in a keybinding, to filter first by artist, then by album and add the matching songs: addMatching MPD.withMPD defaultXPConfig [MPD.sgArtist, MPD.sgAlbum] >> return () If you need a password to connect to your MPD or need a different host/port, you can pass a partially applied withMPDEx to the function: addMatching (MPD.withMPDEx "your.host" 666 (return $ Just $ "password")) .. | |||||||||
| |||||||||
Lets the user filter out non-matching with a prompt by supplied criteria. | |||||||||
| |||||||||
Add all selected songs to the playlist if they are not on it. | |||||||||
| |||||||||
Add matching songs and play the first one. | |||||||||
| |||||||||
Allows the user to supply a custom way to connect to MPD (e.g. partially applied withMPDEx). | |||||||||
| |||||||||
Determine playlist position of the song and add it, if it isn't present. | |||||||||
Produced by Haddock version 2.6.0 |