![]() |
|
|||||||
| Plugin/Script (Python) Development Developers forum for XBMC Python Plugins/Scripts. Scripters/coders only! Not for posting feature requests, bugs, or end-user support requests! |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Skilled Python Coder
Join Date: Jun 2004
Location: Oklahoma City, OK
Posts: 172
![]() |
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/ |
|
|
|
|
|
#2 |
|
Skilled Python Coder
Join Date: Jun 2004
Location: Oklahoma City, OK
Posts: 172
![]() |
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/ |
|
|
|
|
|
#3 |
|
Skilled Python Coder
Join Date: Jun 2004
Location: Oklahoma City, OK
Posts: 172
![]() |
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/ |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Installed new skin, now stuck on bootscreen | sirwilliam | XBMC for Xbox Specific Support | 5 | 2006-05-22 15:43 |
| XBMC freezes, latest version installed | esaone.com | XBMC for Xbox Specific Support | 11 | 2006-04-11 18:06 |
| Help! just installed new version, wont work | Apathus | XBMC for Xbox Specific Support | 2 | 2005-02-28 13:40 |
| XBMC installed but won't load | turbovr6 | XBMC for Xbox Specific Support | 1 | 2004-07-08 13:41 |
| can you have xbmp and xbmc both installed ? | evanfrank | XBMC for Xbox Specific Support | 2 | 2004-03-23 14:20 |