2013-01-04, 08:15
I can see three major places that need help:
None of these tasks should be very difficult.
The EXIF rotation can likely be done with APIs already provided by XBMC (used for regular photo viewing). As the situation is, photos taken with an iPhone, etc. are displayed upside down / sideways, etc. This should be as simple as reading the EXIF info and rotating the pic accordingly, before applying it to whatever you do to display it.
It looks like the screensaver currently waits until it's time to show the next pic before it loads it. This causes a noticeable gap / stutter when the pic is changing. I think if the next pic was already preloaded, this would be a non-issue.
As far as I can tell, all the movement is being done in script-python-slideshow.xml so the animation can be addressed in there without much actual code.
Can anyone point me to the right APIs for using that EXIF data so I can start looking at this?
Is there a preferred method of threading in addon development?
And where is the documentation that can explain what's going on in that xml file?
Thanks very much. With some pointers, I hope to have this screensaver working as well as the old one did in the near future.
- Support EXIF orientation when reading images
- Use threading to preload the next image immediately
- Smooth out the sliding / zooming
None of these tasks should be very difficult.
The EXIF rotation can likely be done with APIs already provided by XBMC (used for regular photo viewing). As the situation is, photos taken with an iPhone, etc. are displayed upside down / sideways, etc. This should be as simple as reading the EXIF info and rotating the pic accordingly, before applying it to whatever you do to display it.
It looks like the screensaver currently waits until it's time to show the next pic before it loads it. This causes a noticeable gap / stutter when the pic is changing. I think if the next pic was already preloaded, this would be a non-issue.
As far as I can tell, all the movement is being done in script-python-slideshow.xml so the animation can be addressed in there without much actual code.
Can anyone point me to the right APIs for using that EXIF data so I can start looking at this?
Is there a preferred method of threading in addon development?
And where is the documentation that can explain what's going on in that xml file?
Thanks very much. With some pointers, I hope to have this screensaver working as well as the old one did in the near future.