Page 1 of 1

Store passwords in Download path or dedicated file

Posted: December 27th, 2020, 3:19 am
by usenet4me
Because I use a Raspberry Pi which is very slow with unpacking I'd like to use another client, to do the postprocessing.

Is it already possible to save the password in the destination directory? This would do the job.
Another possibility would be a password file in which new passwords are stored and that can be used for unpacking.

Re: Store passwords in Download path or dedicated file

Posted: December 27th, 2020, 4:25 am
by sander
Do you mean you have it working for downloads without a password?

Re: Store passwords in Download path or dedicated file

Posted: December 27th, 2020, 4:45 am
by usenet4me
Thanks for your quick reply, Sander.

My Pi is running 24x7 for downloads via usenet. Most of the downloads require a password for extracting the file after downloading.
Now my Pi should only initiate and do the download using sabnzbd to a directory on my nas.
Later another client should extract the files in the download folder on the NAS using the passords collected either in a special pw-file or one pw per download.

Hope this makes things clearer.

Thanks for supporting.

Re: Store passwords in Download path or dedicated file

Posted: December 27th, 2020, 5:39 am
by safihre
Currently this is not possible from sabnzbd itself. What you could do is write a Pre queue script that saves the password:
https://sabnzbd.org/wiki/scripts/pre-queue-scripts

The password is stored in the environment variable passed to the script. You could save it to a special directory or file.

Re: Store passwords in Download path or dedicated file

Posted: December 27th, 2020, 5:54 am
by usenet4me
safihre wrote: December 27th, 2020, 5:39 am Currently this is not possible from sabnzbd itself. What you could do is write a Pre queue script that saves the password:
https://sabnzbd.org/wiki/scripts/pre-queue-scripts

The password is stored in the environment variable passed to the script. You could save it to a special directory or file.
Thank you very much.
Your proposal looks very promising and I'd be independent. I'll take a look at the Link you posted.