Fix Reload Skin in Videoteca

This commit is contained in:
Alhaziel01
2020-04-19 11:00:41 +02:00
parent b119a78569
commit 93b45f27a8

View File

@@ -13,6 +13,7 @@ import os
import threading
import time
import re
import inspect
import xbmc
from core import filetools
@@ -1014,7 +1015,7 @@ def clean(path_list=[]):
nun_records, records = execute_sql_kodi(sql)
progress.update(100)
xbmc.sleep(1000)
xbmc.sleep(5000 if inspect.stack()[1][3] == 'move_to_libray' else 1000)
progress.close()
xbmc.executebuiltin('XBMC.ReloadSkin()')