From a26967a2726472ef03d7c5a5eb88604633f8aa7e Mon Sep 17 00:00:00 2001 From: Ben Roberts Date: Sat, 7 Jan 2012 20:01:25 +0000 Subject: [PATCH] Permit dubious episode matches for seasons >10 --- source/lib/DownloadDispatcher/Source/Plugin/TV.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lib/DownloadDispatcher/Source/Plugin/TV.class.php b/source/lib/DownloadDispatcher/Source/Plugin/TV.class.php index 109cdb1..d77612d 100644 --- a/source/lib/DownloadDispatcher/Source/Plugin/TV.class.php +++ b/source/lib/DownloadDispatcher/Source/Plugin/TV.class.php @@ -110,7 +110,7 @@ class DownloadDispatcher_Source_Plugin_TV extends DownloadDispatcher_Source_Plug } protected function normalise($name) { - if (preg_match('/(.*?)([\s\.]us)?([\s\.]+(19|20)\d{2})?[\s\.]+(\d+x\d+|s\d+e\d+|\d{3}).*/i', $name, $matches)) { + if (preg_match('/(.*?)([\s\.]us)?([\s\.]+(19|20)\d{2})?[\s\.]+(\d+x\d+|s\d+e\d+|\d{3,4}).*/i', $name, $matches)) { $name = $matches[1]; }