NAME

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

SYNOPSIS

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;

DESCRIPTION

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!

REQUIRED VALUES

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

SET VALUES

artist, album
disc, totaldiscs, tempo, encoder, title, composer
copyright, track, totaltracks, comment, lyrics
bitrate, duration, picture

OPTIONS

write_m4a

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

BUGS

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

SEE ALSO INCLUDED

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,

SEE ALSO

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

AUTHOR

Edward Allen III <ealleniii _at_ cpan _dot_ org>

COPYRIGHT

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

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