aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelupus <elupus@svn>2010-09-07 00:06:31 +0000
committerelupus <elupus@svn>2010-09-07 00:06:31 +0000
commit5cff1b2ca1c0b970d4fd5ff339e1ef067f904d5d (patch)
tree7d6aac643b9495c523cec9162880df8a0a10cdd2
parentf8e1b270099f3d376af6f7e91d76621ea4752597 (diff)
changed: allow space between season and episode "S01 E01"
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@33579 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r--xbmc/AdvancedSettings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/AdvancedSettings.cpp b/xbmc/AdvancedSettings.cpp
index b924d2d973..9e1fbf271c 100644
--- a/xbmc/AdvancedSettings.cpp
+++ b/xbmc/AdvancedSettings.cpp
@@ -149,8 +149,8 @@ void CAdvancedSettings::Initialize()
// in a flat dir structure, but is perfectly safe in a dir-per-vid one.
//m_videoStackRegExps.push_back("(.*?)([ ._-]*[0-9])(.*?)(\\.[^.]+)$");
- // foo.s01.e01, foo.s01_e01, S01E02 foo
- m_tvshowStackRegExps.push_back(TVShowRegexp(false,"[Ss]([0-9]+)[][._-]*[Ee]([0-9]+)([^\\\\/]*)$"));
+ // foo.s01.e01, foo.s01_e01, S01E02 foo, S01 - E02
+ m_tvshowStackRegExps.push_back(TVShowRegexp(false,"[Ss]([0-9]+)[][._- ]*[Ee]([0-9]+)([^\\\\/]*)$"));
// foo.ep01, foo.EP_01
m_tvshowStackRegExps.push_back(TVShowRegexp(false,"[\\._ -]()[Ee][Pp]_?([0-9]+)([^\\\\/]*)$"));
// foo.yyyy.mm.dd.* (byDate=true)