Adding an unrar password to an item in the queue

Want something added? Ask for it here.
User avatar
neilt0
Full Member
Full Member
Posts: 120
Joined: January 22nd, 2008, 4:16 am

Adding an unrar password to an item in the queue

Post 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.
huleboeren
Release Testers
Release Testers
Posts: 114
Joined: January 25th, 2008, 1:10 pm

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

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

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

Post 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.
User avatar
neilt0
Full Member
Full Member
Posts: 120
Joined: January 22nd, 2008, 4:16 am

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

Post 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.
huleboeren
Release Testers
Release Testers
Posts: 114
Joined: January 25th, 2008, 1:10 pm

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

Post 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
User avatar
neilt0
Full Member
Full Member
Posts: 120
Joined: January 22nd, 2008, 4:16 am

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

Post 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.
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

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

Post 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.
Last edited by switch on March 14th, 2008, 6:22 pm, edited 1 time in total.
User avatar
inpheaux
Administrator
Administrator
Posts: 563
Joined: January 16th, 2008, 9:14 pm

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

Post 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.
User avatar
neilt0
Full Member
Full Member
Posts: 120
Joined: January 22nd, 2008, 4:16 am

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

Post 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.
daniel_owen_uk
Release Testers
Release Testers
Posts: 126
Joined: January 24th, 2008, 6:43 am

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

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

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

Post 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...
daniel_owen_uk
Release Testers
Release Testers
Posts: 126
Joined: January 24th, 2008, 6:43 am

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

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

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

Post by shypike »

There's no post-processing retry possibility now.
Last year the occurrence of password-protected stuff was low.
daniel_owen_uk
Release Testers
Release Testers
Posts: 126
Joined: January 24th, 2008, 6:43 am

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

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

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

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