What Gets Set In API When Extracting / Completely Idle?

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
sab12397
Full Member
Full Member
Posts: 117
Joined: August 8th, 2008, 1:09 pm

What Gets Set In API When Extracting / Completely Idle?

Post by sab12397 »

When using the XML API via api?mode=queue&start=START&limit=LIMIT&output=xml

I am trying to find out:

1. What gets set when a queue item is being verified/repaired/extracted?
2. What needs to be checked for to ensure that any verified/repairs/extracting has finished?

i.e. top level status is idle/paused but I am unsure if this status can be idle/paused and items can still be verifying/repairing/extracting in the queue?

Thanks
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: What Gets Set In API When Extracting / Completely Idle?

Post by shypike »

Only the history part will tell you, the status should be "Completed" or "Failed".
If a job is in the download queue it isn't finished by definition.
sab12397
Full Member
Full Member
Posts: 117
Joined: August 8th, 2008, 1:09 pm

Re: What Gets Set In API When Extracting / Completely Idle?

Post by sab12397 »

Still referring to "api?mode=queue&start=START&limit=LIMIT&output=xml" - i.e. queue mode API

So does when Idle have jobs finished extracting, verifying and repairing?

Or does (in the same queue mode API output)

Queued

Get set to Queued, Verifying, Repairing, Extracting?

When I was trying to see this it either didn't happen or happen so quickly I did not see it?

Or should I be looking at the History API?

TIA

TIA
sab12397
Full Member
Full Member
Posts: 117
Joined: August 8th, 2008, 1:09 pm

Re: What Gets Set In API When Extracting / Completely Idle?

Post by sab12397 »

Thanks for help, I think I understand now it looks like the top level status can be idle when it is still extracting and doing other tasks in a slot status.
Post Reply