Page 1 of 1
[OSX] How to overwrite default dl directory with categories?
Posted: September 4th, 2011, 3:26 am
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.
Re: [OSX] How to overwrite default dl directory with categor
Posted: September 4th, 2011, 3:59 am
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.
Re: [OSX] How to overwrite default dl directory with categor
Posted: September 4th, 2011, 4:07 am
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.
Re: [OSX] How to overwrite default dl directory with categor
Posted: September 4th, 2011, 6:04 am
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?
Re: [OSX] How to overwrite default dl directory with categor
Posted: September 4th, 2011, 6:28 am
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.
Re: [OSX] How to overwrite default dl directory with categor
Posted: September 4th, 2011, 6:36 am
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).
Re: [OSX] How to overwrite default dl directory with categor
Posted: September 4th, 2011, 7:14 am
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
Here is the requested summary:
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?
Re: [OSX] How to overwrite default dl directory with categor
Posted: September 4th, 2011, 7:30 am
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.
Re: [OSX] How to overwrite default dl directory with categor
Posted: September 4th, 2011, 7:36 am
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?
Re: [OSX] How to overwrite default dl directory with categor
Posted: September 4th, 2011, 7:41 am
by shypike
Yes it does, because this group option overrides the category path.
Re: [OSX] How to overwrite default dl directory with categor
Posted: September 4th, 2011, 8:15 am
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!
Something in between?
Posted: September 25th, 2011, 8:27 pm
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.
Re: [OSX] How to overwrite default dl directory with categor
Posted: September 26th, 2011, 1:55 am
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
Re: [OSX] How to overwrite default dl directory with categor
Posted: September 26th, 2011, 9:02 pm
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.