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

Reading the documentation of MP3::Tag and searching for write_v24 points out a way to enable that, "at your own risk".

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

Replies are listed 'Best First'.
Re^2: 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:07 UTC
    I'm aware of that and as stated all versions of true or false return the same error
    'TRUE' 'FALSE' 'true' 'false' 0 1
    all fail

      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.

        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");