Automating File Movement

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
bigdaddyo811
Newbie
Newbie
Posts: 20
Joined: October 22nd, 2008, 10:15 am

Automating File Movement

Post by bigdaddyo811 »

I'm a noob so bear with me. I love this thing. It has solved all my frustrations with TV dwnloading. Here's my question:

I download all my shows and sort them with Sabnzbd onto the harddrive of the mac that I do downloads with.

I want however once the file is downloaded, unpacked and ready to be actually copied to a folder on a NAS I have in the closet as that is the server that all the rest of the computers in the house get their files from

Anyone know how to automate this on the mac mini I dwnload with or in the program itself?

I need for example for
Downloads->TV-> -> S03E05.mkv

to be copied to the equivalent folder on my NAS

thanks
bdo
Last edited by Anonymous on November 26th, 2008, 9:13 pm, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Automating File Movement

Post by shypike »

Why don't you tell SABnzbd to use the NAS folder directly?
Just set the "complete" folder in Config->Folders to the full NAS path.
Or use categories with category folders.
bigdaddyo811
Newbie
Newbie
Posts: 20
Joined: October 22nd, 2008, 10:15 am

Re: Automating File Movement

Post by bigdaddyo811 »

do you put the SMB:// in front?

I am on a mac.

If I put //192.168.1.150/NAS/TV Shows

it still saves it to the local drive (I'm assuming it cant find it).

Does Sabnzbd understand the smb:// in front?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Automating File Movement

Post by shypike »

SABnzbd uses whatever the operating system supports.
I don't know which syntax OSX requires.

How do the NAS paths look in the Finder?
bigdaddyo811
Newbie
Newbie
Posts: 20
Joined: October 22nd, 2008, 10:15 am

Re: Automating File Movement

Post by bigdaddyo811 »

- smb:// doesnt work
- just putting //192.168.1.150/drive etc.. doesnt work.

they both put the files in a new folder in the root directory called "192.168.1.150"..

anyone with a mac know how to do this?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Automating File Movement

Post by shypike »

Just guessing, but from what I know from Unix systems (and OSX is a Unix derivative),
you must "mount" shares so that they look like part of the local system.

E.g. when I want to use a USB drive, I do this:

mkdir /mnt/mydrive
mount /dev/sdb1 /mnt/mydrive

"/dev/sdb1" is the device name of the usb-drive. I then tell SABnzbd to use /mnt/mydrive.

I suppose something similar is needed for network shares.

Does this discussion help?
http://www.ozzu.com/macintosh-forum/mac ... 68618.html
Last edited by shypike on October 24th, 2008, 12:06 pm, edited 1 time in total.
bigdaddyo811
Newbie
Newbie
Posts: 20
Joined: October 22nd, 2008, 10:15 am

Re: Automating File Movement

Post by bigdaddyo811 »

Ok. That helped very much. I have it almost there.

I have mounted the drive and it is copying to the SMB share but still doing a duplicate.

The name of my drive is "HAMMER" and my tv shows go in a folder named "TV" with each name under that ", " etc..

I have entered:

/volumes/hammer/TV   under the "FOLDERS" setting.

The problem is that it is creating a new folder named "TV" under the existing TV folder each time it copies a show over. So I get

Hammer
- TV  (created by me)
   -   (created by me)
   - TV   (created by Sabnzbd)
      - (created by Sabnzbd)
        - Episode XX
   - (created by me)


any help?
thanks
Last edited by Anonymous on November 26th, 2008, 9:14 pm, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Automating File Movement

Post by shypike »

Switch, can you answer this?
Camelot
Jr. Member
Jr. Member
Posts: 64
Joined: August 18th, 2008, 6:23 am

Re: Automating File Movement

Post by Camelot »

bigdaddyo811 wrote: ...
I have entered:

/volumes/hammer/TV   under the "FOLDERS" setting.
...
As far as I can tell, you have two options to fix this:
a. Change the setting under "folders" to: /volumes/hammer
    This means that all the movies you download will go to /Volumes/hammer/Movies, TV shows to /Volumes/hammer/TV, etc

b. Change the setting under "folders" to: /volumes/hammer/downloads
    or whatever you want the DEFAULT folder to be for all content EXCEPT tv shows to be
    AND go to CATEGORIES and modify the tv entry to list the FULL path to where you want the base directory of the tv ep to be:
    /Volumes/hammer/tv


hope that helps
Post Reply