pre-processing script when adding NZB via UI?

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
User avatar
OneCD
Hero Member
Hero Member
Posts: 596
Joined: March 4th, 2017, 3:47 pm

pre-processing script when adding NZB via UI?

Post by OneCD »

Hi guys,

Is it possible to run a custom pre-processing script on one-or-more NZBs only if they are being added to the download list via the web UI?

I need to alter the detected NZB category from 'tv' (which SABnzbd quite-correctly assigns), to 'tv-unmanaged' (which is a category I use for tv episodes related to shows I haven't yet created entries for in SickChill/Medusa).

Thank you. :)
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
User avatar
safihre
Administrator
Administrator
Posts: 5521
Joined: April 30th, 2015, 7:35 am
Contact:

Re: pre-processing script when adding NZB via UI?

Post by safihre »

Hmmm, no not really I think. Is there any other way in which these jobs are different maybe?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
OneCD
Hero Member
Hero Member
Posts: 596
Joined: March 4th, 2017, 3:47 pm

Re: pre-processing script when adding NZB via UI?

Post by OneCD »

Not that I can think of.

No worries, thanks anyway @safihre. Maybe I'll think of a better way - I just wanted to first confirm this wasn't possible when adding via the UI.

Cheers! :D
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
jillybean
Newbie
Newbie
Posts: 5
Joined: January 14th, 2012, 11:36 pm

Re: pre-processing script when adding NZB via UI?

Post by jillybean »

I use a different category for things added from sickgear ('sg' in my case) which allows me to retain the default 'tv' category for things added from the ui.
Post Reply