Post-Procesing passed parameter

Want something added? Ask for it here.
Post Reply
Sparkss
Newbie
Newbie
Posts: 3
Joined: September 14th, 2014, 10:53 am

Post-Procesing passed parameter

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

Re: Post-Procesing passed parameter

Post by shypike »

Just curious. Why?
Sparkss
Newbie
Newbie
Posts: 3
Joined: September 14th, 2014, 10:53 am

Re: Post-Procesing passed parameter

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

Re: Post-Procesing passed parameter

Post by shypike »

Adding more parameters might be become a problem.
I'll make a note for a future solution, possibly using an environment variable.
Sparkss
Newbie
Newbie
Posts: 3
Joined: September 14th, 2014, 10:53 am

Re: Post-Procesing passed parameter

Post by Sparkss »

Thank you for your consideration.
Post Reply