If archive has several NZB = &sabname of API is ignored.

Report & discuss bugs found in 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
anny50
Newbie
Newbie
Posts: 11
Joined: July 12th, 2020, 9:07 am

If archive has several NZB = &sabname of API is ignored.

Post by anny50 »

Hi,

i insert the NZB files with the following command:

Code: Select all

https://url.com/XXX.nzb.7z&nzbname=XXX&cat=up&priority=-1
However, as soon as there is more than one NZB file in an archive, it simply takes the name of the contained NZB file.

However, it should give all NZB files the transferred name with the parameter &nzbname=XXX.
But it does not do this.

Why?

Background:
The separate NZB files should all be copied to the same folder, so all NZB files should have the same name.

How do I realize this?
User avatar
safihre
Administrator
Administrator
Posts: 5523
Joined: April 30th, 2015, 7:35 am
Contact:

Re: If archive has several NZB = &sabname of API is ignored.

Post by safihre »

Yes this is by design, to avoid having multiple identically named jobs in the queue.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
anny50
Newbie
Newbie
Posts: 11
Joined: July 12th, 2020, 9:07 am

Re: If archive has several NZB = &sabname of API is ignored.

Post by anny50 »

How can I get around this?
User avatar
safihre
Administrator
Administrator
Posts: 5523
Joined: April 30th, 2015, 7:35 am
Contact:

Re: If archive has several NZB = &sabname of API is ignored.

Post by safihre »

You can't. Add them separately maybe?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
anny50
Newbie
Newbie
Posts: 11
Joined: July 12th, 2020, 9:07 am

Re: If archive has several NZB = &sabname of API is ignored.

Post by anny50 »

So i think i need a Pre-queue script, right?
Won't duplicate detection intervene?
User avatar
safihre
Administrator
Administrator
Posts: 5523
Joined: April 30th, 2015, 7:35 am
Contact:

Re: If archive has several NZB = &sabname of API is ignored.

Post by safihre »

Yes, if you have Duplicate Detection enabled it indeed will trigger. Since they are duplicate file names 😄
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply