Skip to content

Commit

Permalink
✨ Add support for Arctic Mirage screensaver
Browse files Browse the repository at this point in the history
  • Loading branch information
jurialmunkey committed Dec 4, 2022
1 parent 394c7e3 commit 272e9d6
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 1 deletion.
9 changes: 9 additions & 0 deletions 1080i/Includes_Defaults.xml
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,15 @@
</include>
</include>

<variable name="Defs_ScreensaverWidget_Target">
<value condition="!String.IsEmpty(Skin.String(screensaver.arctic.mirage.target))">$INFO[Skin.String(screensaver.arctic.mirage.target)]</value>
<value>videos</value>
</variable>
<variable name="Defs_ScreensaverWidget">
<value condition="!String.IsEmpty(Skin.String(screensaver.arctic.mirage.path))">$INFO[Skin.String(screensaver.arctic.mirage.path)]</value>
<value>special://skin/extras/playlists/RandomMovies.xsp</value>
</variable>

<include name="Defs_Search_Button">
<texturefocus border="12">special://profile/addon_data/script.texturemaker/ArcticHorizon/box_h.png</texturefocus>
<texturenofocus border="12" colordiffuse="main_fg_12">common/box.png</texturenofocus>
Expand Down
65 changes: 65 additions & 0 deletions 1080i/screensaver-arctic-mirage.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="utf-8"?>
<window>
<defaultcontrol always="true">1297</defaultcontrol>
<controls>

<include content="Background_Main">
<param name="plain_background">true</param>
</include>

<control type="image" id="1298">
<fadetime>800</fadetime>
<width>1</width>
<height>1</height>
<top>-1000</top>
<left>-1000</left>
<texture />
</control>

<control type="list" id="1297">
<content sortby="random">$VAR[Defs_ScreensaverWidget]</content>
<autoscroll time="20000">true</autoscroll>
<orientation>horizontal</orientation>
<itemlayout />
<focusedlayout />
</control>

<control type="image">
<fadetime>800</fadetime>
<width>1920</width>
<height>1080</height>
<texture background="true">$INFO[ListItem.Art(fanart)]</texture>
<animation effect="zoom" start="110" end="130" center="auto" time="10000" tween="sine" easing="inout" pulse="true" condition="true">Conditional</animation>
<animation effect="slide" start="-30,-30" end="30,30" time="6000" tween="sine" easing="inout" pulse="true" condition="true">Conditional</animation>
</control>

<control type="image">
<texture flipx="true">background/vignetted.png</texture>
</control>

<control type="group">
<right>view_pad</right>
<bottom>view_pad</bottom>
<width>680</width>
<height>480</height>
<include content="Widget_Lovefilm_RatingTitle">
<param name="id">1297</param>
</include>
<include content="Widget_Lovefilm_RatingStars">
<param name="id">1297</param>
<top>245</top>
</include>
</control>

<control type="textbox">
<font>font_main_plot</font>
<textcolor>main_fg_70</textcolor>
<label>$INFO[Container(1297).ListItem.Plot]</label>
<right>view_pad</right>
<bottom>view_pad</bottom>
<height>grid_x12</height>
<width>680</width>
<align>center</align>
</control>
</controls>
</window>
2 changes: 1 addition & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<addon id="skin.arctic.horizon.2" name="Arctic Horizon 2" provider-name="jurialmunkey" version="0.7.9">
<addon id="skin.arctic.horizon.2" name="Arctic Horizon 2" provider-name="jurialmunkey" version="0.7.10">
<requires>
<import addon="xbmc.gui" version="5.15.0" />
<import addon="script.skinshortcuts" version="0.4.0" />
Expand Down

0 comments on commit 272e9d6

Please sign in to comment.