MP3::Album 0.14 review

Download
by rbytes.net on

MP3::Album is a Perl extension to manage a music album built of mp3 files. SYNOPSIS use MP3::Album; $mp3_album = MP3::Al

License: Perl Artistic License
File size: 8K
Developer: Bruno Tavares
0 stars award from rbytes.net

MP3::Album is a Perl extension to manage a music album built of mp3 files.

SYNOPSIS

use MP3::Album;

$mp3_album = MP3::Album->new(files=>@files);

#check is as set of mp3 has a uniform encoding
if ($mp3_album->bitrate_check()) &&
$mp3_album->frequency_check()) {
print "This set of mp3 is well encodedn";
} else {
print "not so goodn";
}

#get tracks and artistic information (layout) from cddb
@layouts = $mp3_album->fetch_layout(method=>'CDDB');

#using one of the above matches to generate tags
$mp3_album->layout($layouts[0]); # set the album layout to
# on of your choice
$mp3_album->generate_tags();

#and then rename the files
$mp3_album->rename_files();

The general idea is to assume you can construct a set of mp3 files that , burnt into a cd, is equal to the "original" cd album. This modules helps to check if in every case this assumption is valid, and gives a set of utilities to manage that set of mp3 (ie: Generate mp3 tags or rename files according to a cddb match).

The so called album info is divided into two sets: the technical info and the layout info.

Technical info

Gives all the information about the mp3 file and about the album as a group of those files. For an example it gives you the general encoding(s) of the album and if it has a uniform encoding (all the tracks are encoding at the same bitrate).

Layout info

Gives you all the information about the disc layout. This is track names, album artist, etc. You can get layouts of various ways; for now three of them where implemented : information extracted from mp3 tags, from cddb, imported from a text file. for more info about the layouts read the perldoc of MP3::Album::Layout

Requirements:
Perl

MP3::Album 0.14 search tags