Linux SoftwareProgrammingLibrariesMP3::Tag::CDDB_File 0.9708

MP3::Tag::CDDB_File 0.9708


MP3::Tag::CDDB_File is a Perl module for parsing CDDB files. SYNOPSIS my $db = MP3::Tag::CDDB_File->new($filename, $track); #
Developer:   Thomas
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   175K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


MP3::Tag::CDDB_File is a Perl module for parsing CDDB files.

SYNOPSIS

my $db = MP3::Tag::CDDB_File->new($filename, $track); # Name of MP3 file
my $db = MP3::Tag::CDDB_File->new_from($record, $track); # Contents of CDDB

($title, $artist, $album, $year, $comment, $track) = $db->parse();
see MP3::Tag

MP3::Tag::Inf is designed to be called from the MP3::Tag module.

It parses the content of CDDB file.

The file is found in the same directory as MP3 file; the list of possible file names is taken from the field cddb_files if set by MP3::Tag config() method.
parse()

($title, $artist, $album, $year, $comment, $track) =
$db->parse($what);

parse_filename() extracts information about artist, title, track number, album and year from the CDDB record. $what is optional; it maybe title, track, artist, album, year, genre or comment. If $what is defined parse() will return only this element.

Additionally, $what can take values artist_collection (returns the value of artist in the disk-info field DTITLE, but only if author is specified in the track-info field TTITLE), title_track (returns the title specifically from track-info field - the track may fall back to the info from disk-info field), comment_collection (processed EXTD comment), comment_track (processed EXTT comment).

The returned year and genre is taken from DYEAR, DGENRE, EXTT, EXTD fields; recognized prefixes in the two last fields are YEAR, ID3Y, ID3G. The declarations of this form are stripped from the returned comment.

An alternative syntax "Recorded"/"Recorded on"/"Recorded in"/ is also supported; the format of the date recognized by ID3v2::year(), or just a date field without a prefix.

title()

$title = $db->title();

Returns the title, obtained from the 'Tracktitle' entry of the file.

artist()

$artist = $db->artist();

Returns the artist name, obtained from the 'Performer' or 'Albumperformer' entries (the first which is present) of the file.

track()

$track = $db->track();

Returns the track number, stored during object creation.

year()

$year = $db->year();

Returns the year, obtained from the 'Year' entry of the file. (Often not present.)

album()

$album = $db->album();

Returns the album name, obtained from the 'Albumtitle' entry of the file.

comment()

$comment = $db->comment();

Returns the 'Trackcomment' entry of the file. (Often not present.)

genre()

$genre = $db->genre($filename);

Requirements:
  • Perl
    tags returns the  from the  mp3 tag  the file  info field  obtained from  cddb file  the track  comment track  title track  tag cddb  artist album  album year  

    Download MP3::Tag::CDDB_File 0.9708


     http://mirrors.evolva.ro/CPAN/authors/id/I/IL/ILYAZ/modules/MP3-Tag-0.9708.tar.gz


    Authors software

    flactagger 2.0.1 (by Thomas)
    flactagger is a simple command line tool to tag FLAC files

    WebScarab for Eclipse 0.1.0 (by Thomas)
    WebScarab for Eclipse is an extensible framework for analyzing applications that communicate using the HTTP protocol.

    It includes

    MP3::Tag::CDDB_File 0.9708 (by Thomas)
    MP3::Tag::CDDB_File is a Perl module for parsing CDDB files.

    SYNOPSIS

    my $db = MP3::Tag::CDDB_File->new($filename, $track); #

    MP3::Tag::ParseData 0.9708 (by Thomas)

    MP3::Tag::File 0.9708 (by Thomas)
    MP3::Tag::File is a Perl module for reading / writing files.

    SYNOPSIS

    my $mp3 = MP3::Tag->new($filename);

    ($title, $arti


    Similar software

    MP3::Tag::CDDB_File 0.9708 (by Thomas)
    MP3::Tag::CDDB_File is a Perl module for parsing CDDB files.

    SYNOPSIS

    my $db = MP3::Tag::CDDB_File->new($filename, $track); #

    MP3::Tag::File 0.9708 (by Thomas)
    MP3::Tag::File is a Perl module for reading / writing files.

    SYNOPSIS

    my $mp3 = MP3::Tag->new($filename);

    ($title, $arti

    Audio::TagLib::Tag 1.42 (by Dongxu Ma)
    Audio::TagLib::Tag is a simple, generic interface to common audio meta data fields.

    This is an attempt to abstract away the differ

    MP3::Tag 0.9708 (by Thomas Geffert and Ilya Zakharevich)

    AudioFile::Info 1.08 (by Dave Cross)
    AudioFile::Info is a Perl extension to get info from audio files.

    SYNOPSIS

    use AudioFile::Info;

    my $song = AudioFile::In

    MP3::Album::Track 0.14 (by Bruno Tavares)
    MP3::Album::Track is a Perl extension to manage a "physical" track of a mp3 album.

    SYNOPSIS

    use MP3::Album::Track;

    Audio::DB::Adaptor::dbi::mysql 0.01 (by Todd W. Harris)
    Audio::DB::Adaptor::dbi::mysql implements a specific mysql database schema that is compatible with Audio::DB

    Audio::DB::Adaptor::dbi::sqlite 0.01 (by Todd W. Harris)
    Audio::DB::Adaptor::dbi::sqlite is a database adaptor for a specific mysql schema.

    This adaptor implements a specific mysql databa

    dagger 0.2 (by Stephan Windm?ller)
    dagger is a small command-line utility for unix/linux written in Python which tags and renames audio-files

    MP3::Info 1.20 (by Chris Nandor)
    MP3::Info is a Perl module that can manipulate / fetch info from MP3 audio files.

    SYNOPSIS

    #!perl -w
    use MP3::


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags