[OSX] How to overwrite default dl directory with categories?

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
St4rb0y
Newbie
Newbie
Posts: 7
Joined: September 4th, 2011, 3:06 am

[OSX] How to overwrite default dl directory with categories?

Post by St4rb0y »

Hello,

I'm currently running the latest version of sabnzbd on OS X Lion 10.7.1 and everything is working fine, except I can't really figure out how to overwrite my default download location for complete transfers with the categories feature!?

Complete downloads are by default moved to the OS X Downloads folder (/users/"me"/Downloads/), but I want to move TV shows, with the category "tv", to my external hard-drive. So I set the following up (in Config/Categories):

Category: tv
Priority: normal
Processing: +delete
Folder/Path: /Volumes/Warez\ HD/
Groups/Indexer Tags: TV

By the way, the name of my external hard-drive is "Warez HD".
I have already tried the path "/Volumes/Warez HD/", but it doesn't work either. It's just not moving the finished files, and I don't know why?

The reason why I want sabnzbd to do this is because I plan on replacing my manual download routine with Sick Beard for TV shows and Couch Potato for films.

Any ideas why it doesn't work?

Thanks.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: [OSX] How to overwrite default dl directory with categor

Post by shypike »

Where do you set the path?
The path with the space should just work, but don't include backslashes.
Do you actually set the category of the NZB to be "tv"?
Also, the volume should be mounted, if not you'll get a post-processing error.
St4rb0y
Newbie
Newbie
Posts: 7
Joined: September 4th, 2011, 3:06 am

Re: [OSX] How to overwrite default dl directory with categor

Post by St4rb0y »

shypike wrote:Where do you set the path?
The path with the space should just work, but don't include backslashes.
Do you actually set the category of the NZB to be "tv"?
Also, the volume should be mounted, if not you'll get a post-processing error.
As stated above, I set the path in the Folder/Path field.
I do also set the category of the nzb, and the volume is always mounted, so no errors there.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: [OSX] How to overwrite default dl directory with categor

Post by shypike »

What do you expect to happen and what actually does happen?
So what is "just not moving the files"? Where do the files end up?
St4rb0y
Newbie
Newbie
Posts: 7
Joined: September 4th, 2011, 3:06 am

Re: [OSX] How to overwrite default dl directory with categor

Post by St4rb0y »

Well, I expect it to move the completed files to my external hard-drive, called "Warez HD".
Yes, in deed, it doesn't move the files. They remain in the default download location on my internal HDD, more specifically in the Downloads folder.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: [OSX] How to overwrite default dl directory with categor

Post by shypike »

Please list these values:
The "Completed Download Folder" in Config->Folders
The path for the "Default" category in Config->Categories
The path for the "tv" category in Config->Categories
Also show the summary of the job in the History (click on the title).
St4rb0y
Newbie
Newbie
Posts: 7
Joined: September 4th, 2011, 3:06 am

Re: [OSX] How to overwrite default dl directory with categor

Post by St4rb0y »

shypike wrote:Please list these values:
The "Completed Download Folder" in Config->Folders
The path for the "Default" category in Config->Categories
The path for the "tv" category in Config->Categories
Also show the summary of the job in the History (click on the title).
Completed Download Folder: Downloads (/Users/"username"/Downloads)

Path for the "Default" category: none
path for the "tv" category: /Volumes/Warez HD

Image

Here is the requested summary:

Image

The summary also shows that sabnzbd always creates a directory for the newsgroup that the file has been downloaded from, in this case "alt.binaries.teevee". Is there anyway to prevent this?
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: [OSX] How to overwrite default dl directory with categor

Post by shypike »

St4rb0y wrote: The summary also shows that sabnzbd always creates a directory for the newsgroup that the file has been downloaded from, in this case "alt.binaries.teevee". Is there anyway to prevent this?
Right, now we're getting somewhere.
You're the victim of an old backward-compatibility setting, although I have no idea why it is set in your case.
Stop SABnzbd.
Open the file /Users/your-name/Library/Application Support/SABnzbd/sabnzbd.ini with the TextEditor.
Find the entry create_group_folders and make sure the value after the = is 0.
Save and close.
St4rb0y
Newbie
Newbie
Posts: 7
Joined: September 4th, 2011, 3:06 am

Re: [OSX] How to overwrite default dl directory with categor

Post by St4rb0y »

shypike wrote:
St4rb0y wrote: The summary also shows that sabnzbd always creates a directory for the newsgroup that the file has been downloaded from, in this case "alt.binaries.teevee". Is there anyway to prevent this?
Right, now we're getting somewhere.
You're the victim of an old backward-compatibility setting, although I have no idea why it is set in your case.
Stop SABnzbd.
Open the file /Users/your-name/Library/Application Support/SABnzbd/sabnzbd.ini with the TextEditor.
Find the entry create_group_folders and make sure the value after the = is 0.
Save and close.
Thanks for the advice, but this doesn't solve my file moving problem, does it?
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: [OSX] How to overwrite default dl directory with categor

Post by shypike »

Yes it does, because this group option overrides the category path.
St4rb0y
Newbie
Newbie
Posts: 7
Joined: September 4th, 2011, 3:06 am

Re: [OSX] How to overwrite default dl directory with categor

Post by St4rb0y »

shypike wrote:Yes it does, because this group option overrides the category path.
It really works now. Thank you so much for the great support.
Have a nice day!
marysm
Newbie
Newbie
Posts: 16
Joined: September 22nd, 2010, 11:36 pm

Something in between?

Post by marysm »

Ah, I was having this same issue. This fixed it too well... I'd like the Default category to use newsgroup folders when there is no other category match, but if there IS a category match, use the listed folder. Is this possible? Thanks.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: [OSX] How to overwrite default dl directory with categor

Post by shypike »

No, nor are we going to implement this.
The group feature is just a legacy thing we keep around.
You would have to write your own (small) post processing script.
This script receives the group name as one of its parameters.
See also: http://wiki.sabnzbd.org/user-scripts
marysm
Newbie
Newbie
Posts: 16
Joined: September 22nd, 2010, 11:36 pm

Re: [OSX] How to overwrite default dl directory with categor

Post by marysm »

Thanks for the tip. It took a bit of searching, but I think I got it. BTW, in case others don't already know this, for Windows, make .bat files for your script! Here's what I came up with:

move %1 N:\myfolder\%6

I set this script to run for the "default" category. Make sure all other category script settings are set to "none". Please excuse the thread-jacking, but thought I'd document this here for posterity.
Post Reply