GNU.WIKI: The GNU/Linux Knowledge Base

  [HOME] [PHP Manual] [HowTo] [ABS] [MAN1] [MAN2] [MAN3] [MAN4] [MAN5] [MAN6] [MAN7] [MAN8] [MAN9]

  [0-9] [Aa] [Bb] [Cc] [Dd] [Ee] [Ff] [Gg] [Hh] [Ii] [Jj] [Kk] [Ll] [Mm] [Nn] [Oo] [Pp] [Qq] [Rr] [Ss] [Tt] [Uu] [Vv] [Ww] [Xx] [Yy] [Zz]


NAME

       MP3::Tag::Inf - Module for parsing .inf files associated with music
       tracks.

SYNOPSIS

         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

DESCRIPTION

       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.  $what is optional; it
           maybe title, track, artist, album, year or comment. If $what is
           defined parse() 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_DISCID
             CDDB_DISCID
             MCN
             ISRC
             Albumperformer
             Performer
             Albumtitle
             Tracktitle
             Tracknumber
             Trackstart
             Tracklength
             Pre-emphasis
             Channels
             Copy_permitted
             Endianess
             Index

           The following fields are also recognized:

             Year
             Trackcomment



  All copyrights belong to their respective owners. Other content (c) 2014-2018, GNU.WIKI. Please report site errors to webmaster@gnu.wiki.
Page load time: 0.172 seconds. Last modified: November 04 2018 12:49:43.