Run script only on tv sorting
Forum rules
Help us help you:
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.
Run script only on tv sorting
I want to run a script only when tv sorting is done. Tv sorting is enabled on the default category. I have enabled a script on that category but I want it to run only when tv sorting is done, is that possible?
Re: Run script only on tv sorting
Use a specific category for TV and couple that to Season Sort.
Otherwise let your script test for parameter 5 (%5 or $5), it contains the category.
http://wiki.sabnzbd.org/user-scripts
Otherwise let your script test for parameter 5 (%5 or $5), it contains the category.
http://wiki.sabnzbd.org/user-scripts
Re: Run script only on tv sorting
Thanks but I don't want it to be coupled to a category. I want it to be run only if tv sorting is done and otherwise not. I want the default category to run the script when tv sorting is done, otherwise not. Or can a category be chosen automatically when tv sorting is done?shypike wrote:Use a specific category for TV and couple that to Season Sort.
Otherwise let your script test for parameter 5 (%5 or $5), it contains the category.
http://wiki.sabnzbd.org/user-scripts
Re: Run script only on tv sorting
You'll have to add some cleverness to your script.
Like detecting that the title has SxxEyy in it, just like SABnzbd does.
Like detecting that the title has SxxEyy in it, just like SABnzbd does.

