From b64fbf12718664e1f0161a98b8ff41ee86bdc5aa Mon Sep 17 00:00:00 2001 From: Martijn Kaijser Date: Fri, 19 Dec 2014 19:10:42 +0100 Subject: [addons] sync with repo --- addons/service.xbmc.versioncheck/addon.xml | 2 +- addons/service.xbmc.versioncheck/changelog.txt | 3 +++ addons/service.xbmc.versioncheck/lib/versions.py | 11 ++++++----- 3 files changed, 10 insertions(+), 6 deletions(-) (limited to 'addons/service.xbmc.versioncheck') 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 @@ 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']): -- cgit v1.2.3