NAME

Audio::TagLib::ID3v1 - Functions in this namespace

SYNOPSIS

use Audio::TagLib::ID3v1;

my $list     = Audio::TagLib::ID3v1->genreList();
my $genremap = Audio::TagLib::ID3v1->genreMap();

DESCRIPTION

StringList genreList() [static]

Returns the list of canonical ID3v1 genre names in the order that they are listed in the standard.

Genremap genreMap() [static]

A "reverse mapping" that goes from the canonical ID3v1 genre name to the respective genre number.

String genre(IV $index) [static]

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.

IV genreIndex(String $name) [static]

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.

EXPORT

None by default.

SEE ALSO

Audio::TagLib

AUTHOR

Dongxu Ma, <dongxu@cpan.org>

MAINTAINER

Geoffrey Leach GLEACH@cpan.org

COPYRIGHT AND LICENSE

Copyright (C) 2005-2010 by Dongxu Ma

Copyright (C) 2011 - 2012 Geoffrey Leach

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.