Пример #1
0
 def __init__(self):
     linux = False
     packages = []
     xbmc.sleep(5000)
     if xbmc.getCondVisibility('System.Platform.Linux') and ADDON.getSetting("upgrade_apt") == 'true':
         packages = ['kodi']
         _versionchecklinux(packages)
     else:
         oldversion, version_installed, version_available, version_stable = _versioncheck()
         if oldversion:
             _upgrademessage2( version_installed, version_available, version_stable, oldversion, False)
Пример #2
0
 def __init__(self):
     linux = False
     packages = []
     xbmc.sleep(5000)
     if xbmc.getCondVisibility('System.Platform.Linux') and ADDON.getSetting("upgrade_apt") == 'true':
         packages = ['kodi']
         _versionchecklinux(packages)
     else:
         oldversion, version_installed, version_available, version_stable = _versioncheck()
         if oldversion:
             _upgrademessage2( version_installed, version_available, version_stable, oldversion, False)
Пример #3
0
 def __init__(self):
     linux = False
     packages = []
     xbmc.sleep(5000)
     if xbmc.getCondVisibility("System.Platform.Linux") and __addon__.getSetting("upgrade_apt") == "true":
         packages = ["xbmc"]
         _versionchecklinux(packages)
     # temporary don't notify Windows untill crashing has been solved
     elif xbmc.getCondVisibility("System.Platform.Windows"):
         pass
     else:
         oldversion, version_installed, version_available, version_stable = _versioncheck()
         if oldversion:
             _upgrademessage2(version_installed, version_available, version_stable, oldversion, False)
Пример #4
0
 def __init__(self):
     linux = False
     packages = []
     xbmc.sleep(5000)
     if xbmc.getCondVisibility(
             'System.Platform.Linux') and __addon__.getSetting(
                 "upgrade_apt") == 'true':
         packages = ['xbmc']
         _versionchecklinux(packages)
     # temporary don't notify Windows untill crashing has been solved
     elif xbmc.getCondVisibility('System.Platform.Windows'):
         pass
     else:
         oldversion, version_installed, version_available, version_stable = _versioncheck(
         )
         if oldversion:
             _upgrademessage2(version_installed, version_available,
                              version_stable, oldversion, False)