NAME
Music::Tag::MusicBrainz - Plugin module for Music::Tag to get information from MusicBrainz database.
SYNOPSIS
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();
DESCRIPTION
Music::Tag::MusicBrainz is normally created in Music::Tag. This plugin gathers additional information about a track from amazon, and updates the tag object.
REQUIRED VALUES
- artist
USED VALUES
- album
-
This is used to filter results.
- releasedate
-
This is used to filter results.
- totaltracks
-
This is used to filter results.
- title
-
title is used only if track is not true, or if trust_title option is set.
- tracknum
-
tracknum is used only if title is not true, or if trust_track option is set.
SET VALUES
- album
- title
-
title is set only if trust_track is true.
- track
-
track is set only if track is not true or trust_title is true.
- releasedate
OPTIONS
- prefered_country
-
If multiple release countries are available, prefer this one. Default is 'US'.
- min_artist_score
-
Minimum artist score for a match. Default is 1.
- min_album_score
-
Minimum album score for a mach. Default is 17. Raise if you get too many false positives.
- min_track_score.
-
Minimum track score. Default is 3.
- ignore_mbid
-
If set, will ignore any MusicBrainz ID values found.
- trust_time
-
If set, will give high priority to track duration in matching
- trust_track
-
If set, will give high priority to track number in matching
- trust_title
-
If set, will give high priority to title in matching.
- skip_seen
-
If set, will not perform a MusicBrainz lookup if an mb_trackid is set.
- ignore_multidisc_warning
-
If set, will enable use of MusicBrainz standards to get disc numbers.
- mb_host
-
Set to host for musicbrainz. Default is www.musicbrainz.org.
BUGS
Sometimes will grab incorrect info. This is due to the lack of album level view when repairing tags.
SEE ALSO INCLUDED
Music::Tag, Music::Tag::Amazon, Music::Tag::File, Music::Tag::FLAC, Music::Tag::Lyrics, Music::Tag::M4A, Music::Tag::MP3, Music::Tag::OGG, Music::Tag::Option
SEE ALSO
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.