in reply to use MP3::Info to change .mp3 genre

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.

Replies are listed 'Best First'.
Re^2: use MP3::Info to change .mp3 genre
by Evyn (Novice) on Jan 31, 2015 at 14:32 UTC
    Thanks, Richard. So my next question then is, what is the mp3tag application doing that does change the GENRE to some arbitrary value? And can I replicate this in Perl some other way?

      In that case, you need to find a way to write id3v2 extended tags, but MP3::Info doesn't support that yet.

        "extended tags"... thanks. This is valuable information. It didn't occur to me.