From f3fd0afb42d0d23f6e2a20b7156fcd851dc39e64 Mon Sep 17 00:00:00 2001 From: Ruud Date: Fri, 9 Nov 2012 17:30:32 +0100 Subject: [PATCH] Only do dvdr match when no quality is found. fix #1030 --- couchpotato/core/plugins/searcher/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/plugins/searcher/main.py b/couchpotato/core/plugins/searcher/main.py index 4aa79339..312d2388 100644 --- a/couchpotato/core/plugins/searcher/main.py +++ b/couchpotato/core/plugins/searcher/main.py @@ -391,7 +391,7 @@ class Searcher(Plugin): # Hack for older movies that don't contain quality tag year_name = fireEvent('scanner.name_year', name, single = True) - if movie_year < datetime.datetime.now().year - 3 and not year_name.get('year', None): + if len(found) == 0 and movie_year < datetime.datetime.now().year - 3 and not year_name.get('year', None): if size > 3000: # Assume dvdr log.info('Quality was missing in name, assuming it\'s a DVD-R based on the size: %s', (size)) found['dvdr'] = True