NAME
Music::Tag::Option - Plugin module for Music::Tag to set tags via tag optons
SYNOPSIS
use Music::Tag
my $filename = "/var/lib/music/artist/album/track.flac";
my $info = Music::Tag->new($filename, { quiet => 1 }, "ogg");
$info->add_plugin(option, { artist => "Sarah Slean" });
$info->get_info();
print "Artist is ", $info->artist;
#Outputs "Artist is Sarah Slean"
DESCRIPTION
Music::Tag::Option is a plugin to set tags via the plugin option.
REQUIRED VALUES
None.
SET VALUES
OPTIONS
Any tag accepted by Music::Tag.
METHODS
- default_options
-
Returns the default options for the plugin.
- set_tag
-
Sets the info in the Music::Tag file to info from options.
- get_tag
-
Same as set_tag.
BUGS
No known additional bugs provided by this Module.
SEE ALSO
Music::Tag, Music::Tag::Amazon, Music::Tag::File, Music::Tag::FLAC, Music::Tag::Lyrics, Music::Tag::M4A, Music::Tag::MP3, Music::Tag::MusicBrainz, Music::Tag::OGG
AUTHOR
Edward Allen III <ealleniii _at_ cpan _dot_ org>
LICENSE
This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, distributed with Perl.
COPYRIGHT
Copyright (c) 2007 Edward Allen III. Some rights reserved.