Page 1 of 1

More then one Watched Folder.

Posted: May 24th, 2012, 4:34 am
by bbaraniec
Hi there,

Is there any chance to configure more then one watched folder? I'm running SAB on Nas and also on Nas I have Dropbox client. I would like to add another watched folder and share it with someone via dropbox.

Re: More then one Watched Folder.

Posted: May 24th, 2012, 9:06 am
by sander
bbaraniec wrote:Hi there,

Is there any chance to configure more then one watched folder? I'm running SAB on Nas and also on Nas I have Dropbox client. I would like to add another watched folder and share it with someone via dropbox.
As soon as SAB sees the NZB in the watched folder, it puts the NZB into the queue, and ... removes it from the wachted folder.

Is that what you want?

Re: More then one Watched Folder.

Posted: May 24th, 2012, 9:26 am
by bbaraniec
No what I'm looking for is following setup:
On all notebooks I have at home I have created a right mouse button shortcut and mapped "Watched folder" as network drive, so you can either copy file direct to watched folder or right click nzb and use send to option. That works perfect.
Occasionally my sister wants me to download something for her. Since watched folder is not available from outside my Lan I wanted to create a new share withing my Dropbox folder, share it with my sister and that folder should be second watched folder. So she can be at her place, find nzb file that she wants copy it to shared Dropbox folder and SAB will pick it up.
You get my point?

Re: More then one Watched Folder.

Posted: May 24th, 2012, 9:46 am
by bbaraniec
Well maybe this workaround could work but I need help here.
Let's assume those are the correct paths (ssh to my box):
/lvm/Dropbox/Upload - shared Dropbox folder
/lvm/sabnzbd/Upload - SABnzbd watched folder
Can I use symbolic link to link those two? If so what would be the proper command so the /lvm/Dropbox/Upload is only "shortcut" to /lvm/sabnzbd/Upload?
ln -s /lvm/Dropbox/Upload /lvm/sabnzbd/Upload?

Re: More then one Watched Folder.

Posted: May 24th, 2012, 10:01 am
by sander
I would solve it this way: create a script (running on your NAS each minute) that moves *.NZB from the Dropbox-watch folder into the SABnzbd watch folder.

BTW: How do you get the download back to your sister? Apparently she has no access to your NAS. Do you use another SAB-categories pointing to a Dropbox-folder for that? And if so, how do you know which download belong to your sister?

Re: More then one Watched Folder.

Posted: May 24th, 2012, 10:03 am
by sander
bbaraniec wrote:Well maybe this workaround could work but I need help here.
Let's assume those are the correct paths (ssh to my box):
/lvm/Dropbox/Upload - shared Dropbox folder
/lvm/sabnzbd/Upload - SABnzbd watched folder
Can I use symbolic link to link those two? If so what would be the proper command so the /lvm/Dropbox/Upload is only "shortcut" to /lvm/sabnzbd/Upload?
ln -s /lvm/Dropbox/Upload /lvm/sabnzbd/Upload?

AFAIK, SAB only watches files in one directory, and not subdirectories in that one directory. And symbolic links cannot merge two directories to one directory.

Re: More then one Watched Folder.

Posted: May 24th, 2012, 10:20 am
by bbaraniec
She comes from time to time and then I copy her stuff to external hdd. 99% of my downloads are from CouchPotato and SickBeard they are landing in proper folders and processed after. Everything that is being downloaded manually has no category and it's not being processed.
If symlink ain't enough is there a way to do something like Windows shortcut?

Re: More then one Watched Folder.

Posted: May 24th, 2012, 10:50 am
by sander
bbaraniec wrote: If symlink ain't enough is there a way to do something like Windows shortcut?
AFAIK, a windows shortcut can do less than a symlink...

Re: More then one Watched Folder.

Posted: May 24th, 2012, 12:03 pm
by bbaraniec
I was able to create a proper symlink but not without problems. Even thou that original folder and symlinked one have the same privileges I can access original one but not the one linked. Any ideas?
I should have add that I'm trying to access it from Windows 7.

Re: More then one Watched Folder.

Posted: May 24th, 2012, 12:05 pm
by sander
bbaraniec wrote:I was able to create a proper symlink but not without problems. Even thou that original folder and symlinked one have the same privileges I can access original one but not the one linked. Any ideas?
Nope. I have no NAS.

But where is this leading to? Will this be one directory ... ?

Re: More then one Watched Folder.

Posted: May 24th, 2012, 12:13 pm
by bbaraniec
Folder Test is orignal created

Code: Select all

Nas:/c/Bartek# ls -lh
total 16K
drwxrwx---   2 bartekb RW 4.0K 2012-02-03 20:42 Backups
drwxrwx---  10 bartekb RW 4.0K 2011-11-21 23:33 My documents
drwxrwxrwx+  2 bartekb RW 4.0K 2012-05-24 18:54 Test
Nas:/c/Bartek#
This is symlink:

Code: Select all

Nas:/c/Bartek# ls -lh /c/Transfer/
total 8.0K
drwxrwxr-x+ 6 admin   root 4.0K 2011-12-31 00:39 Sabnzbd
lrwxrwxrwx  1 bartekb RW     14 2012-05-24 18:54 Test -> /c/Bartek/Test
Nas:/c/Bartek#
/c is name of volume group, its basically lvm

Problem was with samba configuration, following line needs to added to smb.conf in global section:

Code: Select all

wide links = yes