Home | Trees | Indices | Help |
---|
|
Utilities for working with Audio CDs.
This module contains utilities for working with Audio CDs.
The functions in this module need both a working ctypes package
(already included in python-2.5) and an installed libdiscid. If you don't
have libdiscid, it can't be loaded, or your platform isn't supported by
either ctypes or this module, a NotImplementedError
is
raised when using the readDisc() function.
Author: Matthias Friedrich <matt@mafr.de>
Classes | |
DiscError The Audio CD could not be read. |
Functions | |||
|
|||
|
Function Details |
Returns a URL for adding a disc to the MusicBrainz database. A fully initialized musicbrainz2.model.Disc object is needed, as returned by readDisc. A disc object returned by the web service doesn't provide the necessary information. Note that the created URL is intended for interactive use and points to the MusicBrainz disc submission wizard by default. This method just returns a URL, no network connection is needed. The disc drive isn't used.
See Also: readDisc |
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 musicbrainz2.webservice.Query). Note that an Audio CD has to be in drive for this to work. The
If the device doesn't exist or there's no valid Audio CD in the drive, a DiscError exception is raised.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sat Nov 19 22:07:31 2011 | http://epydoc.sourceforge.net |