Thread Rating:
  • 0 Vote(s) - 0 Average
System.Platfom additional checks
#1
Also available (missing in wiki)

System.Platform.ios
System.Platform.osx
System.Platform.atv2

I'm not able to add them to wiki myself for some reason, so posting here at least.
My skins:

Amber
Quartz

Reply
#2
added, cheers!

bug NedScott for wiki problems ;-)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
Hah...wanted to add them to the wiki, but ronie was faster...
So it's now in the wiki...
http://wiki.xbmc.org/index.php?title=Lis...Conditions

mad-max
Image

- - - Tribute to Metallica - - -

If I managed to help you, please click my reputation
Reply
#4
Are there any specific reasons we'd need to use them?
Reply
#5
Code:
<label>You're using the wrong OS</label>
<visible>System.Platform.Windows</visible>
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#6
Good one.
Reply
#7
I'm using System.Platform.atv2 as I have an image that needs to be hidden when mouse is activated.

However, on iOS mouse support is always active and only cursor gets hidden when device is ATV2. Because of this system.getbool(lookandfeel.enablemouse) returns true on ATV2.
(2012-03-17, 01:19)ronie Wrote:
Code:
<label>You're using the wrong OS</label>
<visible>System.Platform.Windows</visible>

LOL
My skins:

Amber
Quartz

Reply
#8
(2012-03-17, 02:25)pecinko Wrote: I'm using System.Platform.atv2 as I have an image that needs to be hidden when mouse is activated.

However, on iOS mouse support is always active and only cursor gets hidden when device is ATV2. Because of this system.getbool(lookandfeel.enablemouse) returns true on ATV2.
(2012-03-17, 01:19)ronie Wrote:
Code:
<label>You're using the wrong OS</label>
<visible>System.Platform.Windows</visible>

LOL

He only used the wong platform tag.
It should have been
<visible>System.Platform.ios</visible>
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply



System.Platfom additional checks00