Check Xbmc build for visibility
#1
Guys,

is there a way for skin to check Xbmc build and show/hide options based on that?

Specifically, hide Recently added option or show a link to MyVideo.xml if a user is running 10.1

Thanks.
My skins:

Amber
Quartz

Reply
#2
nope not really but they are working on min/max version things too stop users being able to install a version that does not work with it. as well as getting a seperate repo for normal dharma and pre-eden stuff so dharma users can't get stuff that doesn't work for them.


you could maybe play with a string compare and System.BuildVersion to hack it though
Reply
#3
More info here -

http://forum.xbmc.org/showthread.php?tid=95244
Reply
#4
Thanks guys, will try to play with string compare.

I'll post results if I achieve something - not very good at string comparing, though :-)
My skins:

Amber
Quartz

Reply
#5
If anyone needs it

SubString(System.BuildVersion,10.1,Left)

returns true for Dharma 10.1
My skins:

Amber
Quartz

Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Check Xbmc build for visibility00