%fn Pattern Not Working in Sorting

Report & discuss bugs found in 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
Cyrdog
Newbie
Newbie
Posts: 14
Joined: May 5th, 2010, 6:54 am

%fn Pattern Not Working in Sorting

Post by Cyrdog »

I'm trying to maintain the original downloaded file name.  And the %fn pattern is supposed to preserve this according to the documentation.  The substitution occurs in the interface (i.e. the examples shows /Volumes/Media/file), but when the server processes a download, it creates a directory structure like %fn/NZB/file, where there is an actual directory named "%fn".

Version: 0.5.3 Final
OS:  OSX Snow Leopard 10.6.3
Install-type: OSx .app
Skin (if applicable): Default
Firewall Software: None
Are you using IPV6? no
Is the issue reproducible? yes
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: %fn Pattern Not Working in Sorting

Post by shypike »

What's your exact sort string and which sort type do you use?
FireBrd
Newbie
Newbie
Posts: 4
Joined: February 13th, 2011, 3:46 pm

Re: %fn Pattern Not Working in Sorting

Post by FireBrd »

Hate to dig up an old thread, but I am having the exact same issue.
This under 'Generic Sorting'
w/ Enable Movie Sorting Checked off
My sort string is:
%fn/%fn.%ext
What ends up happening is I get %fn/{the original file from the RAR name}

Version: 0.5.6
OS: Win Server 2008r2
Install-type: Windows Installer
Skin (if applicable): Default/Plush/Smpl
Firewall Software: None
Are you using IPV6? no
Is the issue reproducible: yes
Last edited by FireBrd on February 13th, 2011, 6:15 pm, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: %fn Pattern Not Working in Sorting

Post by shypike »

Very late, I know, but I'm pleased to announce that this will finally be solved in release 0.6.3.
FireBrd
Newbie
Newbie
Posts: 4
Joined: February 13th, 2011, 3:46 pm

Re: %fn Pattern Not Working in Sorting

Post by FireBrd »

Awesome!
;D
dennis_n
Newbie
Newbie
Posts: 1
Joined: January 14th, 2013, 5:39 am

Re: %fn Pattern Not Working in Sorting

Post by dennis_n »

I've version 0.7.9. and the same problem.
Is it back?
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: %fn Pattern Not Working in Sorting

Post by shypike »

I've heard "same problem" too often, it seldom is true.
Can you please explain what happens in your specific situation.
Hordalos
Newbie
Newbie
Posts: 2
Joined: January 14th, 2013, 1:07 pm

Re: %fn Pattern Not Working in Sorting

Post by Hordalos »

shypike wrote:I've heard "same problem" too often, it seldom is true.
Can you please explain what happens in your specific situation.
My sort string looks like this: %s.n/Season.%s/%fn and i end instead of it changing the filename to the original filename it puts the files in a folder called %fn, inside the season folder, hopefully u can help me fix this problem.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: %fn Pattern Not Working in Sorting

Post by shypike »

The syntax required is a bit weird here; you should be using this:
%s.n/Season.%s/%fn.%ext
Otherwise SABnzbd thinks you want to name the folder and not the file.
(And botches up the folder name instead).
Hordalos
Newbie
Newbie
Posts: 2
Joined: January 14th, 2013, 1:07 pm

Re: %fn Pattern Not Working in Sorting

Post by Hordalos »

shypike wrote:The syntax required is a bit weird here; you should be using this:
%s.n/Season.%s/%fn.%ext
Otherwise SABnzbd thinks you want to name the folder and not the file.
(And botches up the folder name instead).
Ok thx ill try that.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: %fn Pattern Not Working in Sorting

Post by shypike »

It will work.
I will also fix that oddity for the next release.
Post Reply