nzo_id changing for downloads

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
Offspring
Newbie
Newbie
Posts: 7
Joined: June 27th, 2010, 9:15 pm

nzo_id changing for downloads

Post by Offspring »

This is something that came up when trying to troubleshoot a different issue, but basically for some reason SABnzbd is returning the same nzo_id for different downloads of the same file, even though the other tool is (properly) looking for the new nzo_id, the history is only returning one. An example is shown below:

Code: Select all

16-May-2019 19:41:04 - INFO    :: MainThread : nzo_id: SABnzbd_nzo_4jZLrN --- SABnzbd_nzo_m4Oi6U [Completed]
16-May-2019 19:41:04 - INFO    :: MainThread : nzo_id: SABnzbd_nzo_S0y_6s --- SABnzbd_nzo_m4Oi6U [Completed]
16-May-2019 19:41:04 - INFO    :: MainThread : nzo_id: SABnzbd_nzo_UcvUF_ --- SABnzbd_nzo_m4Oi6U [Completed]
16-May-2019 19:41:04 - INFO    :: MainThread : nzo_id: SABnzbd_nzo_PhEUom --- SABnzbd_nzo_m4Oi6U [Completed]
16-May-2019 19:41:04 - INFO    :: MainThread : nzo_id: SABnzbd_nzo_nAWHhz --- SABnzbd_nzo_m4Oi6U [Completed]
16-May-2019 19:41:04 - INFO    :: MainThread : nzo_id: SABnzbd_nzo_yOHwXl --- SABnzbd_nzo_m4Oi6U [Completed]
16-May-2019 19:41:04 - INFO    :: MainThread : nzo_id: SABnzbd_nzo_166EGV --- SABnzbd_nzo_m4Oi6U [Completed]
16-May-2019 19:41:04 - INFO    :: MainThread : nzo_id: SABnzbd_nzo_IXucOK --- SABnzbd_nzo_m4Oi6U [Completed]
16-May-2019 19:41:04 - INFO    :: MainThread : nzo_id: SABnzbd_nzo_XzEN_n --- SABnzbd_nzo_m4Oi6U [Completed]
16-May-2019 19:41:04 - INFO    :: MainThread : nzo_id: SABnzbd_nzo_MiqQpf --- SABnzbd_nzo_m4Oi6U [Completed]
16-May-2019 19:41:04 - INFO    :: MainThread : nzo_id: SABnzbd_nzo_BM0Kwb --- SABnzbd_nzo_m4Oi6U [Completed]
16-May-2019 19:41:04 - INFO    :: MainThread : nzo_id: SABnzbd_nzo_oR5UVC --- SABnzbd_nzo_m4Oi6U [Completed]
16-May-2019 19:41:04 - INFO    :: MainThread : nzo_id: SABnzbd_nzo_xxBwg_ --- SABnzbd_nzo_m4Oi6U [Completed]
16-May-2019 19:41:04 - INFO    :: MainThread : nzo_id: SABnzbd_nzo_PfPhkh --- SABnzbd_nzo_m4Oi6U [Completed]
16-May-2019 19:41:04 - INFO    :: MainThread : nzo_id: SABnzbd_nzo_gaJul2 --- SABnzbd_nzo_m4Oi6U [Completed]
16-May-2019 19:41:04 - INFO    :: MainThread : nzo_id: SABnzbd_nzo_DVt3Id --- SABnzbd_nzo_m4Oi6U [Completed]
Is there any reason for this, or is this a bug? Is there anything I can do to try and stop this?
User avatar
safihre
Administrator
Administrator
Posts: 5521
Joined: April 30th, 2015, 7:35 am
Contact:

Re: nzo_id changing for downloads

Post by safihre »

Could you give some more information?
You add, at once, multiple jobs for the same file and in the queue already they share the same nzo_id?
Or only when added to history?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
evilhero
Newbie
Newbie
Posts: 5
Joined: August 23rd, 2011, 8:37 am

Re: nzo_id changing for downloads

Post by evilhero »

I can chime in here, as Offspring was talking to me when we came upon this.

He's using a program that monitors sab for completion via api based on finding the nzo_id in the sab history. Sending to Sabnzbd is done via Mylar, and subsequent monitoring is done using Harpoon based on the nzo_id returned from that specific send.

The problem seems to be when Pause on Duplicates is enabled, the nzo_id changes from what it was initially sent back as during the initial addurl command. So even tho the job has completed, the nzo_id it's trying to reference for completion doesn't exist as its been changed for some reason.

With the option disabled, the nzo_id did not change after the initial addurl (which would be the expected result I would think). The program was then able to find it in the history with no problems.

Offspring got a little confused in the initial post due to all the things we were testing, so he asked me to try and clarify things.
Post Reply