
Music::Tag::Auto - Plugin module for Music::Tag to load other plugins by file extension.

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

Music::Tag::Auto is loaded automatically in Music::Tag .3 and newer to load other plugins.

None.

None.

Option is a hash reference. Reference maps file extensions to plugins. Default is:
{ mp3 => "MP3",
m4a => "M4A",
m4p => "M4A",
mp4 => "M4A",
m4b => "M4A",
'3gp' => "M4A",
ogg => "OGG",
flac => "FLAC" }

Returns a Music::Tag object based on file extension, if available. Otherwise returns undef.
Returns the default options for the plugin.
Not defined for this plugin.
Not defined for this plugin.

No known additional bugs provided by this Module.

Music::Tag, Music::Tag::FLAC, Music::Tag::Lyrics, Music::Tag::M4A, Music::Tag::MP3, Music::Tag::OGG

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.