Andrey Prygunkov
|
5c364896d3
|
added support for rar-files with non-standard extensions (such as .001, etc.)
|
2013-05-21 20:21:52 +00:00 |
|
Andrey Prygunkov
|
9ab955d026
|
refactor: more consistent using of c-headers
|
2013-05-14 20:20:52 +00:00 |
|
Andrey Prygunkov
|
e3e197a917
|
1) option <ExtCleanupDisk> now checks not only file extensions but any substring at the end of file name (in particular this allows to delete file _brokenlog.txt); 2) fixed: when option <InterDir> was used the files extracted from archives were not processed/deleted by option <ExtCleanupDisk>
|
2013-05-06 18:58:18 +00:00 |
|
Andrey Prygunkov
|
96c30c509b
|
fixed: spaces in option <ExtCleanupDisk> prevented its correct operation
|
2013-05-02 20:48:32 +00:00 |
|
Andrey Prygunkov
|
9d03eb1ad4
|
fixed: when option <InterDir> was active and the download after unpack contained rar-file with the same name as one of original files (sometimes happen with included subtitles) the original rar-file was kept with name <.rar_duplicate1> even if the option <UnpackCleanupDisk> was active
|
2013-04-28 20:29:19 +00:00 |
|
Andrey Prygunkov
|
6bb760375e
|
added option <ExtCleanupDisk> to automatically delete unwanted files (with specified extensions) after successful par-check or unpack
|
2013-04-24 20:16:04 +00:00 |
|
Andrey Prygunkov
|
f28b35bd28
|
reworked concept of post-processing scripts: multiple scripts can be assigned to each nzb-file; all assigned scripts are executed after the nzb-file is downloaded and internally processed (unpack, repair); option <PostProcess> is obsolete; new option <ScriptDir> sets directory where all pp-scripts must be stored; new option <DefScript> sets the default list of pp-scripts to be assigned to nzb-file when it's added to queue; new option <CategoryX.DefScript> to set the default list of pp-scripts on a category basis; the execution order of pp-scripts can be set using new option <ScriptOrder>; there are no separate configuration files for pp-scripts; configuration options and pp-parameters are defined in the pp-scripts; script configuration options are saved in nzbget configuration file (nzbget.conf); changed parameters list of RPC-methods <loadconfig> and <saveconfig>; new RPC-method <configtemplates> returns configuration descriptions for the program and for all pp-scripts; configuration of all scripts can be done in web-interface; the pp-scripts assigned to a particular nzb-file can be viewed and changed in web-interface on page <pp-parameters> in the edit download dialog; option <PostPauseQueue> renamed to <ScriptPauseQueue> (the old name is still recognized); new option <ConfigTemplate> to define the location of template configuration file (in previous versions it must be always stored in <WebDir>)
|
2013-04-15 20:06:05 +00:00 |
|
Andrey Prygunkov
|
58b0a17986
|
reworked post-processor queue: 1) only one job is created for each nzb-file; no more separate jobs are created for par-collections within one nzb-file; 2) option <AllowReProcess> removed; a post-processing script is called only once per nzb-file, this behavior cannot be altered anymore; 3) with a new feature <Split> (see next commits) individual par-collections can be processed separately in a more effective way than before
|
2013-04-06 20:25:07 +00:00 |
|
Andrey Prygunkov
|
987997a986
|
fixed: when option <UnpackCleanupDisk> is active the unpacked archive-files (second level archives) could be deleled too (mostly affected 7-Zip archives but sometimes also rar-archives if the second level rar-files had same names as the first level rars)
|
2013-03-11 20:03:47 +00:00 |
|
Andrey Prygunkov
|
27ef79ca27
|
immediately clearing post-process progress label after unpack to avoid status update lag in web-interface
|
2013-03-11 20:00:49 +00:00 |
|
Andrey Prygunkov
|
5e4a99c1ad
|
addition to r572: changed the log-messages for deleting of 7-zip-files to <info> too
|
2013-03-04 21:28:37 +00:00 |
|
Andrey Prygunkov
|
c89824bf25
|
the log-messages <deleting file *file*> (when option <UnpackCleanupDisk> is active) and <moving file *file* to *destination*> are now printed as <info> instead of <detail> (since <detail> is for article related messages whereas <info> is more suitable for file related messages)
|
2013-03-04 20:28:27 +00:00 |
|
Andrey Prygunkov
|
1230d9cdd4
|
added fast renaming of intentionally misnamed (rar-) files; the new renaming algorithm doesn't require full par-scan and restores original filenames in just a few seconds, even on very slow computers (NAS, media players, etc.); the fast renaming is performed automatically when requested by the built-in unpacker (option <Unpack> must be active)
|
2013-03-04 19:55:36 +00:00 |
|
Andrey Prygunkov
|
382faa49cb
|
added new option <InterDir> to put intermediate files during download into a separate directory (instead of storing them directly in destination directory (option <DestDir>); when nzb-file is completely (successfully) downloaded, repaired (if neccessary) and unpacked the files are moved to destination directory (option <DestDir> or <CategoryX.DestDir>); intermediate directory can significantly improve unpack performance if it is located on a separate physical hard drive
|
2013-03-01 20:32:17 +00:00 |
|
Andrey Prygunkov
|
749b4d3083
|
when a history item is post-processed again and the archive files were previously deleted because of option <UnpackCleanupDisk> the post-processing goes directly to script stage; if the archive files were kept, the full post-processing including unpack is performed instead
|
2013-02-28 20:23:50 +00:00 |
|
Andrey Prygunkov
|
940448ffae
|
added built-in unpack: 1) rar and 7-zip formats are supported (via external Unrar and 7-Zip executables); 2) new options <Unpack>, <UnpackPauseQueue>, <UnpackCleanupDisk>, <UnrarCmd>, <SevenZipCmd>; 3) web-interface now shows progress and estimated time during unpack (rar only; for 7-Zip progress is not available due to limitations of 7-Zip) 4) when built-in unpack is enabled, the post-processing script is called after unpack and possibly par-check/repair (if needed); 5) for nzb-files containing multiple collections (par-sets) the post-processing script is called only once, after the last par-set; 6) new parameter <NZBPP_UNPACKSTATUS> passed to post-processing script; 7) if the option <AllowReProcess> is enabled the post-processing-script is called after each par-set (as in previous versions); 8) example post-processing script updated: removed unrar-code, added check for unpack status; 9) new field <UnpackStatus> in result of RPC-method <history>; 10) history-dialog in web-interface shows three status: par-status, unpack-status, script-status; 11) with two built-in special post-processing parameters <*Unpack:> and <*Unpack:Password> the unpack can be disabled for individual nzb-file or the password can be set; 12) built-in special post-processing parameters can be set via web-interface on page <PP-Parameters> (when built-in unpack is enabled).
|
2013-02-06 22:04:50 +00:00 |
|