Post Processing Scripts, possible to display info on history output?

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
undertow
Newbie
Newbie
Posts: 12
Joined: June 16th, 2008, 8:09 am

Post Processing Scripts, possible to display info on history output?

Post by undertow »

Is there a way to display custom return text on the history page, rather than having to click "Show script output"? Preferably using a shell script, but I can use perl if necessary.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Post Processing Scripts, possible to display info on history output?

Post by shypike »

Only think I can think of is to show either the first or the last line of the output.
undertow
Newbie
Newbie
Posts: 12
Joined: June 16th, 2008, 8:09 am

Re: Post Processing Scripts, possible to display info on history output?

Post by undertow »

shypike wrote: Only think I can think of is to show either the first or the last line of the output.
That's fine, I can make sure the last line echoed is the desired response text. What would I need to do?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Post Processing Scripts, possible to display info on history output?

Post by shypike »

That depends on your script.
Just make sure it sends text to the console, with the interesting bit in the last line.

How about "@echo Yes, I did it!".

Seriously, this goes on the todo list and will not be in 0.4.0Final.
We have to stop adding features, else we'll never get it out the door.
undertow
Newbie
Newbie
Posts: 12
Joined: June 16th, 2008, 8:09 am

Re: Post Processing Scripts, possible to display info on history output?

Post by undertow »

Ah, my previous response as to "how to do it" was under the assumption that it was a currently available option. No big deal, if and when it can be done is fine. It's purely for my sanity sake, it obviously doesn't affect functionality. :)

Thanks for looking into it.
Post Reply