Incorrect PP when pulling catagories from newzbin

Report & discuss bugs found in 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
ssboisen
Newbie
Newbie
Posts: 11
Joined: September 12th, 2008, 1:37 am

Incorrect PP when pulling catagories from newzbin

Post by ssboisen »

Hi,

I'm using v. 0.45RC1

When using the automation api there's a problem with post-processing being incorrect, this can be reproduced by using the following api-command:
http://host:port/sabnzbd/api?mode=addid&name=&cat=

Both if you leave the cat-part out (api?mode=addid&name=) or leave it in (api?mode=addid&name=3245540&cat="movies" (or just plain movies without "")) wrong PP is applied.
I have a specific script that I use when the category is movies, but it doesn't work resulting in no script being executed as well as default R/U/D being used.

However this doesn't seem to be only related to the api, if the Home-part of sabnzbd is used and catagory isn't defined before you press Add (and sabnzbd+ therefor pulls the category from newzbin) correct PP isn't applied, but if you t define a category before you press Add it works.

It's a bit of a problem since many third-party application rely on the automation api and newzbin.

Hope you can figure this bug out!

Best Regards

Simon
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Incorrect PP when pulling catagories from newzbin

Post by shypike »

This problem will be solved in 0.4.5RC2, which will be out soon.
I'll check your specific scenario.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Incorrect PP when pulling catagories from newzbin

Post by shypike »

Sorry to say that this particular problem is not solved in RC2.
The error is quite old.
The API documentation says that the "cat" parameter is supported, but the actual code does not.

RC2 is going through release testing now and I won't stop that process to fix this.
It will be fixed in the 0.4.5Final release.
Post Reply