Audio::TagLib::ID3v1 - Functions in this namespace
use Audio::TagLib::ID3v1; my $list = Audio::TagLib::ID3v1->genreList(); my $genremap = Audio::TagLib::ID3v1->genreMap();
Returns the list of canonical ID3v1 genre names in the order that they are listed in the standard.
A "reverse mapping" that goes from the canonical ID3v1 genre name to the respective genre number.
Returns the name of the genre at $index in the ID3v1 genre list. If $index is out of range -- less than zero or greater than 146 -- a null string will be returned.
Returns the genre index for the (case sensitive) genre $name. If the genre is not in the list 255 (which signifies an unknown genre in ID3v1) will be returned.
None by default.
Audio::TagLib
Dongxu Ma, <dongxu@cpan.org>
Copyright (C) 2005 by Dongxu Ma
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.
To install Audio::TagLib, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Audio::TagLib
CPAN shell
perl -MCPAN -e shell install Audio::TagLib
For more information on module installation, please visit the detailed CPAN module installation guide.