MP3::Tag::Inf(3)
π NAME π
okay so MP3::Tag::Inf(3) is literally the Module for parsing .inf files associated with music tracks. bestie. That's the whole vibe: it handles those .inf files associated with your music tracks. π΅β¨
πΈ SYNOPSIS πΈ
here's the group-chat recap of how you call it:
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();
also: see MP3::Tag β that's the main character this module hangs out with. π«Ά
π¦ DESCRIPTION π¦
MP3::Tag::Inf is designed to be called from the MP3::Tag module. No solo era, okay? It is literally built to be part of that ecosystem.
It parses the content of .inf file (created, e.g., by cdda2wav). So yes, those little info files get read and understood. π
π 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. $what is optional; it may be title, track, artist, album, year or comment. If $what is defined parse() will return only this element.
side quest alert: as a side effect of this call,$mp3inf->{info}is set to the hash reference with the content of particular elements of the.inffile. So it's not just a return-value situation β the info hash gets filled too. π₯
the usual crew that's typically present in there:
CDINDEX_DISCID
CDDB_DISCID
MCN
ISRC
Albumperformer
Performer
Albumtitle
Tracktitle
Tracknumber
Trackstart
Tracklength
Pre-emphasis
Channels
Copy_permitted
Endianess
Index
and these fields are also recognized too:
Year
Trackcomment
π POD ERRORS π
Hey! The above document had some coding errors, which are explained below:
Around line 30:
=over without closing =back
not the=overwithout its=backbestie π the POD police said something. Keep it in mind.
okay that's the whole page! this footer energy says: perl v5.42.3, dated 2022-11-25, and it's the MP3::Tag::Inf(3) manual page. mwah πβ¨
π¦ where this page comes from
- nixos 26.05: perl5.42.3-MP3-Tag 1.16
- nixpkgs unstable: perl5.42.3-MP3-Tag 1.16
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms