nzbget 11.0-testing-r684

Announcements about new stable and testing releases.
Subscribe to the forum for e-mail notifications.
Forum rules
This forum is readonly and is intended to inform users about new releases.
You can subscribe to the forum to receive e-mail notifications.
Locked
hugbug
Developer & Admin
Posts: 7467
Joined: 09 Sep 2008, 11:58
Location: Germany

nzbget 11.0-testing-r684

Post by hugbug » 17 May 2013, 20:49

nzbget 11.0-testing-r684

Changes since nzbget 11.0-testing-r647
  • added possibility to set post-processing parameters for history items;
    • pp-parameters can now be viewed and changed in history dialog in web-interface;
    • useful before post-processing again;
    • new action <HistorySetParameter> in RPC-method <editqueue>;
    • new action <O> in remote command <--edit/-E> for history items (subcommand <H>);
  • added support for manual par-check:
    • if option <ParCheck> is set to <Manual> and a damaged download is detected the program downloads all par2-files but doesn't perform par-check; the user must perform par-check/repair manually then (possibly on another, faster computer);
    • old values <yes/no> of option <ParCheck> renamed to <Force> and <Auto> respectively;
    • when set to <Force> all par2-files are always downloaded;
    • removed option <LoadPars> since its functionality is now covered by option <ParCheck>;
    • result of par-check can now have new value <Manual repair necessary>;
    • field <ParStatus> in RPC-method <history> can have new value <MANUAL>;
    • parameter <NZBPP_PARSTATUS> for pp-script can have new value <4 = manual repair necessary>;
    • extended pp-script <EMail.py> to handle ParStatus=4 (manual);
  • when download is resumed in web-interface the option <ParCheck=Force> is respected and all par2-files are resumed (not only main par2-file);
  • par-checker and renamer now add messages into the log of pp-item (like unpack- and pp-scripts-messages); these message now appear in the log created by scripts Logger.py and EMail.py;
  • improved unicode support in XML-RPC and JSON-RPC;
  • when logging messages from a post-processing script, a short name of the script is now used as prefix if possible:
    • a short name doesn't include subdirectory name or file extension;
    • RPC-method <configtemplates> returns new field <DisplayName> representing the short name of the script which is recommended for using in UI;
  • improved unicode support in pp-script Logger.py;
  • automatic deletion of backup-source files after successful par-repair; important when repairing renamed rar-files since this could cause failure during unpack;
  • 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;
  • 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);
  • made pp-scripts EMail.py and Logger.py compatible with python3 (python2 is OK too);
  • configuration can now be saved in web-interface even if there were no changes made but if obsolete or invalid options were detected in the config file; the saving removes invalid entries from config file;
  • option <ControlPassword> can now be set to en empty value to disable authentication; useful if nzbget works behind other web-server with its own authentication;
  • when deleting downloads via web-interface a proper hint regarding deleting of already downloaded files from disk depending on option <DeleteCleanupDisk> is displayed;
  • if a news-server returns empty or bad article (this may be caused by errors on the news server), the program tries again from the same or other servers (in previous versions the article was marked as failed without other download attempts);
  • small improvement in multithread synchronisation of download queue;
  • added link to catalog of pp-scripts to web-interface;
  • 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;
  • fixed: when option <InterDir> was used the files extracted from archives were not processed/deleted by option <ExtCleanupDisk>;
  • fixed: spaces in option <ExtCleanupDisk> prevented its correct operation;
  • fixed: failed to read download queue from disk if post-processing queue was not empty;
  • fixed: when a duplicate file was detected during download the program could hang;
  • fixed: symbol <DISABLE_TLS> must be defined in project settings, defining it in <win32.h> didn't work properly (Windows only);
  • fixed: crash when adding malformed nzb-files with certain structure (Windows only);
  • fixed: for pp-scripts saved using windows line endings (CR,LF) the descriptions of options were not displayed correctly on settings page;
  • fixed: by deleting of a partially downloaded nzb-file from queue, when the option <DeleteCleanupDisk> was active, the file <_brokenlog.txt> was not deleted preventing the directory from automatic deletion;
  • fixed: remote command <--list> for history items may fail with segfault on certain par-status.
Other changes since nzbget 10.2
  • 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>);
    • history dialog shows status of every script;
    • for details see topic Introducing new post-processing scripts concept;
  • the old example post-processing script replaced with two new scripts:
    • EMail.py - sends E-Mail notification;
    • Logger.py - saves the full post-processing log of the job into file _postprocesslog.txt;
    • both pp-scripts are written in python and work on Windows too (in addition to Linux, Mac, etc.);
  • added new feature <split download> which creates new download from selected files of source download;
    • new command <Split> in web-interface in edit download dialog on page <Files>;
    • new action <S> in remote command <--edit/-E>;
    • new action <FileSplit> in JSON-/XML-RPC method <editqueue>;
  • reworked post-processor queue:
    • only one job is created for each nzb-file; no more separate jobs are created for par-collections within one nzb-file;
    • option <AllowReProcess> removed; a post-processing script is called only once per nzb-file, this behavior cannot be altered anymore;
    • with a new feature <Split> individual par-collections can be processed separately in a more effective way than before
  • improved unicode (utf8) support:
    • non-ascii characters are now correctly transferred via JSON-RPC;
    • correct displaying of nzb-names and paths in web-interface;
    • it is now possible to use non-ascii characters on settings page for option values (such as paths or category names);
  • if username and password are defined for a news-server the authentication is now forced (in previous versions the authentication was performed only if requested by server); needed for servers supporting both anonimous (restricted) and authorized (full access) accounts;
  • added option <ExtCleanupDisk> to automatically delete unwanted files (with specified extensions) after successful par-check or unpack;
  • updated forum URL in about dialog in web-interface;
  • fixed: download time in statistics were incorrect if the computer was put into standby (thanks Frank Kuypers for the patch).
Upgrade from 10.2 or older versions
  • If you use a third-party post-processing script (not the default script supplied with NZBGet), please make sure the author of the script has updated it for NZBGet 11. Check Catalog of post-processing scripts;
  • After upgrade the downloads in queue will not have any pp-scripts assigned to them. You need to manually open every download and assign the scripts on page <PP-Parameters>. If you have a large queue it might be easier to remove all items and readd them to automatically assign scripts according to option <DefScript> (which you should of course configure first).
Download link

Locked

Who is online

Users browsing this forum: No registered users and 2 guests