Page 1 of 2

Adding an unrar password to an item in the queue

Posted: March 13th, 2008, 3:16 pm
by neilt0
Some posts have password protected rars. It would be nice to be able to click a post in the queue and specify the password needed to unpack the post.

Re: Adding an unrar password to an item in the queue

Posted: March 13th, 2008, 3:26 pm
by huleboeren
It would be very nice indeed  :)

Already a thread on it that might shed some light on it
http://forums.sabnzbd.org/index.php?topic=78.0

Re: Adding an unrar password to an item in the queue

Posted: March 14th, 2008, 3:14 pm
by shypike
Akward to implement, it goes against the nature of SABnzbd.
It's after all a server-side solution, which tries to maximize automation.
So asking for user input before proceeding is:
a) against the design principle
b) hard to implement as a user prompt should be in the web interface. (A popup on a server would not be very useful.)

So unless someone comes up with a brilliant implementation idea, not much prospects for this feature.

Re: Adding an unrar password to an item in the queue

Posted: March 14th, 2008, 3:49 pm
by neilt0
Click on post in queue, list of files appears. In list is an option to add the password.

That way you wouldn't have to change the look of the queue.

Re: Adding an unrar password to an item in the queue

Posted: March 14th, 2008, 4:36 pm
by huleboeren
shypike wrote: Akward to implement, it goes against the nature of SABnzbd.
It's after all a server-side solution, which tries to maximize automation.
So asking for user input before proceeding is:
a) against the design principle
b) hard to implement as a user prompt should be in the web interface. (A popup on a server would not be very useful.)
So unless someone comes up with a brilliant implementation idea, not much prospects for this feature.
Option 1
But having to remote control into your server, enter a folder containing the rars that failed to unrar, repairing them, unpacking them with the password and deleting the remaining rars/pars would require even more manual work :P

Option 2
Guy loads nzb into SABnzbd - knowing that the nzb will contain password protected rars he enters the password in some fancy popup that appears when you click the post.
SABnzbd remembers this password for later use when it has to unpack

Option 2 seems more automatic to me :P

Re: Adding an unrar password to an item in the queue

Posted: March 14th, 2008, 4:52 pm
by neilt0
Another idea:

Add an option to the post-process menu:

-
R
U
D
P

When selected, P opens a dialog to enter password.

Re: Adding an unrar password to an item in the queue

Posted: March 14th, 2008, 5:04 pm
by switch
Just a javascript prompt() on the queue page will be pretty easy. My main concern is handling multiple rar sets within an nzb, and whether to pass the password to everyone of them or only when one fails for no password.

Re: Adding an unrar password to an item in the queue

Posted: March 14th, 2008, 7:56 pm
by inpheaux
pair of dimes wrote:How about, upon initial download, if a password is required, then it simply fails.
Except SABnzbd wouldn't know it requires a password until it gets to postprocessing.

I think the easiest method would be similar to what you proposed, download the rars, fail but fail gracefully and tell the user in the history that unpack failed because it required a password. Then provide the user a method of entering the pass via a javascript popup or by letting them to the rars and do it themselves.

Re: Adding an unrar password to an item in the queue

Posted: March 15th, 2008, 5:11 am
by neilt0
switch wrote: Just a javascript prompt() on the queue page will be pretty easy. My main concern is handling multiple rar sets within an nzb, and whether to pass the password to everyone of them or only when one fails for no password.

Fair point, but all the passworded posts I've used have one rar set.

Re: Adding an unrar password to an item in the queue

Posted: October 21st, 2009, 4:15 am
by daniel_owen_uk
Sorry for the Necropost (dunno if it's considered taboo around here).

But I was wondering if there was any advances on this?

Re: Adding an unrar password to an item in the queue

Posted: October 21st, 2009, 4:58 am
by shypike
Retries of failed post processing require quite some design changes.
When we do that, tackling password-protected jobs can be added relatively easy.
It's just that we already have a huge backlog of potential improvements...

Re: Adding an unrar password to an item in the queue

Posted: October 21st, 2009, 6:05 am
by daniel_owen_uk
I was hoping it would be part of a post processing retry function, so that sounds good.

Doubt it's going to get a fairly quick eta mind (think this post was started early last year :P)

Re: Adding an unrar password to an item in the queue

Posted: October 21st, 2009, 4:16 pm
by shypike
There's no post-processing retry possibility now.
Last year the occurrence of password-protected stuff was low.

Re: Adding an unrar password to an item in the queue

Posted: October 23rd, 2009, 4:18 am
by daniel_owen_uk
I suppose it's more Newzbin's fault.

MediaRover (with Newzbin RSS) + Sabnzbd = Automated TV Show Downloads

Problem occurs when you have passworded reports coming from those RSS feeds with no way to filter.

Re: Adding an unrar password to an item in the queue

Posted: October 26th, 2009, 2:18 pm
by shypike
0.5.0 will have (somewhat limited) support for passwords:
In the NZB file name you can embed the password like this: "My Job {{PW}}.nzb".
This will set the password to "PW".
The queue will show it as "My Job / PW".
This is also the way to change it in the queue with the rename function.
"My Job / PASSWORD" will set the password.
The incomplete and complete folder will use just "My Job".
The password can be changed until the job enters the post-processing queue.
There's just one password for all RAR-sets.