Page 1 of 1

Watch Folder definitions are broken(?)

PostPosted: Mon Oct 30, 2017 5:10 pm
by Tib
I used to work heavily with watch folders. Just throw nzb files (movie_xyz.nzb, tvshow_s01e01.nzb, rockalbum.nzb) into the corresponding directory:

Code: Select all
.\watchfolder\movies\
.\watchfolder\tv_series\
.\watchfolder\music\

...then Newsbin Pro did all the magic. Downloading, par2 repairs, unrar and done! Yay! :D

Code: Select all
.\downloaded\movies\movie_xyz\
.\downloaded\tv_series\tvshow_s01e01\
.\downloaded\music\rockalbum\

...ready for getting "consumed". ;-)

Since v6.73 this seems to be broken. With my old setting everything gets sorted into a folder which Newsbin generates itself: Nzbs :shock:

So the watch folder example above results in this directory structure:

Code: Select all
.\downloaded\Nzbs\movie_xyz\
.\downloaded\Nzbs\tvshow_s01e01\
.\downloaded\Nzbs\rockalbum\

...where does the "./Nzbs/" folder come from? I don't use this anywhere and its not configured anywhere. Newsbin Pro does create this folder.

This is my Newsbin.nbi ini setting for the watchfolder mechanism:

Code: Select all
AddTop=1
DownloadPath=C:\downloaded\$(NZBPATH)\$(NZBFILE)\
UnRARPath=C:\downloaded\$(NZBPATH)\$(NZBFILE)\
UseDownloadPath=1
UseProfile=0
UseUnRARPath=1
WatchPath=C:\watchfolder\

I use this config since about 2013 and this used to work perfectly. With the v6.73 this seems to be broken.

Can i help to hunt this bug down?

I did some tests:

$(NZBFILE) : creates a folder accordingly to the nzb filename. Perfect! :-)

but

$(LASTPATH) : doesn't create any folder in the DownloadPath. (i don't unterstand this definition)

$(NZBPATH) : creates a "Nzbs" folder in the DownloadPath directory

$(DOWNLOADPATH) : doesn't create any folder in the DownloadPath.

...so these definitions seem to be broken? Or am i doing something wrong?

Sorry for my bad English and many regards from Germany! :-)

Re: Watch Folder definitions are broken(?)

PostPosted: Mon Oct 30, 2017 5:48 pm
by itimpi
In my experience the Nzbs folder is normally created under the Newsbin DATA path, not under the DOWNLOAD path.

Re: Watch Folder definitions are broken(?)

PostPosted: Mon Oct 30, 2017 9:02 pm
by Quade
Yeah, I'd call that a bug I think. All NZB's get copied to the NZB folder in the data folder before loading but that doesn't mean it needs to include that folder name in the output.

I'll have to look. I don't look till people report issues like this so, when you encounter weird things. Let me know right away.

Thanks for the report.

Re: Watch Folder definitions are broken(?)

PostPosted: Wed Nov 01, 2017 4:14 pm
by Quade
Fixed the NZBs thing.