API: How to tell if download has completed
Posted: December 8th, 2009, 12:00 am
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.
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.