Sorting done wrong?

Get help with all aspects of SABnzbd

Sorting done wrong?

Postby dcuritois » July 1st, 2012, 8:08 pm

Ok, what am i doing wrong:

If I add this:

Code: Select all
/volume1/folder/%sn/%fn/


I get a folder CALLED "%fn" ?
dcuritois
Jr. Member
Jr. Member
 
Posts: 58
Joined: February 15th, 2012, 5:54 pm

Re: Help With Categories

Postby shypike » July 2nd, 2012, 1:59 am

In which sort context are you doing this?
Type of sort, kind of downloads.
User avatar
shypike
Administrator
Administrator
 
Posts: 16535
Joined: January 18th, 2008, 1:49 pm

Re: Help With Categories

Postby dcuritois » July 2nd, 2012, 10:39 am

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

Re: Sorting done wrong?

Postby shypike » July 2nd, 2012, 12:06 pm

Can you give an example of a NZB name?

Which SABnzbd release are you using?
User avatar
shypike
Administrator
Administrator
 
Posts: 16535
Joined: January 18th, 2008, 1:49 pm

Re: Sorting done wrong?

Postby dcuritois » July 2nd, 2012, 4:36 pm

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

Re: Sorting done wrong?

Postby shypike » July 4th, 2012, 2:04 pm

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.
User avatar
shypike
Administrator
Administrator
 
Posts: 16535
Joined: January 18th, 2008, 1:49 pm

Re: Sorting done wrong?

Postby dcuritois » July 4th, 2012, 7:51 pm

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

Re: Help With Categories

Postby shypike » July 5th, 2012, 12:31 am

You won't get a folder for each item.
In fact, this one will also do what you want:
%sn/S%s
User avatar
shypike
Administrator
Administrator
 
Posts: 16535
Joined: January 18th, 2008, 1:49 pm

Re: Help With Categories

Postby dcuritois » July 5th, 2012, 9:19 am

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


Return to General Help