Piccoli Fix

This commit is contained in:
Alhaziel01
2021-06-08 20:11:56 +02:00
parent 34c438d01b
commit eb0aa3cafe
3 changed files with 12 additions and 10 deletions
+6
View File
@@ -213,6 +213,9 @@ def run(item=None):
# Special action for findvideos, where the plugin looks for known urls
elif item.action == "findvideos":
from core import servertools
if item.window and item.channel != 'videolibrary':
p_dialog = platformtools.dialog_progress_bg(config.get_localized_string(20000), config.get_localized_string(60683))
p_dialog.update(0)
# First checks if channel has a "findvideos" function
if hasattr(channel, 'findvideos'):
@@ -227,6 +230,9 @@ def run(item=None):
itemlist = limit_itemlist(itemlist)
if item.window:
if item.channel != 'videolibrary':
p_dialog.update(100)
p_dialog.close()
platformtools.serverwindow(item, itemlist)
else:
platformtools.render_items(itemlist, item)