NewsMan Pro contains a built-in post processing script engine that allows you to build scripts to perform all kinds of processing after messages have been downloaded. With the release of version 2.7, NewsMan Pro now contains integrated support for Par2 verification and repair as well as the ability to extract Rar file sets. These processes are handled through the post processing script engine.
Creating Post Processing Scripts
Before you can use post processing, you must create the scripts that you want to use. NewsMan Pro gives you the ability to create and save your scrips as
Profiles.
You can access the Post Processing Profiles from the
Tools main menu and also from whatever dialog you are using to select the Post Processing Profile to be used.
A script profile can contain up to five post processing steps. The Post Processing Step Library allows you to create the steps you will want to use in your scripts.
Once you have created the desired steps in the Step Library, you can create your Post Processing Profiles using the Profile Editor.
Using Post Processing Profiles
NewsMan Pro uses the concept of a Post Processing Set when applying post processing scripts to downloaded attachments. To generate a post processing set, simply select the post processing profile you want to use when adding messages to the download queue (using the
Queue Wizard),
or when manually saving attachments from previously downloaded messages.
Par2 Verification/Repair
In order to use the integrated Par2 processing, it is vital that the post processing set contains the Par2 index file as part of the set, so make sure that you select this message or attachment when generating the post processing set. It is generally recommended that the Par2 processing step be the first step of your profile. If the Par2 step fails, subsequent steps will not be executed.
When the Par2 index is processed, the folder where the Par2 file is located will be scanned for content. If files are misnamed, they will be renamed automatically if the Par2 process can successfully detect them. Data in broken files will be included as available data blocks whenever possible to reduce the need for Par2 recovery volumes. If recovery volumes are required, NewsMan Pro will automatically add them to the download queue, or release them from "Hold" status if they are already queued. Once the recovery volumes are downloaded and saved, the post processing script will resume in order to repair the file set.
Note: Post processing sets will not automatically resume in the following circumstances:
- Attachment Auto-Save is Disabled
- Using post processing when manually saving attachments
Rar set extraction
When using the integrated Rar extraction process, NewsMan Pro will search for the first file in the set by searching the folder where the files were saved. If multiple sets are in the target folder, each set will be processed in turn. If a set is successfully extracted, the original Rar files will be moved to a folder named "Backup". It is advisable to have Newsman Pro save attachments to a separate destination folder for different post processing sets to prevent premature extraction of unfinished Rar sets.