A daemon that watches the 'CoverArtIndex' queue for events that indicate it should update the index file at the Internet Archive.
You will need:
- A MusicBrainz database. See the
INSTALL.md
document of themusicbrainz-server
project for more details. - RabbitMQ
This roughly corresponds to:
-
Install RabbitMQ:
sudo apt-get install rabbitmq
-
Set up local::lib
sudo apt-get install liblocal-lib-perl libmodule-install-perl eval $(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib) cpan App::cpanminus
-
Install perl dependencies:
sudo apt-get install perl perl-modules libanyevent-perl
libconfig-tiny-perl libdbd-pgsql libdbix-simple-perl
libjson-any-perl liblog-contextual-perl libwww-perl
libnet-amazon-s3-perl libtry-tiny-perl libxml-xpath-perlcpanm --installdeps .
-
Copy
config.ini.example
toconfig.ini
and edit appropriately. -
Run
caa-indexer
:./caa-indexer
You will need to provide the public and private key, via the
--public=
and--private=
options, respectively, or via the aforementionedconfig.ini
. Run with--help
for options.