Posts: 3,956
Joined: Dec 2008
Reputation:
62
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.
Posts: 5,292
Joined: Jun 2006
Reputation:
62
Jezz_X
Team-XBMC Skinner
Posts: 5,292
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
Posts: 3,956
Joined: Dec 2008
Reputation:
62
Thanks guys, will try to play with string compare.
I'll post results if I achieve something - not very good at string comparing, though :-)
Posts: 3,956
Joined: Dec 2008
Reputation:
62
If anyone needs it
SubString(System.BuildVersion,10.1,Left)
returns true for Dharma 10.1