From 5f5f17112a8b10ddcbcbb2cf2ea4ae1b15b52a86 Mon Sep 17 00:00:00 2001 From: Ruud Date: Tue, 17 Sep 2013 20:48:01 +0200 Subject: [PATCH] Don't try to search SceneAccess for BR-Disk. fix #2188 --- couchpotato/core/providers/torrent/sceneaccess/main.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/couchpotato/core/providers/torrent/sceneaccess/main.py b/couchpotato/core/providers/torrent/sceneaccess/main.py index b2d3dd68..7e9ab896 100644 --- a/couchpotato/core/providers/torrent/sceneaccess/main.py +++ b/couchpotato/core/providers/torrent/sceneaccess/main.py @@ -29,9 +29,13 @@ class SceneAccess(TorrentProvider): def _search(self, movie, quality, results): + cat = self.getCatId(quality['identifier']) + if not cat: + return + url = self.urls['search'] % ( - self.getCatId(quality['identifier'])[0], - self.getCatId(quality['identifier'])[0] + cat[0], + cat[0] ) arguments = tryUrlencode({