2013-01-02, 10:55
It looks like the issue I'm having is a common one. I am having the problem with XBMCbuntu. The problem arises because the call to:
returns:
I fixed the problem by changing the getXBMCVersion function to the following.
Code:
version = xbmc.getInfoLabel( "System.BuildVersion" )
returns:
Code:
11.0 git:Unkown
I fixed the problem by changing the getXBMCVersion function to the following.
Code:
def getXBMCVersion():
log("", 3)
version = xbmc.getInfoLabel( "System.BuildVersion" )
log(version, 3)
if version.find("-") -1:
version = version[:version.find("-")]
if version.find(" ") -1:
version = version[:version.find(" ")]
version = float(version)
log(repr(version))
return version