An ID3v1 implementation.
More...
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.
int TAGLIB_EXPORT TagLib::ID3v1::genreIndex |
( |
const String & |
name | ) |
|
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.
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. genreMap()["Rock"] ==