From 88176997e73d8b3eb2fd51b7d6f94b7375ef648d Mon Sep 17 00:00:00 2001 From: Ruud Date: Mon, 2 Sep 2013 00:00:27 +0200 Subject: [PATCH] Don't use year if it's the first in the identified string. fix #1815 --- couchpotato/core/plugins/scanner/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/plugins/scanner/main.py b/couchpotato/core/plugins/scanner/main.py index 5533a4b..b9cc579 100644 --- a/couchpotato/core/plugins/scanner/main.py +++ b/couchpotato/core/plugins/scanner/main.py @@ -766,7 +766,7 @@ class Scanner(Plugin): # Year year = self.findYear(identifier) - if year: + if year and identifier[:4] != year: identifier = '%s %s' % (identifier.split(year)[0].strip(), year) else: identifier = identifier.split('::')[0]