xbmc/xbmc — pull request #649 by Quentangle (2012-01-22 03:14:03+00:00)
Title: Added defaultSeason attribute for tvshowmatchingregex

As it stands right now, is there is no season specified it is forced to 1. I have updated the code found here [http://forum.xbmc.org/showpost.php?p=527537&postcount=52] with a few modifications.

This allows for patterns such as:
[\._ \-]()E([0-9]{1,3})([^\\/]*)- // Absolute ordering episodes (season 1)
[\._ \-]()S([0-9]{1,3})([^\\/]*)- // Absolute ordering specials (season 0)

It is implemented in a very similar way to the bydate attribute.