| Copyright | (c) Joachim Fasting 2012 |
|---|---|
| License | MIT |
| Maintainer | joachifm@fastmail.fm |
| Stability | stable |
| Portability | unportable |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.MPD.Applicative.Database
Description
The music database.
- count :: Query -> Command Count
- find :: Query -> Command [Song]
- findAdd :: Query -> Command ()
- list :: Metadata -> Maybe Artist -> Command [Value]
- listAll :: Path -> Command [Path]
- lsInfo' :: Command -> Path -> Command [LsResult]
- listAllInfo :: Path -> Command [LsResult]
- lsInfo :: Path -> Command [LsResult]
- search :: Query -> Command [Song]
- searchAdd :: Query -> Command ()
- searchAddPl :: PlaylistName -> Query -> Command ()
- update :: Maybe Path -> Command Integer
- rescan :: Maybe Path -> Command Integer
- update_ :: Command -> Maybe Path -> Command Integer
Documentation
count :: Query -> Command Count Source
Get a count of songs and their total playtime that exactly match the query.
list :: Metadata -> Maybe Artist -> Command [Value] Source
Lists all tags of the specified type.
Note that the optional artist value is only ever used if the
metadata type is Album, and is then taken to mean that the albums
by that artist be listed.
searchAdd :: Query -> Command () Source
Like search but adds the results to the current playlist.
Since MPD 0.17.
searchAddPl :: PlaylistName -> Query -> Command () Source
Like searchAdd but adds results to the named playlist.
Since MPD 0.17.