diff options
author | Martijn Kaijser <mcm.kaijser@gmail.com> | 2014-12-19 19:10:42 +0100 |
---|---|---|
committer | Martijn Kaijser <mcm.kaijser@gmail.com> | 2014-12-19 19:10:42 +0100 |
commit | b64fbf12718664e1f0161a98b8ff41ee86bdc5aa (patch) | |
tree | bf579c83c2c664df84811199fd432ae8c17167d8 /addons/service.xbmc.versioncheck | |
parent | 6d9a8ecd31a3031f8d6347e56fe67835a31dbcf3 (diff) |
[addons] sync with repo
Diffstat (limited to 'addons/service.xbmc.versioncheck')
-rw-r--r-- | addons/service.xbmc.versioncheck/addon.xml | 2 | ||||
-rw-r--r-- | addons/service.xbmc.versioncheck/changelog.txt | 3 | ||||
-rw-r--r-- | addons/service.xbmc.versioncheck/lib/versions.py | 11 |
3 files changed, 10 insertions, 6 deletions
diff --git a/addons/service.xbmc.versioncheck/addon.xml b/addons/service.xbmc.versioncheck/addon.xml index f642669fab..545722bc69 100644 --- a/addons/service.xbmc.versioncheck/addon.xml +++ b/addons/service.xbmc.versioncheck/addon.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <addon id="service.xbmc.versioncheck" name="Version Check" - version="0.2.6" + version="0.2.7" provider-name="XBMC Foundation"> <requires> <import addon="xbmc.addon" version="12.0.0"/> diff --git a/addons/service.xbmc.versioncheck/changelog.txt b/addons/service.xbmc.versioncheck/changelog.txt index ebd7da333e..0a038bbea3 100644 --- a/addons/service.xbmc.versioncheck/changelog.txt +++ b/addons/service.xbmc.versioncheck/changelog.txt @@ -1,3 +1,6 @@ +v0.2.7 +- Fix popup on Kodi 15.0 builds + v0.2.6 - Update with 14.0 Helix rc 3 diff --git a/addons/service.xbmc.versioncheck/lib/versions.py b/addons/service.xbmc.versioncheck/lib/versions.py index 1e2f37ecbe..5b0f66c207 100644 --- a/addons/service.xbmc.versioncheck/lib/versions.py +++ b/addons/service.xbmc.versioncheck/lib/versions.py @@ -104,11 +104,12 @@ def compare_version(version_installed, versionlist): # check if you are using a RC build lower than current available RC # then check if you are using a beta/alpha lower than current available RC # 14.0a3 is newer than: 14.0a1 or pre-alpha - if version_installed.get('tagversion','') < versionlist_alpha[0]['tagversion']: - version_available = versionlist_alpha[0] - oldversion = True - log('Version available %s' %versionlist_alpha[0]) - log('You are running an older alpha version') + if version_installed['major'] <= int(versionlist_alpha[0]['major']): + if version_installed.get('tagversion','') < versionlist_alpha[0]['tagversion']: + version_available = versionlist_alpha[0] + oldversion = True + log('Version available %s' %versionlist_alpha[0]) + log('You are running an older alpha version') # now check if installed !=alpha elif not oldversion and version_installed['tag'] in ['prealpha']: if version_installed['major'] <= int(versionlist_alpha[0]['major']): |