Removed the use of the 'searcher.get_media_searcher_id' event
This commit is contained in:
1 parent
cc3ebd79e8
commit
10a34f2b69
6 files changed
+9
-17
No files matched your search
@@ -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():
|
||||
|
||||
Reference in new issue
Block a user