Page 1 of 1

extract to subfolder

Posted: February 25th, 2012, 7:32 am
by houdimoudi
hi there,

im trying to accomplish the following:

I always store my Movies in a Sub-folder(Title.year.720p-Group), containing mkv,nfo and srt
As the Rars usually are named correctly, i would like to unpack to a subfolder named like the original rar-filename.
is that possible?

another way would be to apply sorting, but i cant find a way to get the filename of the rars or the filename of one of the extracted files.

Version: (0.6.15)
OS: (Win7)
Install-type: (Windows Installer)
Skin (if applicable): (Plush)
Firewall Software: (Win7 Firewall)
Are you using IPV6? (no )
Is the issue reproducible? (yes/no)

Re: extract to subfolder

Posted: February 25th, 2012, 8:45 am
by shypike
Influence on the folder name is only possible in Sorting.
The names of the rar files are never used, SABnzbd only looks at the resulting unpacked files.
I.e. only when using Sorting.

Re: extract to subfolder

Posted: February 27th, 2012, 7:50 am
by houdimoudi
i tried sorting, but when i used %fn/%fn.%ext in general sorting i got something like:
D:\Downloads\%fn\nzb filename\filename.ext

i don´t know if thats a bug or if i did something wrong.
i´m not sure if %fn should relate to filename of the nzb or of the downloaded/extracted file. for me it doesnt work at all, it uses a folder named "%fn%"

i found an easy workaround, i just switched to an usenet search engine which names the NZB after the file i want to download.
i used binsearch before which names the NZBs after the search query

Re: extract to subfolder

Posted: February 27th, 2012, 1:23 pm
by shypike
There are some limitations to %fn support.
We haven't reverse-engineered the existing code enough yet.
(It was contributed by an ex-team member.)