XML output query

Questions and bug reports for Beta releases should be posted here.
Forum rules
Help us help you:
  • 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
4wd
Newbie
Newbie
Posts: 14
Joined: February 2nd, 2008, 7:34 pm

XML output query

Post 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 ?
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: XML output query

Post 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.
4wd
Newbie
Newbie
Posts: 14
Joined: February 2nd, 2008, 7:34 pm

Re: XML output query

Post 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.
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: XML output query

Post by switch »

Oh I see. msgid is the newzbin message ID used when people add a newzbin to the queue.
4wd
Newbie
Newbie
Posts: 14
Joined: February 2nd, 2008, 7:34 pm

Re: XML output query

Post 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.
Post Reply