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


Audio-TagLib documentation  | view source Contained in the Audio-TagLib distribution.

Index


NAME

Top

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

SYNOPSIS

Top

  use Audio::TagLib::ID3v1;

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

DESCRIPTION

Top

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

Top

Audio::TagLib

AUTHOR

Top

Dongxu Ma, <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Top


Audio-TagLib documentation  | view source Contained in the Audio-TagLib distribution.