PIL installed in XBMC?
#1
hey,
i'm curious whether pil is included with the xbmc distribution of python and, if not, will it even work with xbmc python?

i'm trying to write a script that will get the weather radar loops from noaa and play them on the weather page, but those images are too large and i need to resize them. i've already come up with workarounds that'll let me and my close friends use the script, but i'd like to make it generally available if i can run the whole thing on the xbox.

if xbmc doesn't run pil (as i expect), any guesses how hard it would be to install it using the distutils? could i just run setup.py from within xbmc? i haven't installed modules from source before, and i don't know how possible that would be on the xbox.

thanks for your help.
For scripts, script development tools, and documentation, visit my website:
http://www.maskedfox.com/xbmc/
Reply
#2
hello again.

y'all probably already knew this, but i didn't. turns out image.py (the relevant bit of the pil to my project) is included in the lib subfolder. so i can import image and call resize without adding any libraries.

or, in other words, this topic is dead. sorry if anyone wasted time trying to help me with a problem i didn't actually have....

i am still having problems with the gui update, though, as mentioned in my other thread. if i can get that fixed, i'll have a weather radar app working perfectly.
For scripts, script development tools, and documentation, visit my website:
http://www.maskedfox.com/xbmc/
Reply
#3
update: actually, when i ran the code, i got the error:
importerror "the imaging c moduel is not installed."

so it's still not working. any ideas how i fix that error? anyone else tried to use the image.py module?
For scripts, script development tools, and documentation, visit my website:
http://www.maskedfox.com/xbmc/
Reply

Logout Mark Read Team Forum Stats Members Help
PIL installed in XBMC?0