extract to 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
houdimoudi
Newbie
Newbie
Posts: 2
Joined: February 25th, 2012, 7:12 am

extract to subfolder

Post 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)
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: extract to subfolder

Post 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.
houdimoudi
Newbie
Newbie
Posts: 2
Joined: February 25th, 2012, 7:12 am

Re: extract to subfolder

Post 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
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: extract to subfolder

Post 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.)
Post Reply