Post
by Identifier » 18 Jan 2019, 20:11
[Sorry for the late reply - I forgot to subscribe to this thread to get notifications]
Ahh, ok, you're right - I have it listed in the global Extensions script list and it does get run on NZBs that I drop in the nzbs folder. However, it seems to be run after NZBGet does its category matching, so it's not matching my categories with wildcards. For example, I have a "Movies" category with alias "Movies*" so it catches things like Movies > SD, Movies > HD, etc.
Normally, when I get NZBs from a RSS feed, the item initially shows up in the Downloads with category "Movies > SD" in the Category column (with the blue 'URL' icon next to the NZB name), but then the category changes to just "Movies" a couple seconds later (presumably after it downloads the NZB from the URL). And the rules in my "Movies" category get applied, such as putting it in my "Shared Movies" folder (since I have Category1.DestDir set to "/shares/Public/Shared Movies") and running videoSort and the other scripts in Category1.Extensions.
But for NZBs dropped in the nzbs folder, MetaCategory does run now and correctly assigns the category (for example "Movies > HD"), but the category just stays that way during the whole download & post processing and never switches to "Movies". The rules in my "Movies" category never get applied, and the resulting files end up in the "${MainDir}/completed/Movies _ HD" folder (since I have AppendCategoryDir set to Yes), and videoSort doesn't run etc.
Is there any way to make NZBGet do category wildcard matching after scan scripts have been run?