Ricerca Globale:

- Aggiunto nome Canale
 - Aggiunto colore di selezione
 - Pulizia delle variabili dopo la ricerca
This commit is contained in:
Alhaziel01
2020-12-02 15:49:54 +01:00
parent c126219b03
commit d2506cb078
2 changed files with 21 additions and 4 deletions

View File

@@ -238,11 +238,14 @@ class SearchWindow(xbmcgui.WindowXML):
percent = (float(count) / len(self.channelsList)) * 100
self.PROGRESS.setPercent(percent)
self.COUNT.setText('%s/%s' % (count, len(self.channelsList)))
self.channelsList = []
with futures.ThreadPoolExecutor(max_workers=set_workers()) as executor:
for searchAction in self.searchActions:
if self.exit: break
executor.submit(self.get_channel_results, self.item, self.moduleDict, searchAction)
self.moduleDict = {}
self.searchActions = []
def get_channel_results(self, item, module_dict, search_action):
logger.debug()