Page 1 of 1

Sorting done wrong?

Posted: July 1st, 2012, 7:08 pm
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" ?

Re: Help With Categories

Posted: July 2nd, 2012, 12:59 am
by shypike
In which sort context are you doing this?
Type of sort, kind of downloads.

Re: Help With Categories

Posted: July 2nd, 2012, 9:39 am
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"

Re: Sorting done wrong?

Posted: July 2nd, 2012, 11:06 am
by shypike
Can you give an example of a NZB name?

Which SABnzbd release are you using?

Re: Sorting done wrong?

Posted: July 2nd, 2012, 3:36 pm
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

Re: Sorting done wrong?

Posted: July 4th, 2012, 1:04 pm
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.

Re: Sorting done wrong?

Posted: July 4th, 2012, 6:51 pm
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.

Re: Help With Categories

Posted: July 4th, 2012, 11:31 pm
by shypike
You won't get a folder for each item.
In fact, this one will also do what you want:
%sn/S%s

Re: Help With Categories

Posted: July 5th, 2012, 8:19 am
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.