Kodi Community Forum
System.Platform.Arm - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: System.Platform.Arm (/showthread.php?tid=134510)



System.Platform.Arm - bossanova808 - 2012-06-22

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....??






RE: System.Platform.Arm - master.lincoln - 2012-06-27

Maybe
Code:
uname -m
can give you arm as architecture...


System.Platform.Arm - bossanova808 - 2012-06-28

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