Edward J. Allen III > Music-Tag-MusicBrainz-0.3 > Music::Tag::MusicBrainz

Download:
Music-Tag-MusicBrainz-0.3.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View Bugs
Report a bug
Module Version: 0.3   Source  

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

METHODS ^

get_tag

Updates current tag object with information from MusicBrainz database.

Same as $mbplugin->artist_info() && $mbplugin->album_info() && $mbplugin->track_info();

artist_info

Update the tag object with information about the artist from MusicBrainz.

album_info

Update the tag object with information about the album from MusicBrainz.

track_info

Update the tag object with information about the track from MusicBrainz.

default_options

Returns hash of default options for plugin

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 ^

WebService::MusicBrainz

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.