Script to auto run plugin when hitting "lookup"?

Hey, I was wondering if there was a way to script a plugin (rsgain in this case) to run when i click to lookup or scan files? That way, after the metadata is loaded, the scan have already been completed. Thanks!

I’m going to take your request and turn it inside out.

You can script Picard, but it works in a different way. See the “Executable Commands” and “Command and Batch Processing” pages in the docs to see what I mean.

If you put your untagged albums into some kind of “Incoming” folder, you can run rsgain on all of “Incoming” before starting Picard. Instead of starting Picard directly, make a shortcut to a shell script that runs rsgain followed by Picard. The Picard command runs your batch-processing options.

In case you’re wondering, tagger scripts can only affect tags, file names, folder names, and folder organisation. They have no macro functions for scripting Picard itself. The Plugins API has some event hooks you can use, but they’re not ideal for what you’re trying to do.

1 Like