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
|
958c2f97ec
|
refactor: discarding of download queue is now less complicated and not depend on diskstate version
|
2013-04-30 20:12:07 +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
|
5b5057dee0
|
fixed: failed to read download queue from disk if post-processing queue was not empty
|
2013-04-29 19:24:44 +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
|
f1ddf9dc2b
|
addition to r568: corrected saving of diskstate for post-processor queue
|
2013-03-04 22:14:15 +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
|
5cf4b4663f
|
addition to r568: corrected diskstate version check
|
2013-02-28 20:47:30 +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
|
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
|
ed0c5908ce
|
fixed few compiler warnings
|
2012-07-01 14:56:28 +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
|
e41731ce23
|
by saving the queue to disk now using relative paths for the list of compeled files to reduce the file's size
|
2009-09-26 15:21:11 +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
|
c37b8f37e2
|
fixed: the discarding of download queue did not work (bug introduced in r346)
|
2009-09-19 14:33:41 +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
|
10e64e04fe
|
fixed: option <ContinuePartial> did not work
|
2009-06-24 17:09:19 +00:00 |
|
Andrey Prygunkov
|
1a417b9d63
|
fixed: discarding of download queue (option <reloadqueue=no>) didn't work (bug introduced in r320
|
2009-06-13 16:47:26 +00:00 |
|
Andrey Prygunkov
|
123cfe6a38
|
added <binary> flag by opening of all files to explicitly set binary mode for compatibility with OSes which do not do that by default (like Posix does)
|
2009-06-11 21:13:37 +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
|
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
|
0da593a008
|
improved the speed of deleting of groups from download queue (by avoiding the saving of queue after the deleting of each individual file)
|
2009-03-04 22:46:56 +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
|
b1e1b0f6ac
|
fixed: download queue could not be discarded on program start (ReloadQueue=no) (bug introduced in r258)
|
2008-11-30 13:22:02 +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
|
f130d0c3bf
|
fixed: error by loading of download queue from disk if any of nzb-files was added via client request (not from incoming directory) - bug introduced in r211
|
2008-08-28 17:01:54 +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
|
83a405db8b
|
fixed: by discarding of download-queue not all state-files were deleted from disk
|
2008-03-07 17:15:00 +00:00 |
|
Andrey Prygunkov
|
cdddecb834
|
added missed files and fixed the discarding of post-proccessor-queue
|
2008-03-07 16:45:28 +00:00 |
|
Andrey Prygunkov
|
faf528a94e
|
added the saving and restoring of the post-processor-queue (if server was stopped before all items were processed); new option <ReloadPostQueue>
|
2008-03-07 16:20:27 +00:00 |
|
Andrey Prygunkov
|
fff550ca37
|
fixed few incompatibility-issues with unslung-platform on nslu2 (ARM)
|
2008-03-03 17:20:46 +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
|
984f8b2dd9
|
fixed another warning on GCC (Linux)
|
2008-02-05 17:57:20 +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 |
|
Andrey Prygunkov
|
9438f91547
|
added XMLRPC-command <listgroups>
|
2008-02-02 15:26:07 +00:00 |
|
Andrey Prygunkov
|
40b7b335b1
|
improved decoding speed (up to 20% faster); added new option <crccheck> to bypass crc-calculation on slow CPUs
|
2008-01-04 17:08:47 +00:00 |
|
Andrey Prygunkov
|
b85a36944d
|
implemented decode-on-the-fly-technique to reduce disk-io; intermediate files with articles' source text are not created anymore, but only intermediate files with decoded data; futher, decoder can write decoded data directly to the destination file (without any intermediate files at all), this eliminates the necessity of joining of articles later (option <directwrite>)
|
2007-12-31 16:30:47 +00:00 |
|