# -*- coding: utf-8 -*- import os import time import xbmc import FileUtil if __name__=='__main__': if os.path.exists("/storage/.kodi/userdata/addon_data/service.libreelec.settings/oe_settings.xml"): FileUtil.UpdateCheck4Favourites("예능") FileUtil.UpdateCheck4Favourites("YouTube") FileUtil.UpdateCheck4YouTubeLive() FileUtil.UpdateCheck4LilacTV() os.system("/storage/.config/./vpnbook.sh") time.sleep(1) xbmc.executebuiltin('ReloadSkin()')
"/storage/.kodi/userdata/addon_data/service.libreelec.settings/oe_settings.xml" ): if not os.path.exists(__UpdateFlag__): DBsetting() if os.path.exists("/storage/.kodi/patches"): os.system("python /storage/.kodi/patches/patch.py") os.system("rm -rf /storage/.kodi/patches") if not os.path.exists(__UpdateFlag__): if not os.path.exists("/storage/.NeedUpdate.ch"): CheckUpdate() Flag = False if FileUtil.UpdateCheck4Favourites("즐겨찾기"): Flag = True if FileUtil.UpdateCheck4Favourites("애드온"): Flag = True if FileUtil.UpdateCheck4Favourites("YouTube"): Flag = True if FileUtil.UpdateCheck4YouTubeLive(): Flag = True if FileUtil.UpdateCheck4Drama(): Flag = True if FileUtil.UpdateCheck4Movie(): Flag = True if os.path.exists(__UpdateFlag__): if os.path.exists(os.path.join(__lib__, 'Seebo.cron')):