Api call history - storage field is empty

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
derkens
Newbie
Newbie
Posts: 4
Joined: March 3rd, 2015, 1:59 pm

Api call history - storage field is empty

Post by derkens »

I'm testing some api calls after download to possibly use in a pp script.
When I call history it seems the storage field is empty, should it not contain the path set in the category settings?
I know I can get the path from the first argument, just noticed...
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Api call history - storage field is empty

Post by shypike »

When the post-processing script runs, the history entry isn't yet created.
Or at least, not complete.
derkens
Newbie
Newbie
Posts: 4
Joined: March 3rd, 2015, 1:59 pm

Re: Api call history - storage field is empty

Post by derkens »

ok thanks, just figured because there is some data, the storage field could be populated.
No problem, I will get the path from sys.argv[1]
Post Reply