Page 1 of 1

Use password from metadata

Posted: August 30th, 2012, 2:53 am
by nicdal
Hi,

In the NZB 1.1 definition (http://wiki.sabnzbd.org/nzb-specs) there is a password metadata tag.

"if any password is required for the contents of the NZB, it can be specified in a password meta-tag. If there are multiple passwords, this tag could simply be specified more than once and they can all be tried. If it becomes a common requirement we may develop a way to associate a password tag (or indeed any meta tag) with a specific file block."

Is it possible to get sabnzbd to use the password from the metadata tag to extract the files after download?

Re: Use password from metadata

Posted: August 30th, 2012, 3:53 am
by sander
Out of curiosity:

How often is NZB 1.1 used? I checked my .NZB's, and none of them are NZB 1.1; most are 1.0, some are 0.9.

And if NZB 1.1 is used, and the file is encrypted, how many of them really have a password meta-tag? I thought password-protected uploads are only meant to lure people into obscure sites ...



Statistics:

Code: Select all

sander@R540:~/Downloads$ grep -i doctype [A-Z]*.nzb > nzb-doctypes.txt

sander@R540:~/Downloads$ cat nzb-doctypes.txt | grep -i "NZB 1.0" | wc -l
628

sander@R540:~/Downloads$ cat nzb-doctypes.txt | grep -i "NZB 0.9" | wc -l
63

sander@R540:~/Downloads$ cat nzb-doctypes.txt | grep -i "NZB 1.1" | wc -l
0

Re: Use password from metadata

Posted: August 30th, 2012, 4:05 am
by nicdal
"And if NZB 1.1 is used, and the file is encrypted, how many of them really have a password meta-tag?"

No one I guess... Because the downloader software does not support the meta-tag (yet).

But adding this feature will not remove anything from the people don't using it.

I would definitely start adding the password meta tag to my NZBs if sabnzbd supported it. It is far better than adding {{password}} to the nzb filename.

Re: Use password from metadata

Posted: August 30th, 2012, 6:09 am
by shypike
nicdal wrote:It is far better than adding {{password}} to the nzb filename.
For you, but most people wouldn't know how to edit an NZB file.
As soon as one of the indexer sites starts adding passwords, it's time enough.
I'll put it on the long term to-do list.