Page 1 of 1

Automated Password Extraction from NZB Filename Fails

Posted: March 19th, 2016, 1:35 am
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

Re: Automated Password Extraction from NZB Filename Fails

Posted: March 19th, 2016, 3:54 am
by safihre
Interesting, sounds indeed like something that can be fixed.

Re: Automated Password Extraction from NZB Filename Fails

Posted: March 19th, 2016, 4:45 am
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

Re: Automated Password Extraction from NZB Filename Fails

Posted: March 19th, 2016, 4:54 am
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.

Re: Automated Password Extraction from NZB Filename Fails

Posted: March 19th, 2016, 2:28 pm
by shypike
True, but I've never seen this use case before.
Is this a specific indexer that does this?