Page 1 of 1

TV sorting bug

Posted: July 11th, 2008, 5:24 pm
by Disgustipated
For TV sorting, if you try to use the "%s.n" token for show name it gets interpreted as the %s token for season number followed by the literal ".n"

Other than that, .0.4.0 is working great!

Re: TV sorting bug

Posted: July 11th, 2008, 5:36 pm
by switch
This shouldn't be happening as %s.n is replaced in the path before %s is.

I'll look into this issue tomorrow, thanks for the bug report. Can you give me the whole tv sort string you are using?

Re: TV sorting bug

Posted: July 11th, 2008, 6:33 pm
by Disgustipated
Maybe it's just happening in the display? When I saw it there I assumed it would happen in actual use as well.

Ok, I've gone and tried it. It sorta works. Instead of separating the words in the name with periods it was left using spaces. So what's being displayed, what should be happening based on the string, and what is actually happening are all at odds with eachother.

The config string is

Code: Select all

%sn\Season %s\%s.n.S%0sE%0e.%e.n.%ext
PS: Any chance of adding options for lower case? Don't know why, but I like it better that way. Source would be really neat too, if possible.

Re: TV sorting bug

Posted: July 11th, 2008, 7:13 pm
by switch
Ok, we sorted this in irc, but for prosperity:

The javascript display of %s.n and %s_n was broken and would just replace %s with the season. This has now been fixed.
The output using %s.n and %s_n when renaming files or naming folders was not replacing the spaces with . or _. This has now been fixed.

Chances are this may miss 0.4.1, so look out for the fixes in 0.4.2 or later. (Edit: 0.4.2 was a fix for 0.4.1, so expect it in the next bug release - 0.4.3)