Browse Source

Don't use year if it's the first in the identified string. fix #1815

pull/2096/merge
Ruud 12 years ago
parent
commit
88176997e7
  1. 2
      couchpotato/core/plugins/scanner/main.py

2
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]

Loading…
Cancel
Save