Sorting done wrong?

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
dcuritois
Jr. Member
Jr. Member
Posts: 58
Joined: February 15th, 2012, 4:54 pm

Sorting done wrong?

Post by dcuritois »

Ok, what am i doing wrong:

If I add this:

Code: Select all

/volume1/folder/%sn/%fn/
I get a folder CALLED "%fn" ?
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Help With Categories

Post by shypike »

In which sort context are you doing this?
Type of sort, kind of downloads.
dcuritois
Jr. Member
Jr. Member
Posts: 58
Joined: February 15th, 2012, 4:54 pm

Re: Help With Categories

Post by dcuritois »

shypike wrote:In which sort context are you doing this?
Type of sort, kind of downloads.
Sorting, TV. "Sort String"

Testing it, the "Processed Result" field ends by saying "Original Filename"
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Sorting done wrong?

Post by shypike »

Can you give an example of a NZB name?

Which SABnzbd release are you using?
dcuritois
Jr. Member
Jr. Member
Posts: 58
Joined: February 15th, 2012, 4:54 pm

Re: Sorting done wrong?

Post by dcuritois »

shypike wrote:Can you give an example of a NZB name?

aaaa.aaaa.aaaa.s00e00.aaaa.xnnn-aaa.mp4

To which "Processed Results" displays:

"/volume1/folder/Aaaa Aaaa Aaaa/Original Filename.avi"

shypike wrote: Which SABnzbd release are you using?
0.7.0
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Sorting done wrong?

Post by shypike »

I admit it's a bit confusing, but you're using it in a wrong context.
If you want to use it to normalize file names, you should use %fn.%ext

%fn as such would be used to name a folder after a filename, which is a bit bizarre for series.
It's meant for GenericSort and DateSort and it's not supported for folder names in SeriesSort.
The pattern key doesn't explain things properly.
dcuritois
Jr. Member
Jr. Member
Posts: 58
Joined: February 15th, 2012, 4:54 pm

Re: Sorting done wrong?

Post by dcuritois »

shypike wrote:I admit it's a bit confusing, but you're using it in a wrong context.
If you want to use it to normalize file names, you should use %fn.%ext
I wanted to avoid having a new folder generated for each item. And it was in the pattern key for series.
shypike wrote: %fn as such would be used to name a folder after a filename, which is a bit bizarre for series.
It's meant for GenericSort and DateSort and it's not supported for folder names in SeriesSort.
The pattern key doesn't explain things properly.
Ok, thanks.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Help With Categories

Post by shypike »

You won't get a folder for each item.
In fact, this one will also do what you want:
%sn/S%s
dcuritois
Jr. Member
Jr. Member
Posts: 58
Joined: February 15th, 2012, 4:54 pm

Re: Help With Categories

Post by dcuritois »

shypike wrote:You won't get a folder for each item.
In fact, this one will also do what you want:
%sn/S%s
I was getting a folder for each item, hence trying to change it. Thanks for the key, I'll try that.
Post Reply