Hardware Reference
In-Depth Information
and the disc's ID and name:
DISC_ID=`echo $TITLE | cut -d ' ' -f 3`
DISC_TITLE=`echo $TITLE | cut -d ' ' -f 4-`
Using the disc ID and genre, you can determine a unique track listing (since the genre is used to distinguish
between collisions in hash numbers) for the disc in question, which allows you to retrieve a parsable list of tracks
with this:
cddb-tool read http://freedb.freedb.org/~cddb/cddb.cgi 6 $(app) $(host) «
$GENRE $DISC_ID
The disc title, year, and true genre are also available from this output. 8
A more complex form of data to retrieve is that of the album's cover art. This is something that rippers, especially
text-based ones, don't do and is something of a hit-and-miss affair in the open source world. This is, again, because
of the lack of available data sources. Apple owns a music store, where the covers are used to sell the music and are
downloaded with the purchase of the album. If you rip the music yourself, you have no such option.
One graphical tool that can help here is albumart . You can download this package from
www.unrealvoodoo.org/hiteck/projects/albumart and install it with the following:
dpkg -i albumart_1.6.6-1_all.deb
This uses the ID tags inside the MP3 file to perform a search on various web sites, such as Buy.com , Walmart.com ,
and Yahoo! The method is little more than screen scraping, but provided the files are reasonably well named, the
results are good enough and include very few false positives. When it has a problem determining the correct image,
however, it errs on the side of caution and assigns nothing, waiting for you to manually click Set as Cover, which can
take some time to correct. Once it has grabbed the art files, it names them folder.jpg in the appropriate directory,
where it is picked up and used by most operating systems and media players. As a bonus, however, because the album
art package uses the ID tags from the file, not the CD fingerprint, it can be used to find images for music that you've
already ripped.
N Unlike track listings, the cover art is still copyrighted material, so no independent developer has attempted to
streamline this process with their own database.
Note
Correctly finding album covers without any IDs or metadata can be incredibly hard work. There is a two-stage
process available should this occur. The first part involves the determination of tags by looking at the audio properties
of a song to determine the title and the artist. MusicBrainz is the major (free) contender in this field. Then, once you
have an ID tag, you can retrieve the image as normal. These steps have been combined in software like Jaikoz, which
also functions as a mass-metadata editing package that may be of use to those who have already ripped your music,
without such data.
4HEREISONEMAINUNSOLVEDPROBLEMWITHTHISAPPROACH4HATISIFTHEREARETWODISCSWITHTHESAMEFINGERPRINTORTWODATABASE
ENTRIESFORTHESAMEDISCITISIMPOSSIBLETOAUTOMATICALLYPICKTHECORRECTONE#ONSEQUENTLYAHUMANNEEDSTOUNTANGLETHEMESSBY
SELECTINGONEOFTHEOPTIONS
 
Search WWH ::




Custom Search