Hi,
Can anyone tell me if there is any more documentation of the history function in the 0.5 API? I've been looking at http://wiki.sabnzbd.org/api which I think gives me the information I need, although it would be nice to see in depth explanations of every single field.
What I'm trying to ascertain is how to tell if a download has completed; i.e. all files downloaded, and any post-processing (i.e. repair/unpack/delete) has finished. Am I right in thinking that the "status" item in the history output should be "Completed"? If I understand things correctly, jobs are removed from the queue as soon as all files are downloaded, but before post-processing - right?
Cheers.
API: How to tell if download has completed
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: API: How to tell if download has completed
Thanks for the quick reply - I'll just scan the queue to see if the id is missing; if it is scan the history and check for "Failed" or "Completed" status. (In case you were wondering, the action the program will be taking at this point is to instruct uTorrent to load a .torrent file, presumably of the same(ish) data).
