[skin.confluence] v4.5.3

Fix album star rating
This commit is contained in:
Kevin Goffe 2018-11-16 18:27:23 +00:00
parent e2e4c8f805
commit a7a8dd84d0
3 changed files with 15 additions and 2 deletions

View File

@ -39,6 +39,19 @@
<constant name="DepthFloor">-0.20</constant>
<constant name="DepthSideBlade">0.15</constant>
<!-- VARIABLES -->
<variable name="MusicRating">
<value condition="Integer.IsGreater(ListItem.Rating,9.5)">10</value>
<value condition="Integer.IsGreater(ListItem.Rating,8.5)">9</value>
<value condition="Integer.IsGreater(ListItem.Rating,7.5)">8</value>
<value condition="Integer.IsGreater(ListItem.Rating,6.5)">7</value>
<value condition="Integer.IsGreater(ListItem.Rating,5.5)">6</value>
<value condition="Integer.IsGreater(ListItem.Rating,4.5)">5</value>
<value condition="Integer.IsGreater(ListItem.Rating,3.5)">4</value>
<value condition="Integer.IsGreater(ListItem.Rating,2.5)">3</value>
<value condition="Integer.IsGreater(ListItem.Rating,1.5)">2</value>
<value condition="Integer.IsGreater(ListItem.Rating,0.5)">1</value>
<value>0</value>
</variable>
<variable name="AddonInfoHeading">
<value condition="!String.IsEmpty(Window(home).Property(WhatsNew))">$LOCALIZE[24054]</value>
<value>$LOCALIZE[21821]</value>

View File

@ -176,7 +176,7 @@
<top>415</top>
<width>168</width>
<height>20</height>
<texture fallback="ratings/0.png">$INFO[ListItem.Rating,ratings/,.png]</texture>
<texture fallback="ratings/0.png">$VAR[MusicRating,ratings/,.png]</texture>
</control>
<control type="label">
<left>10</left>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon id="skin.confluence" version="4.5.2" name="Confluence" provider-name="Jezz_X, Team Kodi">
<addon id="skin.confluence" version="4.5.3" name="Confluence" provider-name="Jezz_X, Team Kodi">
<requires>
<import addon="xbmc.gui" version="5.13.0"/>
</requires>