Category2.DestDir refuses to work

Get help, report and discuss bugs.
Post Reply
twinsuns
Posts: 5
Joined: 27 Jul 2019, 10:11

Category2.DestDir refuses to work

Post by twinsuns » 27 Jul 2019, 10:29

Hi there, I have this frustrating problem where it seems that nzbget refuses to use the DestDir of any category other than Category1.

The example here is that if the nzb has Category1 'Movies' it works fine and puts it in '${MainDir}/completed-for-plex/Movies' but anything in the Category2 'TV Shows' (or any other category it seems) will ignore '${MainDir}/completed-for-plex/TV Shows' and just put in the default '${MainDir}/completed'

I have tried everything I can think of including making sure category passed from sonarr is correct, escaping 'TV Shows' in the path, creating a 'TV-Shows' category with no spaces and using absolute paths. A TV Show nzb will be in the correct category when downloading but just will ignore its proper DestDir...

Hopefully I'm just missing something obvious. Thanks.

Annotation 2019-07-27 112210.jpg
Annotation 2019-07-27 112335.jpg

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: Category2.DestDir refuses to work

Post by hugbug » 27 Jul 2019, 15:14

The nzb-log contains messages about moving of files where we can see the paths used.
To inspect the log switch to history tab, click on an item which you want to inspect, then button "Log", then button "Save to file". Post the file to pastebin.com and the link to it here on forum. We'll look into this together.

twinsuns
Posts: 5
Joined: 27 Jul 2019, 10:11

Re: Category2.DestDir refuses to work

Post by twinsuns » 27 Jul 2019, 15:45

Thanks for the reply. I can't see anything helpful in the log but here you go: https://pastebin.com/vnJyKti1

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: Category2.DestDir refuses to work

Post by hugbug » 27 Jul 2019, 16:12

The log isn't useful indeed.
In history for this nzb item - is the category set to TV Shows?

To check the destination directory assigned to that item please open in a browser the url http://nzbget-ip:nzbget-port/jsonrpc/history. Please post it via pastebin, you can remove all other items to not expose your whole history.

twinsuns
Posts: 5
Joined: 27 Jul 2019, 10:11

Re: Category2.DestDir refuses to work

Post by twinsuns » 27 Jul 2019, 18:27

Yup it's set to TV Shows: https://pastebin.com/9utbkUsw

And here is an example of a Movie, to which it works and puts it the the correct folder: https://pastebin.com/iSzBBgwg

And here is the config file section for categories: https://pastebin.com/Rb7dRXy8

twinsuns
Posts: 5
Joined: 27 Jul 2019, 10:11

Re: Category2.DestDir refuses to work

Post by twinsuns » 27 Jul 2019, 18:40

Okay I think I figured it out, for some reason at the bottom of the config file was this mess: https://pastebin.com/b053czs3

So I assume that the two "Category2.DestDir=" entries are setting the path back to default.

Shall I remove all references to categories and keep the rest?

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: Category2.DestDir refuses to work

Post by hugbug » 27 Jul 2019, 20:24

twinsuns wrote:
27 Jul 2019, 18:40
Shall I remove all references to categories and keep the rest?
Please remove the wrong entries and keep the correct (probably first) ones.

twinsuns
Posts: 5
Joined: 27 Jul 2019, 10:11

Re: Category2.DestDir refuses to work

Post by twinsuns » 27 Jul 2019, 23:29

Great that fixed it! Thanks for the help!

Post Reply

Who is online

Users browsing this forum: No registered users and 45 guests