Page 1 of 1

Run scripts against some, but not all downloads from sonarr

Posted: September 18th, 2025, 1:17 pm
by qube99
In sabnzb, Categories - I have 'tv' and 'movies' depending on if something comes from sonarr or radarr. Under the 'tv' category I have a script that runs that converts an MKV to MP4. I'm finding I don't want to do that all the time, just for certain downloads from sonarr.

Curious how I might be able to use the categories to have some run that script, and some not.
The one thing I think that might be common for ones I don't want versus want the script to run would be something in the file name/quality.

Appreciate any thoughts or pointers on this!

Re: Run scripts against some, but not all downloads from sonarr

Posted: September 20th, 2025, 3:06 pm
by safihre
Hmm, first thing that I would try is to do it in the script?
What lanaguge is it in? Python?

Re: Run scripts against some, but not all downloads from sonarr

Posted: October 2nd, 2025, 3:52 am
by Thaime1
You could set up sub-categories in SABnzbd (e.g. tv-mp4 and tv-raw) and point Sonarr to the right one based on tags/quality profiles.