Delay first search
This commit is contained in:
1 parent
c4a9a13d6c
commit
3c6b86ea28
1 file changed
+4
-1
@@ -54,7 +54,10 @@ class MovieSearcher(SearcherBase, MovieTypeBase):
|
||||
})
|
||||
|
||||
if self.conf('run_on_launch'):
|
||||
addEvent('app.load', self.searchAll)
|
||||
def on_load():
|
||||
time.sleep(.1)
|
||||
self.searchAll()
|
||||
addEvent('app.load', on_load, priority = 1000)
|
||||
|
||||
def searchAllView(self, **kwargs):
|
||||
|
||||
|
||||
Reference in new issue
Block a user