Manual Reference Pages - MP3::ARCHIVE::FORMAT (3)
MP3::Archive::Format - Helper class for MP3::Archive
print("Track num: ",$f->tracknum($file,$format),
print("Correct path: ",
MP3::Archive::Format is a helper class for MP3::Archive. Many of the
methods in it are essentially duplicates of ones in
MP3::Archive(3), but with the formats specified explicitly rather
than inferred from configuration. These are used internally, but can
also be useful if you need more control from your application.
Creates an instance of MP3::Archive::Format
tracknum, artist, album, track, ext, validate, makefilename, makepathname
These methods are essentially the same as their counterparts in
MP3::Archive, with the exception that they expect a format as well as
a filename (eg artist($file, $format), and do not take an optional
tracktype. A format is a reference to an array of strings containing
regular expressions. See MP3::Archive::Config(3) for details on
Replaces $tag with $var in $format. $tag can be one of TRKNUM,
ARTIST, ALBUM, or TRACK.
Parse formats. $tag is the tag (eg ARTIST) we are interested in.
Returns the matching data. If called in array context, also
returns the offset of the start of that data.
None known. Please report any found to firstname.lastname@example.org
MP3::Archive(3) MP3::Archive::Config(3), mp3lint(1),
Ian Beckwith <email@example.com>
|perl v5.20.3 ||MP3::ARCHIVE::FORMAT (3) ||2003-12-14 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.