Kodi Community Forum
System.Platfom additional checks - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: System.Platfom additional checks (/showthread.php?tid=125720)



System.Platfom additional checks - pecinko - 2012-03-16

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.



RE: System.Platfom additional checks - ronie - 2012-03-16

added, cheers!

bug NedScott for wiki problems ;-)


RE: System.Platfom additional checks - mad-max - 2012-03-16

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=List_of_Boolean_Conditions

mad-max


RE: System.Platfom additional checks - Hitcher - 2012-03-17

Are there any specific reasons we'd need to use them?


RE: System.Platfom additional checks - ronie - 2012-03-17

Code:
<label>You're using the wrong OS</label>
<visible>System.Platform.Windows</visible>



RE: System.Platfom additional checks - Hitcher - 2012-03-17

Good one.


RE: System.Platfom additional checks - pecinko - 2012-03-17

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


RE: System.Platfom additional checks - Martijn - 2012-03-17

(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>