[New Feature] Changing category changes pp-parameters

Discuss newly added features or request new features.
Post Reply
hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

[New Feature] Changing category changes pp-parameters

Post by hugbug » 13 Jun 2014, 22:04

When changing category in web-interface the post-processing parameters are now automatically updated according to new category settings:
  • only parameters which are different in old and new category are changed;
  • parameters which present in both or in neither categories are not changed;
  • that ensures that only the relevant parameters are updated and parameters which were manually changed by user remain they settings when it make sense;
  • in the "download details dialog" the new parameters are updated on the postprocess-tab directly after changing of category and can be controlled before saving;
  • in the "edit multiple downloads dialog" the parameters are updated individually for each download on saving;
  • new action "CP" of remote command "--edit/-E" for groups to set category and apply parameters;
  • new action "GroupApplyCategory of RPC-method "editqueue" for the same purpose'
Example 1
Ttwo categories: TV and Movies. TV has pp-script NzbToSickbeard and Movies has NzbToCouchpotato. There are also two standard pp-scripts Logger and EMail.
An nzb was added for category TV. It becomes NzbToSickbeard activated and all other scripts are inactive.
Now change category to Movies. Script NzbToSickbeard will be deactivated and script NzbToCouchpotato will be activated.
Now manually activate Logger. Then change category back to TV. NzbTo-scripts get reversed, Logger remains active.

Example 2
TV has NzbToSickbeard and Logger. Movies has NzbToCouchpotato and Logger.
Add nzb for category TV. It becomes NzbToSickbeard and Logger activated. Now manually deactivate Logger.
Then change category to Movies. Script NzbToSickbeard will be deactivated and script NzbToCouchpotato will be activated. Logger remains inactive.

clintonhall
Posts: 449
Joined: 15 Dec 2012, 01:52
Location: Australia
Contact:

Re: [New Feature] Changing category changes pp-parameters

Post by clintonhall » 14 Jun 2014, 10:42

Ah, brilliant.

And I like the examples ;)

Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests