System.Platfom additional checks

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
pecinko Offline
Member+
Posts: 3,017
Joined: Dec 2008
Reputation: 27
Location: Prague / Belgrade
Post: #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:

Quartz
Amber
find quote
ronie Offline
Team-XBMC Member
Posts: 8,258
Joined: Jan 2009
Reputation: 108
Post: #2
added, cheers!

bug NedScott for wiki problems ;-)

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
(This post was last modified: 2012-03-16 23:13 by ronie.)
find quote
mad-max Offline
Posting Freak
Posts: 1,476
Joined: Jul 2010
Reputation: 52
Location: Germany
Post: #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: obi3o55x.jpg]
[Image: 7c8w3bu8.png]

- - - Tribute to Metallica - - -

If I managed to help you, please click my reputation
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,931
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #4
Are there any specific reasons we'd need to use them?

[Image: sig_zps3af3b48e.jpg]
find quote
ronie Offline
Team-XBMC Member
Posts: 8,258
Joined: Jan 2009
Reputation: 108
Post: #5
Code:
<label>You're using the wrong OS</label>
<visible>System.Platform.Windows</visible>

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,931
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #6
Good one.

[Image: sig_zps3af3b48e.jpg]
find quote
pecinko Offline
Member+
Posts: 3,017
Joined: Dec 2008
Reputation: 27
Location: Prague / Belgrade
Post: #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:

Quartz
Amber
(This post was last modified: 2012-03-17 02:28 by pecinko.)
find quote
Martijn Offline
Team-XBMC
Posts: 7,712
Joined: Jul 2011
Reputation: 115
Location: Dawn of time
Post: #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>

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first


For your mediacenter artwork go to
[Image: fanarttv.png]
find quote