http://www.perlmonks.org?node_id=623677


in reply to Re: MP3::Tag - iTunes cannot read MP3::Tag(ged) file?
in thread MP3::Tag - iTunes cannot read MP3::Tag(ged) file?

The fact that I can see the data in Windows Exploder and through another freeware ID3v1/v2 editor means that the information is being written properly by MP3::Tag. What I don't know is what iTunes expects. No one on the Apple forums is going to have any idea about it and I doubt Apple dev is going to give away the farm and cough up how they've tweaked ID3 tags for their own purposes.
  • Comment on Re^2: MP3::Tag - iTunes cannot read MP3::Tag(ged) file?

Replies are listed 'Best First'.
Re^3: MP3::Tag - iTunes cannot read MP3::Tag(ged) file?
by mccready (Initiate) on Sep 14, 2007 at 20:42 UTC
    Two quick points:

    1) Don't underestimate the apple forums. You'd be surprised who's lurking around in there.
    2) I tag all my mp3's with MP3::Tag (both v1 and v2 tags) and iTunes has no problem reading them. I seem to be using iTunes 7.4.1 (2), and MP3::Tag 0.94. Which versions are you using?

    In the end, including a code snippet is probably the quickest way to figure out what's going on. It'd also probably be helpful to use Data::Dumper to dump the data prior to setting the tag, and after the tag has been set, create a new tag from the file, dump that, and compare the two. Also, you could append v1 to each of the v1 tags and v2 to each of the v2's. This will allow you to see which tag you are seeing with the other tools you are using to view the tag. It may be that your v2 tag is empty, but the v1 is set, and itunes is happily showing you an empty v2 tag, while the other two apps either move on to the v1, or try the v1 first.

Re^3: MP3::Tag - iTunes cannot read MP3::Tag(ged) file?
by Popcorn Dave (Abbot) on Jun 28, 2007 at 03:21 UTC
    Fair enough.

    Just a thought for you though, could your problem be that your files are MP3 and not AAC? Do you have a file from iTunes that you could look at in a third party tagger to see if that gives you any clues? IIRC, the ID3v2 tag is at the front, while the ID3v1 is at the end. I don't personally own an iPod so I don't know if that could be your problem or not.

    As to my suggestion of asking in an Apple group, my thinking was that there may be someone more versed in Apple that could get you going in the right direction.


    Revolution. Today, 3 O'Clock. Meet behind the monkey bars.

    I would love to change the world, but they won't give me the source code