Hi all.
Is there a way to trigger a custom script before a grab is done?
I’m in the process of shifting a bunch of stuff off a NAS box on to a small raspberry pi cluster. The intention is the NAS box (that does double duty as a desktop machine) goes suspends to RAM when not in use.
I’ve got most things set with Wake-on-LAN (autofs works wonders there) but can’t see a way to send a WOL packet or trigger a script before the grab. The earliest hook appears to be “On grab” which as far as I can tell is triggered after Sonarr has successfully passed the request to the download client.
I could move the download client to the cluster but then any downloads are going to be dumping a bunch of extra network traffic on the LAN.
Any suggestions appreciated. Thank you.