Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Added panorama support to slideshow #1406
If "use pan & zoom effects" is on, this patch makes the slideshow treat panoramas different from the normal random slide effect.
A horizontal panorama is filled out in the height and scrolled completely (random right or left).
Vertical panorama's are filled out in the width and scrolled up or down.
Currently the patch treats every image with a ratio of at least 1.9:1 as a panorama. The amount of time the image is shown is lengthened from the normal slide time based on the ratio, so the visual impression matches the sliding speed of the normal random effect.
@Montellese: thanks for looking into this.
The bad indentations probably result from mixing tabs and spaces. In xbmc source code we use two spaces per indentation level.
This merge window (which lasts until october 10th) will be the last one before feature freeze. If it works I'll fix up the indentation and create a replacement PR for it. Otherwise I'll report back any problem.