2012-07-26, 00:56
Hi guys,
I'm working on my first addon and trying to do a few neat* things, one of which is image manipulation prior to allowing XBMC to display it as an icon/fanart/other. I have everything working as intended by pulling in multiple images from the web, modifying & merging them using PIL and feeding them to XBMC through a local URL. It looks smashing (if I do say so myself), but the performance impact is fairly severe.
I'd love to perform the manipulation as a background task and feed have XBMC pick up the files as and when they become available. Any thoughts on how it might be possible? Any thoughts on design otherwise which might help alleviate my issues? One thing I'd like to stay away from is an external service of any type - I want this all to remain within the addon where possible.
Despite XBMC's cache this isn't really a one-time cost that I can deal with as by the nature of the app, the "channels" being browsed will differ fairly frequently and thus there's plenty of call for the overlaying.
I entirely understand if the responses are along the lines of "that's stupid - don't do it" or such, but better to ask than never know!
Cheers!
* daft
I'm working on my first addon and trying to do a few neat* things, one of which is image manipulation prior to allowing XBMC to display it as an icon/fanart/other. I have everything working as intended by pulling in multiple images from the web, modifying & merging them using PIL and feeding them to XBMC through a local URL. It looks smashing (if I do say so myself), but the performance impact is fairly severe.
I'd love to perform the manipulation as a background task and feed have XBMC pick up the files as and when they become available. Any thoughts on how it might be possible? Any thoughts on design otherwise which might help alleviate my issues? One thing I'd like to stay away from is an external service of any type - I want this all to remain within the addon where possible.
Despite XBMC's cache this isn't really a one-time cost that I can deal with as by the nature of the app, the "channels" being browsed will differ fairly frequently and thus there's plenty of call for the overlaying.
I entirely understand if the responses are along the lines of "that's stupid - don't do it" or such, but better to ask than never know!
Cheers!
* daft