Page 1 of 1

XML output query

Posted: April 8th, 2008, 4:37 am
by 4wd
I'm just wondering why you've chosen to implement the NZB download id in a new field when there's already another field that's not used that possibly refers to the same thing ?

Re: XML output query

Posted: April 8th, 2008, 5:31 am
by switch
Not sure what you are refering too.
The field in '/sabnzbd/api?mode=qstatus&output=xml' shows the internal ID that it assigns to new queue items.
SABnzbd_nzo_am0shs

This can be used for deleing the item from the queue, or moving it's order around.

Re: XML output query

Posted: April 8th, 2008, 6:58 am
by 4wd
switch wrote: Not sure what you are refering too.
The field in '/sabnzbd/api?mode=qstatus&output=xml' shows the internal ID that it assigns to new queue items.
SABnzbd_nzo_am0shs
Yes, that's right however when I get XML output it has the following fields for each job:







However, is empty, (ie. ), so I'm wondering why you bothered to create another field when seems to have been created for the internal ID initially.

Re: XML output query

Posted: April 8th, 2008, 7:03 am
by switch
Oh I see. msgid is the newzbin message ID used when people add a newzbin to the queue.

Re: XML output query

Posted: April 8th, 2008, 7:09 am
by 4wd
switch wrote: Oh I see. msgid is the newzbin message ID used when people add a newzbin to the queue.
Ahh, I see, thanks for clearing that up.