in reply to Re^2: Error with MP3 tags: Writing of ID3v2.4 is not fully supported (prohibited now via `write_v24').
in thread Error with MP3 tags: Writing of ID3v2.4 is not fully supported (prohibited now via `write_v24').

I meant that you likely need to ->configure your tag writer, because that is where write_v24 needs to be enabled so that it is allowed later on. But then, that's only how I interpret the documentation - I haven't used the module.

  • Comment on Re^3: Error with MP3 tags: Writing of ID3v2.4 is not fully supported (prohibited now via `write_v24').
  • Select or Download Code

Replies are listed 'Best First'.
Re^4: Error with MP3 tags: Writing of ID3v2.4 is not fully supported (prohibited now via `write_v24').
by rupert160 (Initiate) on Jun 14, 2010 at 13:33 UTC
    You are a champion, I've never used "configure" in a library before and I assumed it handled in the function not a global config item. Thanks so much.
    MP3::Tag->config(write_v24 => 1);
    fixed it and it ran perfectly. full code now is:
    #!/usr/bin/perl use strict; use warnings; use MP3::Tag; MP3::Tag->config(write_v24 => 1); $mp3->title_set('new title'); $mp3->update_tags(); $mp3 = MP3::Tag->new($file); ($title, $track, $artist, $album, $comment, $year, $genre) = $mp3->aut +oinfo(); print("$title, $track, $artist, $album, $comment, $year, $genre\n");