System.Platform.Arm

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
bossanova808 Offline
Donor
Posts: 2,239
Joined: Sep 2009
Reputation: 34
Location: Melbourne, Australia
Post: #1
So with RPi seemingly moving towards being a supported platform (and presumably other ARM typye systems in time)....will we be getting a boolean of

System.Platform.Arm?

These booleans are a much better way of detexcting underlying OS in addons than using os.platform() or whatever, so it would be very handy to have and I am already running into a need with Add-on:XSqueeze as the RPi will be very popular as a cheap networked music player and XBMC + XSqueezee provides a very nice interface for this (and does room to room sync quite well etc).

...and in the meantime, andbody have a Python snippet for detecting linux on ARM vs something else....??

My XBMC stuff:
(This post was last modified: 2012-06-22 02:25 by bossanova808.)
find quote
master.lincoln Offline
Junior Member
Posts: 8
Joined: Nov 2010
Reputation: 0
Post: #2
Maybe
Code:
uname -m
can give you arm as architecture...
find quote
bossanova808 Offline
Donor
Posts: 2,239
Joined: Sep 2009
Reputation: 34
Location: Melbourne, Australia
Post: #3
Yeah that's where I am at but it's clunky in comparison. I guess it will come once there is some sort of official arm release...

My XBMC stuff:
find quote