Fix Reload Skin in Videoteca
This commit is contained in:
@@ -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()')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user