You can't set GENRE to an arbitrary string, if you look at the docs MP3::Info for set_mp3tag it says :-
Fields are TITLE, ARTIST, ALBUM, YEAR, COMMENT, GENRE. All fields have a 30-byte limit, except for YEAR, which has a four-byte limit, and GENRE, which is one byte in the file. The GENRE passed in the function is a case-insensitive text string representing a genre found in @mp3_genres.
Have a look at the source, or dump @mp3_genres, to see the allowable values.
Sadly the genre tag for MP3s is really poor, they just didn't design their data model properly, if you want a new category you're just out of luck.
In reply to Re: use MP3::Info to change .mp3 genre
by RichardK
in thread use MP3::Info to change .mp3 genre
by Evyn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |