XBMC Community Forum  

Go Back   XBMC Community Forum > Development > Plugin/Script (Python) Development

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!

Reply
 
Thread Tools Search this Thread Display Modes
Old 2004-06-09, 18:18   #1
Alexpoet
Skilled Python Coder
 
Join Date: Jun 2004
Location: Oklahoma City, OK
Posts: 172
Alexpoet is on a distinguished road
Default

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/
Alexpoet is offline   Reply With Quote
Old 2004-06-14, 21:10   #2
Alexpoet
Skilled Python Coder
 
Join Date: Jun 2004
Location: Oklahoma City, OK
Posts: 172
Alexpoet is on a distinguished road
Default

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/
Alexpoet is offline   Reply With Quote
Old 2004-06-14, 21:36   #3
Alexpoet
Skilled Python Coder
 
Join Date: Jun 2004
Location: Oklahoma City, OK
Posts: 172
Alexpoet is on a distinguished road
Default

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/
Alexpoet is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT +2. The time now is 03:02.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project