Page 1 of 1

Series sorting (SSEE)

Posted: October 8th, 2011, 11:36 am
by mammuth
Hi,

The series sorting don't match releases with the season/episode format SSEE.
I did the following fix to the series_match in constants.py (line 126).

From:

Code: Select all

(r'[ \-_\.](\d)(\d{2,2})[ \-_\.]', # .101. / _101_ / etc.
     [
     ] ),
(r'[ \-_\.](\d)(\d{2,2})$', # .101 at end of title
     [
     ] )
To:

Code: Select all

(r'[ \-_\.](\d{1,2})(\d{2,2})[ \-_\.]', # .101. / _101_ / etc.
     [
     ] ),
(r'[ \-_\.](\d{1,2})(\d{2,2})$', # .101 at end of title
     [
     ] )
/Mammuth

Re: Series sorting (SSEE)

Posted: October 8th, 2011, 3:49 pm
by shypike
Nice touch, but did you check for side-effects?
Doesn't it pick up years?

Re: Series sorting (SSEE)

Posted: October 8th, 2011, 3:58 pm
by mammuth
No side effect check yet, just tried it out for a couple of posts.
I guess it will detect years also but i don't see how that could be avoided for this kind of episode notation. Since it's only used for categories marked as series it could be ok anyway.

I can evaluate it for a while if you wish.

Re: Series sorting (SSEE)

Posted: October 8th, 2011, 5:20 pm
by shypike
If you have tv and movies in overlapping categories, movie years could be detected as SSEE instead.
That's the reason we went for SEE instead. Also because series with more than 9 seasons aren't very common.
Most sensible posters use 1x01 and S01E02 notatons.

Re: Series sorting (SSEE)

Posted: October 9th, 2011, 2:32 pm
by mammuth
Didn't realize you could have movies and series in the same category.
How do you handle if both movie and series sorting is enabled for a category, does sab test one first and the other if no match?

I agree that the SSEE notation is bad but the problem for me is when I use the RSS feed from a indexer service (nzbindex.nl) instead of user submitted nzbs, the nzb filename do get the filename of the first file in the collection which has the SSEE format for Simpsons.
I tried to mod the urlgrabber to ignore the filename in the http response for nzbindex.nl so i would get the entire post header as nzb name. This messes up the sorting but in combination with a pre processor script that cleans up the name it could solve my problem.

Re: Series sorting (SSEE)

Posted: October 9th, 2011, 3:57 pm
by shypike
We don't use nzbindex.nl titles because of their bizarre content and outrageous sizes.
If you're happy with the patch in the regex, do keep using it.
We'll be looking at further improvements in later versions.
If you want true sophistication in series handling, try using SickBeard as a front-end.