MusicBrainz-libdiscid-0.4.1.0: Binding to libdiscid by MusicBrainz

Safe HaskellNone

Sound.MusicBrainz.DiscId

Description

 

Synopsis

Documentation

getVersionStringSource

Arguments

:: IO String

a string containing the version of libdiscid.

Return the full version string of this library, including the name.

getDefaultDeviceSource

Arguments

:: IO String

a string containing an operating system dependent device identifier

Return the name of the default disc drive for this operating system.

readFromDefaultCd :: IO (Either String DiscId)Source

Read the disc in the default CD-ROM/DVD-ROM drive.

readFromCd :: String -> IO (Either String DiscId)Source

Read the disc in the given CD-ROM/DVD-ROM drive.

data DiscIdFeature Source

Constructors

Read 
MCN 
ISRC 
Unknown 

Instances

data DiscId Source

Constructors

DiscId 

Instances

data TOC Source

Constructors

TOC 

Instances

data Track Source

Constructors

Track 

Fields

num :: Int
 
offset :: Int
 
length :: Int
 
isrc :: String
 

Instances