Code: Select all
nzbget -c ~/nzbget,conf -E O "password=rar_password" nzb_filename
Code: Select all
nzbget -E G O "*unpack:password=mypassword" 123
Code: Select all
nzbget -L G
You know, no real reason. More in a moment.
If I run the command, via the web interface, or the commandline, and it is done after the first file has been downloaded, does nzbget go back and unrar the first file?If you still want to do that the hard way the password can be set after adding to queue with:Were "123" is the ID of nzb-file which is printed by:Code: Select all
nzbget -E G O "*unpack:password=mypassword" 123
Code: Select all
nzbget -L G
Code: Select all
ConfigTemplate=${AppDir}/webui/nzbget.conf.template
BRN <60> dir /usr/local/bin/nzbget/webui/nz*
-rw-r--r--. 1 1001 66846 Jun 6 2018 /usr/local/bin/nzbget/webui/nzbget.conf.template
If direct unpack is disabled then unpacking is performed during post-processing stage; that's when the password is needed. If direct unpack is active the unpack attempt will be made after the first rar-file is downloaded. If the unpack fails due to wrong password the next unpack attempt will be made during post-processing (after all is downloaded).
Everything is at default for unpacking.hugbug wrote: ↑20 Mar 2019, 11:28If direct unpack is disabled then unpacking is performed during post-processing stage; that's when the password is needed. If direct unpack is active the unpack attempt will be made after the first rar-file is downloaded. If the unpack fails due to wrong password the next unpack attempt will be made during post-processing (after all is downloaded).
Make sure QueueDir is on a local drive (not on NAS). Otherwise the queue may be easily corrupted if NAS becomes unavialbale for a moment.
Users browsing this forum: No registered users and 54 guests