Use password from metadata

Want something added? Ask for it here.
Post Reply
nicdal
Newbie
Newbie
Posts: 5
Joined: August 5th, 2011, 4:53 am

Use password from metadata

Post 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?
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Use password from metadata

Post 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
nicdal
Newbie
Newbie
Posts: 5
Joined: August 5th, 2011, 4:53 am

Re: Use password from metadata

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Use password from metadata

Post 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.
Post Reply