The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

MusicBrainz::Collection - Upload album collection list to MusicBrainz

SYNOPSIS

    use MusicBrainz::Collection;
  
    my $mbcol = MusicBrainz::Collection->new(
        user => 'musicbrainz@example.com',
        pass => '12345',
    );
    
    $mbcol->process('/path/to/music');

DESCRIPTION

This script uploads a list of all albums found in a given directory that contain MusicBrainz Album ID tags. This list can be used by the MusicBrainz website for various purposes such as determining missing albums by your favorite artists, notifying you about new releases, and so on.

Supported file formats (from Audio::Scan): MP3, MP4, FLAC, Ogg Vorbis, WMA, WAV, AIFF, Musepack, Monkey's Audio

METHODS

new( %options )

Optional arguments are:

    user
    pass
    verbose

If username and password are not supplied to new(), the file ~/.musicbrainz is checked for login information. The format of this file should be:

    user sampleuser
    pass 12345

process( $directory )

Process the given directory recursively, finding all MusicBrainz Album ID tags. After all unique albums have been found, the list is uploaded to your MusicBrainz account.

SEE ALSO

http://musicbrainz.org/doc/MusicCollectionIntroduction

AUTHOR

Andy Grundman, <andy@hybridized.org>

COPYRIGHT AND LICENSE

Copyright (C) 2010 by Andy Grundman

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.