Automated Password Extraction from NZB Filename Fails

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
revolt
Newbie
Newbie
Posts: 2
Joined: March 19th, 2016, 1:31 am

Automated Password Extraction from NZB Filename Fails

Post by revolt »

I have a very specific scenario, where passwords are not extracted from the filename:
I drop an archive with an nzb file inside into the nzb folder to automatic detection: something {{password}}.nzb.rar
Sab unpacks it to something.nzb.
The password gets dropped.
Sab adds that nzb, the password is never added.
If the nzb file inside the archive has the name something {{password}}.nzb it works, but only then.

Proposed fix: look for the password after *and before* extracting the archive to get the nzb.

Might be related: https://github.com/sabnzbd/sabnzbd/issues/243
User avatar
safihre
Administrator
Administrator
Posts: 5678
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Automated Password Extraction from NZB Filename Fails

Post by safihre »

Interesting, sounds indeed like something that can be fixed.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Automated Password Extraction from NZB Filename Fails

Post by shypike »

Passwords at the start of the name are not supported.
The start is reserved for a category.
Example:
{{TV}}my show{{password}}.nzb
User avatar
safihre
Administrator
Administrator
Posts: 5678
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Automated Password Extraction from NZB Filename Fails

Post by safihre »

That's not his suggestion, he is saying that when he has an NZB inside and archive and the filename of this archive has the show{{password}}.nzb.rar notation but the NZB inside does not, it won't pick up the password.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Automated Password Extraction from NZB Filename Fails

Post by shypike »

True, but I've never seen this use case before.
Is this a specific indexer that does this?
Post Reply