Subfolder??

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
Casper78
Newbie
Newbie
Posts: 4
Joined: December 26th, 2008, 8:52 am

Subfolder??

Post by Casper78 »

Hello,

first sorry my poorly english.

i have problem with the subfolder. when i extracted they do always a subfolder. for tv series ist that ok. but when i download a movie then i will no subfolder. i have tested with the user scripts but doesnt work.  i hope you can help me......

i have win vista with sabnzb 0.46 on my htpc.

greets Casper78
doubledrat
Release Testers
Release Testers
Posts: 180
Joined: February 20th, 2008, 3:16 pm

Re: Subfolder??

Post by doubledrat »

Casper78 wrote: Hello,

first sorry my poorly english.

i have problem with the subfolder. when i extracted they do always a subfolder. for tv series ist that ok. but when i download a movie then i will no subfolder. i have tested with the user scripts but doesnt work.  i hope you can help me......

i have win vista with sabnzb 0.46 on my htpc.

greets Casper78
give us an example of what you want.  Movies go into a single subfolder, but as they are made up of one part, I can see no need to have a folder below the main one (like you would want with a tv series).
Casper78
Newbie
Newbie
Posts: 4
Joined: December 26th, 2008, 8:52 am

Re: Subfolder??

Post by Casper78 »

here is an example

example. 
for movies        D:\videos\_movies\moviename.avi
for HD movies    D:\videos\_HDMovies\moviename.mkv
for tv serie        d:\videos\_tv\showName\showNameS03.e02.avi


greets
doubledrat
Release Testers
Release Testers
Posts: 180
Joined: February 20th, 2008, 3:16 pm

Re: Subfolder??

Post by doubledrat »

if I understand correctly, you just need to use the SAB "categories" function.  I don't think there is a newzbin category for HD movies though?  so you may have to categorise those downloads by hand.  Otherwise it's all automatic once you define the categories.
Casper78
Newbie
Newbie
Posts: 4
Joined: December 26th, 2008, 8:52 am

Re: Subfolder??

Post by Casper78 »

see here thats the same problem

http://forums.sabnzbd.org/index.php?topic=999.0
My problem is that when extracted it automatically puts the AVI is a subfolder of TVShow or Friends, which i then have to manually go in, Cut the AVI file and Paste it in the parent directory of that subfolder and delete the subfolder. Making a simple automatic task manual. (I was using Newsleecher and having all files extracted to D:\Newsgroups\Extracted\ then manually moving/moving with a batch file to their respected folders, but the lack of RSS support in Newsleecher turned me to SABnzb+).
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Subfolder??

Post by switch »

0.5 will come with more sorting options to allow downloads to be places all in one folder and not in their own subfolders.
doubledrat
Release Testers
Release Testers
Posts: 180
Joined: February 20th, 2008, 3:16 pm

Re: Subfolder??

Post by doubledrat »

I think I see.  For movies and hd movies, set their category to make them go into the right folder, then get them to run this postprocessing script for those categories, which will move the files one level up.  I've not tested this script though...

Code: Select all

set name=%3
set name=%name:"=%
set dirname=%1
set dirname=%dirname:"=%

for /R "%dirname%" %%f in (*.mkv) do COPY /y "%%f" "%dirname%\..\%name%.mkv"
for /R "%dirname%" %%f in (*.wmv) do COPY /y "%%f" "%dirname%\..\%name%.wmv"
for /R "%dirname%" %%f in (*.avi) do COPY /y "%%f" "%dirname%\..\%name%.avi"
for /R "%dirname%" %%f in (*.mov) do COPY /y "%%f" "%dirname%\..\%name%.mov"
if there are multiple mkv files in the subdirectory you will only end up with one.  hopefully the correct one.  While you've finished testing, change the COPY to MOVE.  When you're REALLY confident, you could add

Code: Select all

&& rmdir /s/q "%dirname%"
to each "for" line, which will delete the subdirectory and any other files that remain in it on successful move
Casper78
Newbie
Newbie
Posts: 4
Joined: December 26th, 2008, 8:52 am

Re: Subfolder??

Post by Casper78 »

ok big thx. the scripts works fine.


greets cas78
Post Reply