2005-05-12, 16:35
(pike @ may 11 2005,15:40 Wrote:you want python to be aware that xbmc is in widescreen mode (like skins are) ?exactly! at least that is what i want. i have been asking for this before. i want to be able to write code like this:
Quote:if mode='16:9': something...
you suggest parsing settings.xml to get the info. that is exactly the idea i've been looking for (although i was hoping i could call xbmc.getaspectratio() or something). thanks!
btw (i know it has been said before in this thread): width and height is exactly the same in 16:9 and 4:3 (it is the pixel aspect ratio that is different). try calling .getwidth() and .getheight() and you'll see for yourself.