Rimosso subtitletools e workaround in service

This commit is contained in:
mac12m99
2021-04-18 16:40:32 +02:00
parent 931f345e35
commit 9b54df6528
3 changed files with 2 additions and 350 deletions

View File

@@ -360,7 +360,8 @@ class AddonMonitor(xbmc.Monitor):
def onSettingsChanged(self):
logger.debug('settings changed')
settings_post = config.get_all_settings_addon()
if settings_post:
# sometimes kodi randomly return default settings (rare but happens), this if try to workaround this
if settings_post and settings_post.get('show_once', True):
from platformcode import xbmc_videolibrary