From 9217b037a6a1dc13f07435fea5fa0461783f445b Mon Sep 17 00:00:00 2001 From: Ruud Date: Sat, 5 May 2012 14:31:32 +0200 Subject: [PATCH] Don't use dvd file for determine name. fixes #214 --- couchpotato/core/plugins/renamer/main.py | 2 +- couchpotato/core/plugins/scanner/main.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/couchpotato/core/plugins/renamer/main.py b/couchpotato/core/plugins/renamer/main.py index 672ad8e..2351b51 100644 --- a/couchpotato/core/plugins/renamer/main.py +++ b/couchpotato/core/plugins/renamer/main.py @@ -185,7 +185,7 @@ class Renamer(Plugin): break if not found: - log.error('Could not determin dvd structure for: %s' % current_file) + log.error('Could not determine dvd structure for: %s' % current_file) # Do rename others else: diff --git a/couchpotato/core/plugins/scanner/main.py b/couchpotato/core/plugins/scanner/main.py index 358d992..4003a96 100644 --- a/couchpotato/core/plugins/scanner/main.py +++ b/couchpotato/core/plugins/scanner/main.py @@ -328,7 +328,7 @@ class Scanner(Plugin): # Determine movie group['library'] = self.determineMovie(group) if not group['library']: - log.error('Unable to determin movie: %s' % group['identifiers']) + log.error('Unable to determine movie: %s' % group['identifiers']) processed_movies[identifier] = group @@ -482,7 +482,7 @@ class Scanner(Plugin): try: filename = list(group['files'].get('movie'))[0] except: filename = None - name_year = self.getReleaseNameYear(identifier, file_name = filename) + name_year = self.getReleaseNameYear(identifier, file_name = filename if not group['is_dvd'] else None) if name_year.get('name') and name_year.get('year'): movie = fireEvent('movie.search', q = '%(name)s %(year)s' % name_year, merge = True, limit = 1)