Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Weather] improved fanart transparency #1011

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions 1080i/Defaults.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<constant name="HomeTimePerImage">12000</constant>
<constant name="NetflixPlotWidth">720</constant>
<constant name="OSDLabelsWidthWide">200</constant>
<constant name="WeatherFanartTransparency">20</constant>
<default type="label">
<height>66</height>
<aligny>center</aligny>
Expand Down
4 changes: 2 additions & 2 deletions 1080i/Includes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1375,15 +1375,15 @@
<timeperimage>HomeTimePerImage</timeperimage>
<randomize>true</randomize>
<aspectratio>scale</aspectratio>
<animation effect="fade" start="100" end="10" condition="true">Conditional</animation>
<animation effect="fade" start="100" end="WeatherFanartTransparency" condition="true">Conditional</animation>
<imagepath background="true">$INFO[Skin.String(weather.fanart.path)]$INFO[Window.Property(Daily.$PARAM[Daily].FanartCode)]/</imagepath>
</control>
<control type="image" description="Fanart">
<visible>!Skin.HasSetting(weather.hidefanart) + !String.Contains(Skin.String(weather.fanart.path),multi) + !String.IsEmpty(Skin.String(weather.fanart.path))</visible>
<width>100%</width>
<height>100%</height>
<aspectratio>scale</aspectratio>
<animation effect="fade" start="100" end="10" condition="true">Conditional</animation>
<animation effect="fade" start="100" end="WeatherFanartTransparency" condition="true">Conditional</animation>
<texture background="true">$INFO[Skin.String(weather.fanart.path)]$INFO[Window.Property(Daily.$PARAM[Daily].FanartCode),,.jpg]</texture>
</control>
<control type="image">
Expand Down
4 changes: 2 additions & 2 deletions 1080i/Includes_Defs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3972,7 +3972,7 @@
<timeperimage>12000</timeperimage>
<randomize>true</randomize>
<aspectratio>scale</aspectratio>
<animation effect="fade" start="100" end="10" condition="true">Conditional</animation>
<animation effect="fade" start="100" end="WeatherFanartTransparency" condition="true">Conditional</animation>
<imagepath background="true">$INFO[Skin.String(weather.fanart.path)]$PARAM[FanartCode]$INFO[ListItem.Property(FanartCode)]/</imagepath>
</control>
<control type="image" description="Fanart">
Expand All @@ -3982,7 +3982,7 @@
<right>$PARAM[borderleftright]</right>
<bottom>$PARAM[bordertopbottom]</bottom>
<aspectratio>scale</aspectratio>
<animation effect="fade" start="100" end="10" condition="true">Conditional</animation>
<animation effect="fade" start="100" end="WeatherFanartTransparency" condition="true">Conditional</animation>
<texture background="true">$INFO[Skin.String(weather.fanart.path)]$PARAM[FanartCode]$INFO[ListItem.Property(FanartCode)].jpg</texture>
</control>
</definition>
Expand Down
Loading