Home | Trees | Index | Help |
---|
Package musicbrainz2 :: Module disc |
|
Utilities for working with Audio CDs.
This module contains utilities for working with Audio CDs.
The functions in this module need both an installed libmusicbrainz and a working ctypes package. If you don't have libmusicbrainz, it can't be loaded, or your platform isn't supported by either ctypes or this module, aNotImplementedError
is raised.
Author: Matthias Friedrich <matt@mafr.de>
Exceptions | |
---|---|
DiscError |
The Audio CD could not be read. |
Function Summary | |
---|---|
Returns a URL for adding a disc to the MusicBrainz database. | |
Reads an Audio CD in the disc drive. |
Function Details |
---|
getSubmissionUrl(disc, host='musicbrainz.org', port=80)Returns a URL for adding a disc to the MusicBrainz database. A fully initialized
|
readDisc(deviceName=None)Reads an Audio CD in the disc drive. This reads a CD's table of contents (TOC) and calculates the
MusicBrainz DiscID, which is a 28 character ASCII string. This DiscID
can be used to retrieve a list of matching releases from the web
service (see Note that an Audio CD has to be in drive for this to work. The
DiscError exception is raised.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Sat Aug 26 18:34:31 2006 | http://epydoc.sf.net |