Page 1 of 1
How to download all files of a category to one directory?
Posted: October 17th, 2008, 3:11 pm
by clobber
Hi,
I would like to have all final downloaded files of the TV category stored in "C:\TV." That is, I actually want the avi file in that directory and not a subdirectory. Can I do this directly in sabnzbd or do I need a script that moves the downloaded file and deletes the download directory?
thanks
Re: How to download all files of a category to one directory?
Posted: October 18th, 2008, 5:11 am
by shypike
You need a (simple) script.
Re: How to download all files of a category to one directory?
Posted: October 18th, 2008, 5:41 am
by switch
Use TV sorting and just enter something like this:
%sn - S%0sE%0e - %en.%ext
Re: How to download all files of a category to one directory?
Posted: October 19th, 2008, 1:30 pm
by clobber
So, a couple of questions about TV Folder sorting:
1) Which takes precendence: TV Folder Sorting or Category settings?
2) Why does the suggestion you gave work? That should rename the output video, but where will it put it - in the completed folder or relative to the category settings?
3) Can I use absolute paths in TV sorting? For example:
D:\TV\%sn.......%ext
??
Ultimately, I just want all TV shows in D:\TV with no subfolder and all MOVIES in D:\MOVIES with no subfolder. It makes it much easier to cleanly delete files from my HTPC software.
thanks!
Re: How to download all files of a category to one directory?
Posted: October 19th, 2008, 1:48 pm
by switch
The final directory = CATEGORY_FOLDER + TV_SORT_RESULT
E.G: C:\TV + \Show Name\Show Name 1x01.avi
The tv sorting uses the path from the category as the base (or just the complete dir if no cat is set), and adds folders onto that.
The sort string that I pasted to you (%sn - S%0sE%0e - %en.%ext) contains no extra folders, so there are no extra folders added on to your category path (D:\TV)
Hopefully that answers questions 1,2 and 3. If it isnt clear for 3, don't add any drives, or existing folders to the sort string, as it is added to the category path.
Similar sorting for movie files won't be available till the release of 0.5 (a while away)
Re: How to download all files of a category to one directory?
Posted: October 20th, 2008, 3:12 pm
by clobber
Thanks for that. Will try ASAP.
Re: How to download all files of a category to one directory?
Posted: October 31st, 2008, 2:29 pm
by clobber
Switch,
Ok, thanx for that tip! A quick followup:
So using the TV sorting, everything was extracted to D:\TV - nice. However, that included a couple of par2 files and a "sample" avi included in the nzb. I just discovered the option to filter out sample files from the Q, but what about the par2? If I add the par2 extension to my deleted file extension list, can I assume sabnzbd won't delete the par / par2 files unless there is a successful extraction?
Re: How to download all files of a category to one directory?
Posted: October 31st, 2008, 3:10 pm
by switch
Files that are downloaded with the 'D' or 'Delete' option will have their par files deleted after the download is complete. If there are any leftover par files then they are usually unrelated par files that were included in the set and is more the fault of the poster/nzb site than sabnzbd.
If you add par2 files to your cleanup list, that will delete any extra par2 files, and I believe the cleanup is not done when the par2 check fails.