TagLib 1.6.1: MP4::Tag#setTrack not working correctly with iTunes on Mac OS X?

Harald Schubert schubert.harald at gmx.net
Thu Apr 8 10:45:27 CEST 2010

Hi Lukas,

this is great news, thanks a lot.

Best of luck with the new release - TagLib is plain awesome!


On Apr 7, 2010, at 7:37 PM, Lukáš Lalinský wrote:

> On Wed, Apr 7, 2010 at 7:33 PM, Harald Schubert <schubert.harald at gmx.net> wrote:
>> Hello everyone,
>> I am trying to set the track number for an MP4 file under MacOS X 10.6. I've
>> built taglib as a Mac framework and everything is working fine (reading &
>> writing MP3 tags, reading MP4 tags, writing MP4 string tags etc.) except for
>> writing the track number. I've tried many things, including the following:
>> tag->setTrack(12);
>> or
>> tag->itemListMap()[TagLib::String("trkn", TagLib::String::UTF8)] =
>> TagLib::MP4::Item(TagLib::uint(12), TagLib::uint(13));
>> The tags are being written and I can parse them with command line tools like
>> AtomicParsley, but iTunes doesn't recognize them correctly.
>> Can anyone tell what I am doing wrong? Is there a workaround?
> This is a known problem
> (http://marc.info/?l=taglib-devel&m=126416552027347&w=2). It's already
> fixed in SVN and will be released in TagLib 1.6.2, which should be
> released *soon* (maybe even today, it was planned for Monday).
> Lukas
> _______________________________________________
> taglib-devel mailing list
> taglib-devel at kde.org
> https://mail.kde.org/mailman/listinfo/taglib-devel

More information about the taglib-devel mailing list