#1
When assigning a category to a download in nzbget through nzb360, extension scripts for that category don't get triggered at all.
I checked nzbget's logs and while the category does get assigned, there's no logs about the extension scripts at all as if they were disabled or non-existent.
If I add a NZB to nzbget directly and set the category for it, then all works fine.

nzb360 version: 13.7
nzbget version: 21.0
#4
@Kev

Just tried v13.7.1.260 and I'm sad to report that the issue remains :(
Checked Nzbget logs and no difference between v13.7 and v13.7.1.260, the post-scripts don't get activated.

I also tried assigning the categories to Radarr downloads and Nzbget triggers the scripts fine there too.
#7
Which call's does the web interface make to trigger the PP scripts? I am calling exactly what my web interface calls, so I am not sure why this isn't working.
#8
Kev wrote:
Mon Jun 08, 2020 3:49 am
Which call's does the web interface make to trigger the PP scripts? I am calling exactly what my web interface calls, so I am not sure why this isn't working.
From looking at NZBget's API documentation, it looks like there's nothing to call to trigger the PP scripts.
When changing the category, you gotta use the "GroupApplyCategory" command parameter of the "editqueue" method.
Maybe you're using "GroupSetCategory" instead, which does the same as GroupApply but minus setting up the PP scripts.

Here's the "editqueue" method, there are the 2 parameters that almost do the same thing:

GroupSetCategory- Set category for group. Param contains category name.
GroupApplyCategory - Set or change category for groups and reassign pp-params according to category settings. Param contains category name.

Best regards
#9
Thanks for the info! I am using set, rather than apply, so that explains it. Not sure why they have two methods for this. Need to confirm Apply doesn't have any detrimental effects with non-PP script setups.
#10
Yes I can't think of any use for the set parameter. Not sure why it's there.
As for Apply, it will just behave like Set if there are no PP scripts associated with the category.