Run scripts against some, but not all downloads from sonarr

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
qube99
Newbie
Newbie
Posts: 5
Joined: July 19th, 2022, 12:04 pm

Run scripts against some, but not all downloads from sonarr

Post 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!
User avatar
safihre
Administrator
Administrator
Posts: 5678
Joined: April 30th, 2015, 7:35 am
Contact:

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

Post by safihre »

Hmm, first thing that I would try is to do it in the script?
What lanaguge is it in? Python?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Thaime1
Newbie
Newbie
Posts: 1
Joined: October 2nd, 2025, 3:49 am
Location: https://slope3.com
Contact:

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

Post 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.
Post Reply