Copyright | (c) Joachim Fasting 2012 |
---|---|
License | MIT |
Maintainer | joachifm@fastmail.fm |
Stability | stable |
Portability | unportable |
Safe Haskell | None |
Language | Haskell2010 |
The music database.
Synopsis
- count :: Query -> Command Count
- find :: Query -> Command [Song]
- findAdd :: Query -> Command ()
- list :: Metadata -> Query -> Command [Value]
- listAll :: Path -> Command [Path]
- listAllInfo :: Path -> Command [LsResult]
- lsInfo :: Path -> Command [LsResult]
- readComments :: Path -> Command [(String, String)]
- search :: Query -> Command [Song]
- searchAdd :: Query -> Command ()
- searchAddPl :: PlaylistName -> Query -> Command ()
- update :: Maybe Path -> Command Integer
- rescan :: 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 -> Query -> Command [Value] Source #
List all tags of the specified type of songs that that satisfy the query.
Since: 0.10.0.0
readComments :: Path -> Command [(String, String)] Source #
Read comments from the file at the specified path.
searchAddPl :: PlaylistName -> Query -> Command () Source #
Like searchAdd
but adds results to the named playlist.