
Music::Tag::M4A - Plugin module for Music::Tag to get information from Apple QuickTime headers.

use Music::Tag
my $filename = "/var/lib/music/artist/album/track.m4a";
my $info = Music::Tag->new($filename, { quiet => 1 }, "M4A");
$info->get_info();
print "Artist is ", $info->artist;

Music::Tag::M4A is used to read header information from QuickTime MP4 contonainers. It uses Audio::M4P::QuickTime and MP4::Info.
It is not currently able to write M4A tags. Audio::M4P::QuickTime can write these tags, but iTunes has trouble reading them after they have been writen. Setting the option "write_m4a" will enable some tags to be writen, but iTunes will have problems!

No values are required (except filename, which is usually provided on object creation).


Returns the default options for the plugin.
Save object back to MPEG4 container. THIS IS DANGEROUS. Requires write_m4a be set to true.
Load information from MPEG4 container.
Load information using Audio::M4P::QuickTime
Load information using MP4::Info
Close the file and destroy the Audio::M4P::QuickTime object. As this can be large, do this soon after running get_tag if you do not intend to write back to the file ever.
Returns the Audio::M4P::QuickTime object

Set to true to allow some tags to be writen to disc. Not recommended.

M4A Tags are error-prone. Writing tags is not reliable.

Music::Tag, Music::Tag::Amazon, Music::Tag::File, Music::Tag::FLAC, Music::Tag::Lyrics, Music::Tag::MP3, Music::Tag::MusicBrainz, Music::Tag::OGG, Music::Tag::Option,

Audio::M4P::QuickTime, MP4::Info

Edward Allen III <ealleniii _at_ cpan _dot_ org>

This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, distributed with Perl.

Copyright (c) 2007 Edward Allen III. Some rights reserved.