Using 0.7.0Beta5
I have some rss feeds setup and added a post script to clean some files from one feed.
I have it set in the defaults at the top but it is not run.
Does it also need to be set in the categories ?
The script is executable (+rx) by anyone and is owned by my user (on a Linux Mint base)
My script is very simple and I added an echo $1 >>~/result.txt but it isn't run
Basically it is just
rm $1/filename
for each one I want deleted so nothing complicated.
RSS not using post script
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.
Re: RSS not using post script
You need to put quotes around the parameters, so:
rm "$1/filename"
Second set logging level to debug, do a job and then look
into the log file and search for your script's name.
rm "$1/filename"
Second set logging level to debug, do a job and then look
into the log file and search for your script's name.
-
- Jr. Member
- Posts: 50
- Joined: October 24th, 2011, 4:18 am
Re: RSS not using post script
Thanks.
OK got it working but I had to add the script to the actual download filter rather than to the top line which is where I thought it would be picked up for all the filters like the Processing action & category settings.
OK got it working but I had to add the script to the actual download filter rather than to the top line which is where I thought it would be picked up for all the filters like the Processing action & category settings.
Re: RSS not using post script
If you put the script in the "Default" category it will be picked up by the other categories.
But only when these categories have "default" as script.
If they have "None", this will override the global setting.
But only when these categories have "default" as script.
If they have "None", this will override the global setting.
-
- Jr. Member
- Posts: 50
- Joined: October 24th, 2011, 4:18 am
Re: RSS not using post script
Thanks, I must have had it set to none for some reason.