More then one Watched Folder.

Feel free to talk about anything and everything in this board.
Post Reply
bbaraniec
Full Member
Full Member
Posts: 110
Joined: July 29th, 2011, 5:43 am

More then one Watched Folder.

Post 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.
-
Kind regards
Bartek
User avatar
sander
Release Testers
Release Testers
Posts: 8829
Joined: January 22nd, 2008, 2:22 pm

Re: More then one Watched Folder.

Post 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?
bbaraniec
Full Member
Full Member
Posts: 110
Joined: July 29th, 2011, 5:43 am

Re: More then one Watched Folder.

Post 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?
-
Kind regards
Bartek
bbaraniec
Full Member
Full Member
Posts: 110
Joined: July 29th, 2011, 5:43 am

Re: More then one Watched Folder.

Post 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?
Last edited by bbaraniec on May 24th, 2012, 9:49 am, edited 1 time in total.
-
Kind regards
Bartek
User avatar
sander
Release Testers
Release Testers
Posts: 8829
Joined: January 22nd, 2008, 2:22 pm

Re: More then one Watched Folder.

Post 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?
User avatar
sander
Release Testers
Release Testers
Posts: 8829
Joined: January 22nd, 2008, 2:22 pm

Re: More then one Watched Folder.

Post 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.
bbaraniec
Full Member
Full Member
Posts: 110
Joined: July 29th, 2011, 5:43 am

Re: More then one Watched Folder.

Post 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?
-
Kind regards
Bartek
User avatar
sander
Release Testers
Release Testers
Posts: 8829
Joined: January 22nd, 2008, 2:22 pm

Re: More then one Watched Folder.

Post 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...
bbaraniec
Full Member
Full Member
Posts: 110
Joined: July 29th, 2011, 5:43 am

Re: More then one Watched Folder.

Post 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.
Last edited by bbaraniec on May 24th, 2012, 12:08 pm, edited 1 time in total.
-
Kind regards
Bartek
User avatar
sander
Release Testers
Release Testers
Posts: 8829
Joined: January 22nd, 2008, 2:22 pm

Re: More then one Watched Folder.

Post 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 ... ?
bbaraniec
Full Member
Full Member
Posts: 110
Joined: July 29th, 2011, 5:43 am

Re: More then one Watched Folder.

Post 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
-
Kind regards
Bartek
Post Reply