I’m moving from sickbeard/sickrage, and sonarr looks fantastic. One issue I have yet to resolve, Is being able to run a custom script after renaming the file that passes the file path to the script.This is the only thing preventing me from moving over, and everything else is configured.
I have a python script that when passed a file, will compute a CRC32 hash and embed the result into a file name. I need this script to be triggered for EACH episode AFTER the rename function. Sonarr has an “on rename” trigger, but this does not allow me to use the EpisodeFile_Path variable (as i believe it triggers once for a group).
Using any other trigger (on download, on grab, on update) is too early, as this information would be deleted once a rename is completed.
Anyone have any idea how i can accomplish this?
Thank you.