Part of my library is a bunch of singles I’m always tagging using a flexible attribute. I finally found a way to automatize this. It’s a Python script watching a folder with
inotify : as soon as a file is dropped in a folder, it’s imported to beets and the flexible attribute is set depending on the dropped-in sub-folder name.
The script, installer and examples are in https://github.com/martinkirch/drop2beets
However the current script does not search/match the file against databases, so tags are not corrected and imported as they are in the file. I’m curious to know if something in the beets API could help to complete this ?