Does anyone have a good resource or an actual example of the type of scripts you are able to run as a custom script in either software? I made JavaScript, Python and batch versions of the same script but it's doing nothing when I try to test those. Not really finding any useful info on the web/wiki either.
Well, currently whenever a new item is imported, I'm sending a notification to ntfy on my phone. And whilst Radarr has out of the box support for ntfy, Sonarr does it through a webhook.
The end result is that the notification is just a piece of JSON, with a lot of info I don't need to see. I just want the notification to be something like:
A new item for {series_title} has been added to the library. Season {season_number} - episode {episode_number} {episode_title}