Music::Tag::MusicBrainz - Plugin module for Music::Tag to get information from MusicBrainz database.
use Music::Tag my $info = Music::Tag->new($filename); my $plugin = $info->add_plugin("MusicBrainz"); $plugin->get_tag; print "Music Tag Track ID ", $info->mb_trackid();
This plugin gathers additional information about a track from www.musicbrianz.org, and updates the Music::Tag object.
Music::Tag::MusicBrainz objects must be created by Music::Tag.
This is used to filter results.
title is used only if track is not true, or if trust_title option is set.
tracknum is used only if title is not true, or if trust_track option is set.
title is set only if trust_track is true.
track is set only if track is not true or trust_title is true.
Updates current Music::Tag object with information from MusicBrainz database.
Same as $mbplugin->artist_info() && $mbplugin->album_info() && $mbplugin->track_info();
Update the Music::Tag object with information about the artist from MusicBrainz.
Update the Music::Tag object with information about the album from MusicBrainz.
Update the Music::Tag object with information about the track from MusicBrainz.
Returns and optionally sets a reference to the Cache::FileCache object used to cache requests.
Returns hash of default options for plugin
A list of required values required for get_tag() to work.
A list of values that can be set by this module.
If multiple release countries are available, prefer this one. Default is 'US'.
Minimum artist score for a match. Default is 1.
Minimum album score for a mach. Default is 17. Raise if you get too many false positives.
Minimum track score. Default is 3.
If set, will ignore any MusicBrainz ID values found.
If set, will give high priority to track duration in matching
If set, will give high priority to track number in matching
If set, will give high priority to title in matching.
If set, will not perform a MusicBrainz lookup if an mb_trackid is set.
If set, will enable use of MusicBrainz standards to get disc numbers.
Set to host for musicbrainz. Default is www.musicbrainz.org.
Sometimes will grab incorrect info. This is due to the lack of album level view when repairing tags.
Please use github for bug tracking: http://github.com/riemann42/Music-Tag-MusicBrainz/issues.
WebService::MusicBrainz, Music::Tag, www.musicbrianz.org
Source is available at github: http://github.com/riemann42/Music-Tag-MusicBrainz.
Edward Allen III <ealleniii _at_ cpan _dot_ org>
Copyright © 2007,2008 Edward Allen III. Some rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either:
a) the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or
b) the "Artistic License" which comes with Perl.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the Artistic License for more details.
You should have received a copy of the Artistic License with this Kit, in the file named "Artistic". If not, I'll be glad to provide one.
You should also have received a copy of the GNU General Public License along with this program in the file named "Copying". If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA or visit their web page on the Internet at http://www.gnu.org/copyleft/gpl.html.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in '©'. Assuming UTF-8
To install Music::Tag::MusicBrainz, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Music::Tag::MusicBrainz
CPAN shell
perl -MCPAN -e shell install Music::Tag::MusicBrainz
For more information on module installation, please visit the detailed CPAN module installation guide.