Page 1 of 1

Post-Procesing passed parameter

Posted: September 14th, 2014, 11:12 am
by Sparkss
Would it be possible to add the password used to extract a download to the list of passed parameters for post-processing?

Thank you

Re: Post-Procesing passed parameter

Posted: September 14th, 2014, 4:10 pm
by shypike
Just curious. Why?

Re: Post-Procesing passed parameter

Posted: September 16th, 2014, 2:21 pm
by Sparkss
I have a post processing script that pulls the CRC information from the rar archives and creates a formatted .sfv file (for archiving, checking). I prefer not to archive the raw rars + pars (before you ask :)), although I acknowledge that it would be better. I just use the sfv to verify that the extracted files are written onto the archive media intact before deleting them from the hard drive.

To pull that information it needs the password for the encrypted rars. Currently I added the password to the job name bookended by __pass__, but with the non-standard chars and longer passwords I am always looking foralternatives. I recently started using the {{password}} suffix for the nzb names, but even if I use that method, manually enter the pass into the console/job record or let the password list file handle it, I wanted a commn method for getting that password to the extraction script.

Thanks!

Re: Post-Procesing passed parameter

Posted: September 16th, 2014, 3:30 pm
by shypike
Adding more parameters might be become a problem.
I'll make a note for a future solution, possibly using an environment variable.

Re: Post-Procesing passed parameter

Posted: September 16th, 2014, 8:59 pm
by Sparkss
Thank you for your consideration.