From dc73e5c58fc9621127f2b6be9d1d5aa3ea27ab7f Mon Sep 17 00:00:00 2001 From: Dean Gardiner Date: Thu, 17 Oct 2013 22:53:44 +1300 Subject: [PATCH] Added back migration code in 'searcher.download' --- couchpotato/core/media/_base/searcher/main.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/couchpotato/core/media/_base/searcher/main.py b/couchpotato/core/media/_base/searcher/main.py index c52bc0c..e557e94 100644 --- a/couchpotato/core/media/_base/searcher/main.py +++ b/couchpotato/core/media/_base/searcher/main.py @@ -79,10 +79,9 @@ class Searcher(SearcherBase): def download(self, data, media, manual = False): - # TODO what is this for? - #if not data.get('protocol'): - # data['protocol'] = data['type'] - # data['type'] = 'movie' + if not data.get('protocol'): + data['protocol'] = data['type'] + data['type'] = 'movie' # Test to see if any downloaders are enabled for this type downloader_enabled = fireEvent('download.enabled', manual, data, single = True)