Kodi Community Forum

Full Version: System.Platform.Arm
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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 (wiki) 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....??



Maybe
Code:
uname -m
can give you arm as architecture...
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...