UPDATE: This can be disregarded, as I learned how to directly use the MBID search to import an specific album.
I really love the idea of this plugin and expect to get a lot of value out of it, but I get an error when I include the barcode plugin in my config.yaml
I download the beets-barcode zip file from git, unzipped and placed in Python Scripts folder.
cd to beets-barcode-master folder
ran the ‘python setup.py install’ command
The install finished with no errors.
In the config.yaml,
Added barcode to the plugin list
Added distance_weights: barcode: 1.0 to match list
Below is the message I get when I start the beet import.
R:\2-ToCatalog Music>beet import "R:\2-ToCatalog Music"
** error loading plugin barcode:
Traceback (most recent call last):
File "C:\Users\MEDIA\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyzbar-0.1.8-py3.7.egg\pyzbar\zbar_library.py", line 58, in load
dependencies, libzbar = load_objects(Path(''))
File "C:\Users\MEDIA\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyzbar-0.1.8-py3.7.egg\pyzbar\zbar_library.py", line 52, in load_objects
for dep in dependencies
File "C:\Users\MEDIA\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyzbar-0.1.8-py3.7.egg\pyzbar\zbar_library.py", line 52, in <listcomp>
for dep in dependencies
File "C:\Users\MEDIA\AppData\Local\Programs\Python\Python37-32\lib\ctypes\__init__.py", line 434, in LoadLibrary
return self._dlltype(name)
File "C:\Users\MEDIA\AppData\Local\Programs\Python\Python37-32\lib\ctypes\__init__.py", line 356, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\MEDIA\AppData\Local\Programs\Python\Python37-32\lib\site-packages\beets\plugins.py", line 273, in load_plugins
namespace = __import__(modname, None, None)
File "C:\Users\MEDIA\AppData\Local\Programs\Python\Python37-32\lib\site-packages\beets_barcode-0.0.1-py3.7.egg\beetsplug\barcode.py", line 15, in <module>
from pyzbar.pyzbar import decode
File "C:\Users\MEDIA\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyzbar-0.1.8-py3.7.egg\pyzbar\pyzbar.py", line 7, in <module>
from .wrapper import (
File "C:\Users\MEDIA\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyzbar-0.1.8-py3.7.egg\pyzbar\wrapper.py", line 143, in <module>
c_uint_p, # minor
File "C:\Users\MEDIA\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyzbar-0.1.8-py3.7.egg\pyzbar\wrapper.py", line 136, in zbar_function
return prototype((fname, load_libzbar()))
File "C:\Users\MEDIA\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyzbar-0.1.8-py3.7.egg\pyzbar\wrapper.py", line 115, in load_libzbar
libzbar, dependencies = zbar_library.load()
File "C:\Users\MEDIA\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyzbar-0.1.8-py3.7.egg\pyzbar\zbar_library.py", line 60, in load
dependencies, libzbar = load_objects(Path(__file__).parent)
File "C:\Users\MEDIA\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyzbar-0.1.8-py3.7.egg\pyzbar\zbar_library.py", line 52, in load_objects
for dep in dependencies
File "C:\Users\MEDIA\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyzbar-0.1.8-py3.7.egg\pyzbar\zbar_library.py", line 52, in <listcomp>
for dep in dependencies
File "C:\Users\MEDIA\AppData\Local\Programs\Python\Python37-32\lib\ctypes\__init__.py", line 434, in LoadLibrary
return self._dlltype(name)
File "C:\Users\MEDIA\AppData\Local\Programs\Python\Python37-32\lib\ctypes\__init__.py", line 356, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found