MP3::Tag::Inf3pm
Module for parsing .inf files associated with music tracks.
Usage
my $mp3inf = MP3::Tag::Inf->new($filename); # Name of MP3 or .INF file# or an MP3::Tag::File object($title, $artist, $album, $year, $comment, $track) = $mp3inf->parse();
see MP3::Tag
Overview
MP3::Tag::Inf is designed to be called from the MP3::Tag module.
It parses the content of .inf file (created, e.g., by cdda2wav).
parse()-
($title, $artist, $album, $year, $comment, $track) =$mp3inf->parse($what);parse_filename()extracts information about artist, title, track number, album and year from the .inf file.$whatis optional; it maybe title, track, artist, album, year or comment. If$whatis definedparse()will return only this element.As a side effect of this call,
$mp3inf->{info} is set to the hash reference with the content of particular elements of the .inf file. Typically present are the following fields:CDINDEX_DISCIDCDDB_DISCIDMCNISRCAlbumperformerPerformerAlbumtitleTracktitleTracknumberTrackstartTracklengthPre-emphasisChannelsCopy_permittedEndianessIndexThe following fields are also recognized:
YearTrackcomment
Pod errors
Hey! The above document had some coding errors, which are explained below:
- Around line 30:
-
=over without closing =back
Releases
10 releases since Debian 4.0 (Etch); the text changed 6 times.