![]() |
Main Background Changing every X minutes - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67) +---- Forum: Confluence (https://forum.kodi.tv/forumdisplay.php?fid=125) +---- Thread: Main Background Changing every X minutes (/showthread.php?tid=201010) |
Main Background Changing every X minutes - Dingin - 2014-07-30 Hi everyone mabe someone can help me with this in gotham, i wanna have the main background changing every 10 minutes, i found this code but seams to be old, i also found there is the background in gotham but it seams after a few tries that i dont have the programing skills to do it ![]() --------------------------------------------------------------------------------------------------------------------- in the file include.xml add the following lines: Code: <!-- Home BACKGROUND --> <include name="Home_Background"> <control type="multiimage" id="1"> <description>background images</description> <include>Dimensions_Fullscreen</include> <imagepath>menubackdrops</imagepath> <!-- add this folder within the media folder. Put in it all the backdrops you wish to use --> <timeperimage>5000</timeperimage> <fadetime>2000</fadetime> <pauseatend>0</pauseatend> <randomize>true</randomize> <loop>yes</loop> <aspectratio>stretch</aspectratio> <colordiffuse>BackgroundFilterColor</colordiffuse> <!-- Optional... remove this line to remove the color overlay --> </control> </include> inside home.xml change line 30 (<include>Global_Background</include>) for: Code: <include>Home_Background</include> voila! ------------------------------------------------------------------------------------------------------------------ And here is where the main backgroun is in Gotham ---IncludesBackgoundBuilding.xml--- <include name="CommonBackground"> <control type="image"> <description>Normal Default Background Image</description> <left>0</left> <top>0</top> <width>1280</width> <height>720</height> <aspectratio>scale</aspectratio> <texture>$INFO[Skin.CurrentTheme,special://skin/backgrounds/,.jpg]</texture> <visible>![Skin.HasSetting(UseCustomBackground) + !IsEmpty(Skin.String(CustomBackgroundPath))]</visible> <include>VisibleFadeEffect</include> </control> does anyone have any idea how? Thanks! |