Browse Source

Split identifier by know tag if possible

pull/2696/merge
Ruud 11 years ago
parent
commit
c4f4e2b524
  1. 3
      couchpotato/core/plugins/scanner/main.py

3
couchpotato/core/plugins/scanner/main.py

@ -761,7 +761,8 @@ class Scanner(Plugin):
# Year
if year and identifier[:4] != year:
identifier = '%s %s' % (identifier.split(year)[0].strip(), year)
split_by = ':::' if ':::' in identifier else year
identifier = '%s %s' % (identifier.split(split_by)[0].strip(), year)
else:
identifier = identifier.split('::')[0]

Loading…
Cancel
Save