From fb0a7759315f54b102e2aa7ef8ef8058c5d78252 Mon Sep 17 00:00:00 2001 From: Ruud Date: Wed, 1 Feb 2012 21:42:07 +0100 Subject: [PATCH] Disabled subtitles for now --- couchpotato/core/plugins/subtitle/main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/couchpotato/core/plugins/subtitle/main.py b/couchpotato/core/plugins/subtitle/main.py index 066def83..5a976a0c 100644 --- a/couchpotato/core/plugins/subtitle/main.py +++ b/couchpotato/core/plugins/subtitle/main.py @@ -11,7 +11,7 @@ class Subtitle(Plugin): def __init__(self): - addEvent('renamer.before', self.searchSingle) + #addEvent('renamer.before', self.searchSingle) def searchLibrary(self): @@ -41,6 +41,8 @@ class Subtitle(Plugin): def searchSingle(self, group): + if self.isDisabled(): return + subtitles = fireEvent('subtitle.search', files = group['files']['movie'], languages = self.getLanguages(), merge = True) # do something with the returned subtitles