Open gaafiz opened 5 years ago
Indeed! The plugin's default mode is really meant to help you match songs to metadata, and of course "as-is" mode won't do that. We can consider this a feature request for an (optional) mode that would do that too.
Furthermore, historically, the interpretation of "as-is" has meant "keep the metadata how it is," i.e., don't add more metadata generated by plugins. We're aware that might not be the best policy—you can find other issues & mailing list discussions that address the idea of running metadata-providing plugins even for "as-is" imports.
Problem
In short: chroma doesn't apply the audio fingerprint when a track is imported with specific options. Options:
For me is important to have this field for every track to have an additional way to check for duplicates.
Steps to reproduce
beet import
command to import a trackUse as-is
to import the trackbeet ls
command to check the track just imported (includingacoustid_fingerprint
in the output format). As alternative you can use theedit
with-all
option enabled like this(Possible) cause of the issue
I had a look at the code of the
importer
and the chroma plugin.import_task_apply
is fired.import_task_apply
events when a candidate is applied but not when is imported as-is or a manual edit (edit plugin) is applied.workaround
I tried to update the chroma code but I didn't find any better event to use as hook.
item_imported
was an option but once imported, an item changes the path property necessary for correctly assign chroma metatags in the item.For
eDit
andedit Candidates
options, I solved customizing the edit plugin triggering the eventimport_task_apply
manually.An obvious possibility is to run
beet fingerprint
after every import to be sure to set the fingerprint to every track.Setup
My configuration (output of
beet config
) is: No relevant configuration