[Scan-script] MetaCategory - set category from nzb-file meta-tag

Share your scripts or request scripts with specific features.
Forum rules
Please keep the forum clean - one topic per script. Questions not related to a specific script should be posted in Support forum.
womo
Posts: 9
Joined: 11 Jun 2020, 20:48

Re: [Scan-script] MetaCategory - set category from nzb-file meta-tag

Post by womo » 26 Jun 2020, 17:21

Not working for me for some reason. I have a category I named Anime with extension script set to pp-script testprint.py, a one-liner that just outputs text to log, and it's destdir set to a test folder. For it's Aliases I put TV* . I have MetaCategory enabled in global extensions. testprint.py does print out the line as expected without error when specified in global extensions.

Then i put an nzb with category tag "TV > Anime" into the NZBGet watched folder. NZBGet picks up the nzb and downloads correctly, but the file ends up in folder TV _ Anime, not the test folder, and the testprint.py line doesn't appear in the log.

The log shows MetaCategory running as usual and setting the category properly to "TV > Anime", but NZBGet doesn't seem to be using the category to match the Alias even though its set to TV* and MetaCategory definitely set the category to "TV > Anime"

This is using the watched folder to add the nzb, but the same thing happens when Sonarr is requesting via API. This is as expected though, since Sonarr uses the category from it's downloader settings and this wouldn't be changed by MetaCategory and therefore not matched to alias TV* .

Not sure what I'm not getting here to make this work.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests