Andrey Prygunkov
|
381a9a28b0
|
pp-scripts terminated with unknown status are now considered failed (status=FAILURE instead of status=UNKNOWN)
|
2013-05-21 20:32:41 +00:00 |
|
Andrey Prygunkov
|
9ab955d026
|
refactor: more consistent using of c-headers
|
2013-05-14 20:20:52 +00:00 |
|
Andrey Prygunkov
|
ba35c662ea
|
small improvement in multithread synchronisation: do not create mutexex for each file-object but instead only for active objects (which are being downloaded at the moment)
|
2013-05-05 21:17:23 +00:00 |
|
Andrey Prygunkov
|
27651f17bf
|
improvement in JSON-/XML-RPC: all ID fields including NZBID are now persistent and remain their values after restart; this allows for third-party software to identify nzb-files by ID; method <history> now returns ID of NZB-file in the field <NZBID>; in versions up to 0.8.0 the field <NZBID> was used to identify history items in the edit-commands <HistoryDelete>, <HistoryReturn>, <HistoryProcess>; since version 9 field <ID> is used for this purpose; in versions 9-10 field <NZBID> still existed and had the same value as field <ID> for compatibility with version 0.8.0; the compatibility is not provided anymore; this change was needed to provide a consistent using of field <NZBID> across all RPC-methods
|
2013-04-30 20:10:10 +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
|
025cd043d3
|
history dialog now shows status of every script
|
2013-04-23 18:20:52 +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
|
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 |
|
Andrey Prygunkov
|
87a93745cb
|
when the par-checked requests more par-files, they get an extra priority and are downloaded before other files regardless of their priorities; this is needed to avoid hanging of par-checker-job if a file with a higher priority gets added to queue during par-check
|
2013-01-28 23:22:15 +00:00 |
|
Andrey Prygunkov
|
5e68096a2e
|
added validation for option <CategoryX.DestDir>; removed a superfluous slash in the generated destination path
|
2013-01-22 22:16:18 +00:00 |
|
Andrey Prygunkov
|
e4ed1c8fd7
|
categories can now have their own destination directories
|
2012-12-18 22:29:24 +00:00 |
|
Andrey Prygunkov
|
f5e0b67305
|
extended remote command <--append/-A> with optional parameters: <T> - adds the file/URL to the top of queue; <P> - pauses added files; <C category-name> - sets category for added nzb-file/URL; <N nzb-name> - sets nzb filename for added URL; the old switches <--category/-K> and <--top/-T> are deprecated but still supported for compatibility
|
2012-11-12 21:11:42 +00:00 |
|
Andrey Prygunkov
|
2a56410543
|
improved performance of RPC-command <listgroups>
|
2012-07-02 20:04:35 +00:00 |
|
Andrey Prygunkov
|
3110181a9f
|
fixed: when adding url the nzb name was not set properly (bug introduced in r419)
|
2012-06-24 16:07:16 +00:00 |
|
Andrey Prygunkov
|
3e81a03087
|
refactor: corrected inconsistent include of <config.h>
|
2012-06-23 18:58:56 +00:00 |
|
Andrey Prygunkov
|
4a069266d8
|
added new field <name> to nzb-info-object. It is initially set to the cleaned up name of the nzb-file. The renaming of the group changes this field. All RPC-methods related to nzb-object return the new field, the old field <NZBNicename> is now deprecated. The option <MergeNZB> now checks the <name>-field instead of <nzbfilename> (the latter is not changed when the nzb is renamed). New env-var-parameter <NZBPP_NZBNAME> for post-processing script.
|
2012-06-11 15:09:03 +00:00 |
|
Andrey Prygunkov
|
ab75a8b3e5
|
added the ability to queue URLs. The program automatically downloads nzb-files from given URLs and put them to download queue. When multiple URLs are added in a short time, they are put into a special URL-queue. The number of simultaneous URL-downloads are controlled via new option UrlConnections. With the new option ReloadUrlQueue can be controlled if the URL-queue should be reloaded after the program is restarted (if the URL-queue was not empty). New switch <-U> for remote-command <--append/-A> to queue an URL. New subcommand <-U> in the remote command <--list/-L> prints the current URL-queue. If URL-download fails, the URL is moved into history. With subcommand <-R> of command <--edit> the failed URL can be returned to URL-queue for redownload. The remote command <--list/-L> for history can now print the infos for URL history items. New XML/JSON-RPC command <appendurl> to add an URL or multiple URLs for download. New XML/JSON-RPC command <urlqueue> returns the items from the URL-queue. The XML/JSON-RPC command <history> was exteneded to provide infos about URL history items. The URL-queue obeys the pause-state of download queue. The URL-downloads support HTTP and HTTPS protocols.
|
2012-05-03 13:47:44 +00:00 |
|
Andrey Prygunkov
|
2631550c2f
|
corrected the address of Free Software Foundation in copyright notice; corrected the spelling of authors name (caused by new rules for translating of cyrillic names to latin alphabet / english spelling)
|
2011-05-24 12:52:41 +00:00 |
|
Andrey Prygunkov
|
08f86cbcf9
|
added priorities; new action <I> for remote command <--edit/-E> to set priorities for groups or individual files; new actions <SetGroupPriority> and <SetFilePriority> of RPC-command <EditQueue>; remote command <--list/-L> prints priorities and indicates files or groups being downloaded; ncurses-frontend prints priorities and indicates files or groups being download; new command <PRIORITY> to set priority of nzb-file from nzbprocess-script; RPC-commands <ListGroups> and <ListFiles> return priorities and indicate files or groups being downloaded
|
2011-03-12 11:48:13 +00:00 |
|
Andrey Prygunkov
|
a1482b9781
|
added renaming of groups; new subcommand <N> for command <--edit/-E>; new action <SetName> for RPC-method <editqueue>
|
2010-08-11 13:30:34 +00:00 |
|
Andrey Prygunkov
|
31940d8f58
|
nzbprocess-script (option <NZBProcess>) can now set category and post-processing parameters for nzb-file
|
2010-01-29 09:34:44 +00:00 |
|
Andrey Prygunkov
|
b1b6d6ace8
|
added field <PostTime> to result of RPC-Command <listfiles> and fields <MinPostTime> and <MaxPostTime> for command <listgroups>
|
2009-09-22 20:40:40 +00:00 |
|
Andrey Prygunkov
|
dc9e938510
|
Added message log to history items; new field <Log> is returned by RPC-command <history> for each item
|
2009-09-19 15:49:08 +00:00 |
|
Andrey Prygunkov
|
7d5225b2ba
|
added field <RemainingFileCount> to history items returned via RPC-command <history>
|
2009-08-23 12:18:44 +00:00 |
|
Andrey Prygunkov
|
feadf59fa0
|
added history: new option <KeepHistory>, new remote subcommand <H> for commands <L> (list history entries) and <E> (delete history entries), new RPC-command <History> and subcommand <HistoryDelete> for command <EditQueue>; changed the result code returning status <ERROR> for postprocessing script from <1> to <94>
|
2009-06-30 16:08:41 +00:00 |
|
Andrey Prygunkov
|
5484ccc0f0
|
added field <NZBID> to NZBInfo; the field is now also returned by XML-/JSON-RPC methods <listfiles>, <listgroups> and <postqueue>
|
2009-06-03 16:07:00 +00:00 |
|
Andrey Prygunkov
|
34fe0f1077
|
refactoring: NZBInfo-objects now holds the status of completed post-process jobs; that made the list of completed post jobs unnecessary
|
2009-06-03 16:00:35 +00:00 |
|
Andrey Prygunkov
|
441945d7e6
|
improved formatting of groups and added time info in curses output mode
|
2009-05-30 16:36:49 +00:00 |
|
Andrey Prygunkov
|
4b538b419a
|
refactoring: extended the meaning of DowloadQueue-object, which now contains file queue, post-job queue, list of completed post-jobs and list of nzb-infos; post-jobs now have references to nzb-infos, what eiliminates duplicate infos; since file queue and post-job queue are now accessed via DownloadQueue only one locking mechanism for both queues is needed
|
2009-05-24 14:26:53 +00:00 |
|
Andrey Prygunkov
|
bbdfb2b4f2
|
added modifier <O> to command <-E/--edit> for editing of post-processor-queue; following subcommands are supported: <+/-offset>, <T>, <B>, <D>; subcommand <D> supports deletion of queued post-jobs and active job as well; deletion of active job means the cancelling of par-check/repair or terminating of post-processing-script (including child processes of the script); updated remote-server to support new edit-subcommands in XML/JSON-RPC
|
2009-05-03 17:14:52 +00:00 |
|
Andrey Prygunkov
|
10269dc779
|
added new return code (93) for post-processing script to indicate successful processing; that results in cleaning up of download queue if option <ParCleanupQueue> is active
|
2009-04-23 20:39:07 +00:00 |
|
Andrey Prygunkov
|
503fb61ee1
|
added subcommands <F>, <G> and <S> to command line switch <-L/--list>, which prints list of files, groups or only status info respectively; extended binary communication protocol to transfer nzb-infos in addition to file-infos
|
2009-01-29 22:25:57 +00:00 |
|
Andrey Prygunkov
|
2c45a20ca7
|
cleaning up of download queue (option <ParCleanupQueue>) and deletion of source nzb-file (option <NzbCleanupDisk>) after par-repair now works also if par-repair was cancelled (option <ParTimeLimit>); since required par-files were already downloaded the repair in an external tool is possible
|
2008-12-10 22:04:06 +00:00 |
|
Andrey Prygunkov
|
42718d3f7a
|
added support for postprocess-parameters; new subcommand <O> of remote command <E> to add/modify pp-parameter for group (nzb-file); new XML-/JSON-RPC-subcommand <GroupSetParameter> of method <editqueue> for the same purpose; updated example configuration file and example postprocess-script to indicate new method of passing arguments via environment variables
|
2008-11-29 23:42:24 +00:00 |
|
Andrey Prygunkov
|
583b36667f
|
improved entering to paused state on connection errors (do not retry failed downloads if pause was activated)
|
2008-11-25 17:11:49 +00:00 |
|
Andrey Prygunkov
|
df7503cb3b
|
changed the method to pass arguments to postprocess/nzbprocess: now using environment variables (old method is still supported for compatibility with existing scripts)
|
2008-11-22 21:04:14 +00:00 |
|
Andrey Prygunkov
|
6aea979ca5
|
added option <MergeNzb> to automatically merge nzb-files with the same filename (useful by adding pars from a different source)
|
2008-10-24 20:08:49 +00:00 |
|
Andrey Prygunkov
|
34c7eb612a
|
added new subcommand <M> to edit-command <E> for merging of two (or more) groups (useful after adding pars from a separate nzb-file)
|
2008-10-23 18:29:40 +00:00 |
|
Andrey Prygunkov
|
08c6a9a73b
|
added option <DeleteCleanupDisk> to automatically delete already downloaded files from disk if nzb-file was deleted from queue (the download was cancelled)
|
2008-10-11 17:34:35 +00:00 |
|
Andrey Prygunkov
|
8c5ef66865
|
added support for nested categories
|
2008-08-28 17:37:09 +00:00 |
|
Andrey Prygunkov
|
01c343a13a
|
fixed: destination path for queue items contained superfluous slashes (harmless bug)
|
2008-08-17 14:02:55 +00:00 |
|
Andrey Prygunkov
|
7394813151
|
added option <NzbCleanupDisk> to delete source nzb-file after successful download and parcheck
|
2008-08-16 22:07:26 +00:00 |
|
Andrey Prygunkov
|
e28aa2ee67
|
added the categories: new option <AppendCategoryDir>; new switch <-K>; new command <K> in switch <-E>; new parameter in XML-/JSON-RPC-command <editqueue>; new parameter to post-process-scripts; scan the subdirectories of incoming nzb-directory; automatic moving of already downloaded files after the changing of category
|
2008-07-20 13:47:50 +00:00 |
|
Andrey Prygunkov
|
0e31bbdbd4
|
fixed: seg.fault if a file listed in nzb-file does not have any segments (articles)
|
2008-07-09 16:12:17 +00:00 |
|
Andrey Prygunkov
|
8399322238
|
added the compatibility with gcc 4.3
|
2008-06-27 20:00:04 +00:00 |
|
Andrey Prygunkov
|
1ca268e36a
|
refactored: moved global functions in unit <Util> to new class <Util> to prevent possible conflicts with system functions; added error-reporting by moving completed files from tmp- to dst-directory and added code to move files across drives if renaming fails
|
2008-02-07 18:23:59 +00:00 |
|
Andrey Prygunkov
|
8b3158de99
|
refactored: created new class NZBInfo and moved related fields from FileInfo into new class to eliminate the storing of duplicate data (nzb-summary) in each FileInfo-object; changed queue-fileformat to save/load NZBInfo and to prevent unneeded reload/-save of queue-files during parsing of nzb-file
|
2008-02-05 17:34:49 +00:00 |
|