Removed the use of the 'searcher.get_media_searcher_id' event

This commit is contained in:
Dean Gardiner committed 2013-11-25 16:20:03 +13:00
1 parent cc3ebd79e8
commit 10a34f2b69
6 files changed
+9 -17

No files matched your search

+3 -1
View File
@@ -118,7 +118,9 @@ class YarrProvider(Provider):
def __init__(self):
addEvent('provider.enabled_protocols', self.getEnabledProtocol)
addEvent('provider.belongs_to', self.belongsTo)
addEvent('provider.search.%s.%s' % (self.protocol, self.type), self.search)
for type in toIterable(self.type):
addEvent('provider.search.%s.%s' % (self.protocol, type), self.search)
def getEnabledProtocol(self):
if self.isEnabled():