| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Monatone.Common
Synopsis
- detectFormat :: ByteString -> Maybe AudioFormat
- parseMetadata :: OsPath -> IO (Either ParseError Metadata)
- loadAlbumArt :: OsPath -> IO (Either ParseError (Maybe AlbumArt))
Documentation
detectFormat :: ByteString -> Maybe AudioFormat Source #
Detect audio format from file header
parseMetadata :: OsPath -> IO (Either ParseError Metadata) Source #
Parse metadata from file
loadAlbumArt :: OsPath -> IO (Either ParseError (Maybe AlbumArt)) Source #
Load full album art from file on-demand (for writing) This reads only the album art data, not all metadata