Kodi Community Forum

Full Version: Animating Pictures Slideshow?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Does anyone know of a way to apply transition animations to Slideshow.xml Huh

I would like to achieve a slide transition animation similar to a fullscreen wraplist control when navigating left/right.

Anyone have any tricks/hacks/hints? It feels like MyPics section gets neglected a bit and I want to give it some love! Wink
I use two same multiimage with different condition ( you can use more, four is similar like in slideshow)

From  wraplist activate onup fake button to enable/disable condition "animtionimage"
xml:
        <control type="multiimage" id="555">
            <!-- Fanart -->
            <width>1920</width>
            <height>1080</height>
            <fadetime>100</fadetime>
            <animation effect="zoom" start="100" end="120" center="auto" time="10000" tween="cubic" easing="inout" pulse="true" reversible="true" condition="Skin.HasSetting(animtionimage)">Conditional</animation>
            <animation effect="slide" start="15,15" end="-15,-15" time="5000" tween="cubic" easing="inout" pulse="true" reversible="true" condition="Skin.HasSetting(animtionimage)">Conditional</animation>
            <animation effect="zoom" start="100" end="120" center="auto" time="10000" tween="cubic" easing="inout" pulse="true" reversible="true" condition="Skin.HasSetting(animtionimage)">Conditional</animation>
            <animation effect="slide" start="15,15" end="-15,-15" time="5000" tween="cubic" easing="inout" pulse="true" reversible="true" condition="Skin.HasSetting(animtionimage)">Conditional</animation>
            <aspectratio>keep</aspectratio>
            <imagepath background="true">$INFO[ListItem.filenameandpath]</imagepath>
            <visible>Control.HasFocus(79) + ![Container(79).OnNext | Container(79).OnPrevious]+![Container(79).Column(0)|Container(79).Column(2)|Container(79).Column(4)]</visible>
        </control>
        <control type="multiimage" id="556">
            <!-- Fanart -->
            <width>1920</width>
            <height>1080</height>
            <fadetime>100</fadetime>
            <animation effect="zoom" start="100" end="80" center="auto" time="10000" tween="cubic" easing="inout" pulse="true" reversible="true" condition="Skin.HasSetting(animtionimage)">Conditional</animation>
            <animation effect="slide" start="-15,-15" end="15,15" time="5000" tween="cubic" easing="inout" pulse="true" reversible="true" condition="Skin.HasSetting(animtionimage)">Conditional</animation>
            <animation effect="zoom" start="100" end="80" center="auto" time="10000" tween="cubic" easing="inout" pulse="true" reversible="true" condition="Skin.HasSetting(animtionimage)">Conditional</animation>
            <animation effect="slide" start="-15,-15" end="15,15" time="5000" tween="cubic" easing="inout" pulse="true" reversible="true" condition="Skin.HasSetting(animtionimage)">Conditional</animation>
            <aspectratio>keep</aspectratio>
            <imagepath background="true">$INFO[ListItem.filenameandpath]</imagepath>
            <visible>Control.HasFocus(79) + ![Container(79).OnNext | Container(79).OnPrevious]+[Container(79).Column(0)|Container(79).Column(2)|Container(79).Column(4)]</visible>
        </control>
@Angelinas - Is this in Slideshow.xml ?

What is control id="79" ?

How are you getting the path for the slideshow?
(2019-02-17, 04:31)jurialmunkey Wrote: [ -> ]@Angelinas - Is this in Slideshow.xml ?
No, that is "MyPics.xml" but this image is from "Slideshow.xml" and comand not working with arrow.Working only pageup pagedown and focus with mouse Sad
This is some stupid limitation in Kodi

Image
(2019-02-17, 04:31)jurialmunkey Wrote: [ -> ]What is control id="79" ?
79 is panel ID
(2019-02-17, 04:31)jurialmunkey Wrote: [ -> ]How are you getting the path for the slideshow?
Path in "Slideshow.xml" is from skinstring
(2019-02-17, 14:59)Angelinas Wrote: [ -> ]No, that is "MyPics.xml" but this image is from "Slideshow.xml" and comand not working with arrow.Working only pageup pagedown and focus with mouse Sad
This is some stupid limitation in Kodi

I thought so. Yeah the limitation in Slideshow.xml is what I'm trying to get around, but it doesn't look like it's possible. Thanks for the suggestions though!