Run multiple commands on a query #4497
-
Is it possible to run multiple commands on my library and only write files when they are all finished? I have a plugin that I created, which will create a par2 file for each track. To be useful it must recreate the par2 after each file change. As you can imagine this makes running multiple commands on my library take quite a while. I would like to run a set of commands (say lastgenre, acousticbrainz, and lyrics) on my entire library, but only write files when they are all finished to only create the par2 files once per file. Also, I want the files to have the tags written to the files and the database, so I do not have to rely on any program (beets included) to query, play, or create playlists from my collection. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I think the easiest way to do this would be to temporarily disable the |
Beta Was this translation helpful? Give feedback.
I think the easiest way to do this would be to temporarily disable the
import.write
config option, do your work, and then run thebeet write
command. Counterintuitively, theimport.write
option affects many commands—not just the import process.