VVVVID ricerca multithread

This commit is contained in:
Alhaziel
2019-12-21 16:41:18 +01:00
parent ed5903d8e8
commit c45ade924c
2 changed files with 19 additions and 9 deletions
+2 -2
View File
@@ -271,7 +271,7 @@ def channel_search(item):
ch_thumb = channeltools.get_channel_parameters(key)['thumbnail']
results.append(Item(channel='search', title=title,
action='get_from_temp', thumbnail=ch_thumb, itemlist=[ris.tourl() for ris in grouped], plot=plot, page=1))
results = sorted(results, key=lambda it: it.from_channel)
# send_to_temp(to_temp)
@@ -279,7 +279,7 @@ def channel_search(item):
if item.mode == 'all':
if config.get_setting('result_mode', 'search') != 0:
res_count = len(results)
results = sorted(results, key=lambda it: it.title)
results = sorted(results, key=lambda it: it.title)
results_statistic = config.get_localized_string(59972) % (item.title, res_count, time.time() - start)
results.insert(0, Item(title = typo(results_statistic,'color kod bold')))
# logger.debug(results_statistic)