A plugin for beets that finds releases (on musicbrainz) based on a barcode that is provided via text or decoded from image files
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
beetsplug
.gitignore First release as a plugin May 31, 2018
LICENSE
README.md
setup.py First release as a plugin May 31, 2018

README.md

beets-barcode

A plugin for beets that finds releases based on a barcodes that are provided via text or decoded from image files.

This plugin searches all image files for barcodes to help in selecting the correct release. It's also possible to manually enter a barcode number or catalogue number.

If it finds a barcode, it gets the release-id from musicbrainz and penalizes releases which don't correspond to the found barcode(s). Whenever it finds a barcode, it will print a helpful message, before the candidates are shown, to help understanding which candidate corresponds to a barcode that was found.

Installation

You can install the plugin by using these commands:

git clone https://github.com/8h2a/beets-barcode.git
cd beets-barcode
python setup.py install

Additionally you might need to install zbar seperately. See pyzbar for instructions.

You can then enable the plugin in beet's config.yaml:

plugins: barcode
match:
    distance_weights:
        barcode: 1.0