From 23decace1cc00892b80da88b614d4c84678646e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Beno=C3=AEt=20Harrault?= <benoit@harrault.fr>
Date: Sun, 21 Nov 2021 13:30:23 +0100
Subject: [PATCH] Improve main image slideshow

---
 addon.xml                                 |  3 +--
 resources/skins/default/1080i/default.xml | 13 +++++++------
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/addon.xml b/addon.xml
index 18842a4..60a3014 100644
--- a/addon.xml
+++ b/addon.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="script.spotify.screensaver"
     name="Spotify Screensaver"
-    version="0.0.1"
+    version="0.0.2"
     provider-name="BenoƮt Harrault">
     <requires>
         <import addon="xbmc.python" version="2.25.0"/>
@@ -27,6 +27,5 @@
         <website>benoit.harrault.fr</website>
         <email>benoit@harrault.fr</email>
         <source>https://git.harrault.fr/kodi/script.spotify.screensaver</source>
-        <news>Initial release of a Spotify screensaver</news>
     </extension>
 </addon>
diff --git a/resources/skins/default/1080i/default.xml b/resources/skins/default/1080i/default.xml
index 894bbae..c997ff2 100644
--- a/resources/skins/default/1080i/default.xml
+++ b/resources/skins/default/1080i/default.xml
@@ -34,11 +34,12 @@
                 <control type="image">
                     <posx>0</posx>
                     <posy>0</posy>
-                    <width>1920</width>
+                    <width>1080</width>
                     <height>1080</height>
                     <aspectratio scalediffuse="false">scale</aspectratio>
-                    <animation effect="zoom" start="110" end="130" center="auto" time="25000" tween="cubic" easing="inout" condition="String.IsEqual(Window(10000).Property(picture_animation),okay)" pulse="true">Conditional</animation>
-                    <animation effect="slide" start="-10,-10" end="20,20" time="9000" tween="cubic" easing="inout" condition="String.IsEqual(Window(10000).Property(picture_animation),okay)" pulse="true">Conditional</animation>
+                    <animation effect="zoom" start="85" end="95" center="auto" time="30000" tween="cubic" easing="inout" condition="String.IsEqual(Window(10000).Property(picture_animation),okay)" pulse="true">Conditional</animation>
+                    <animation effect="slide" start="0,0" end="850,0" time="23000" tween="cubic" easing="inout" condition="String.IsEqual(Window(10000).Property(picture_animation),okay)" pulse="true">Conditional</animation>
+                    <animation effect="slide" start="0,-10" end="0,10" time="18000" tween="cubic" easing="inout" condition="String.IsEqual(Window(10000).Property(picture_animation),okay)" pulse="true">Conditional</animation>
                     <info>ListItem.Thumb</info>
                 </control>
                 <control type="image">
@@ -52,13 +53,13 @@
                     <left>0</left>
                     <top>1000</top>
                     <width>1900</width>
-                    <height>25</height>
-                    <font>font30</font>
+                    <height>50</height>
+                    <font>font40</font>
                     <align>right</align>
                     <textcolor>ffffffff</textcolor>
                     <shadowcolor>ff000000</shadowcolor>
                     <info>ListItem.Label</info>
-                    <animation effect="fade" start="100" end="0" time="15000" condition="True">Conditional</animation>
+                    <animation effect="fade" start="100" end="0" time="25000" condition="True">Conditional</animation>
                 </control>
             </focusedlayout >
         </control>
-- 
GitLab