Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
⚡ Show collections infoline icon when has versions - #394
Browse files Browse the repository at this point in the history
  • Loading branch information
jurialmunkey committed Jan 10, 2024
1 parent 4fc4114 commit 82971dc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions 1080i/script-skinvariables-images-includes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3288,7 +3288,7 @@
<value condition="!String.IsEmpty(ListItem.Icon)">$INFO[ListItem.Icon]</value>
</variable>
<variable name="Image_VideoQuality_C301">
<value condition="Container(301).ListItem.IsCollection">flags/quality/sets.png</value>
<value condition="Container(301).ListItem.IsCollection | Container(301).ListItem.HasVideoVersions">flags/quality/sets.png</value>
<value condition="Integer.IsGreater(Container(301).ListItem.VideoResolution,1080) | String.IsEqual(Container(301).ListItem.VideoResolution,4K)">flags/quality/4k.png</value>
<value condition="Integer.IsGreater(Container(301).ListItem.VideoResolution,720)">flags/quality/fhd.png</value>
<value condition="Integer.IsGreater(Container(301).ListItem.VideoResolution,719)">flags/quality/hd.png</value>
Expand All @@ -3297,7 +3297,7 @@
<value condition="True">flags/quality/info.png</value>
</variable>
<variable name="Image_VideoQuality_C503">
<value condition="Container(503).ListItem.IsCollection">flags/quality/sets.png</value>
<value condition="Container(503).ListItem.IsCollection | Container(503).ListItem.HasVideoVersions">flags/quality/sets.png</value>
<value condition="Integer.IsGreater(Container(503).ListItem.VideoResolution,1080) | String.IsEqual(Container(503).ListItem.VideoResolution,4K)">flags/quality/4k.png</value>
<value condition="Integer.IsGreater(Container(503).ListItem.VideoResolution,720)">flags/quality/fhd.png</value>
<value condition="Integer.IsGreater(Container(503).ListItem.VideoResolution,719)">flags/quality/hd.png</value>
Expand All @@ -3306,7 +3306,7 @@
<value condition="True">flags/quality/info.png</value>
</variable>
<variable name="Image_VideoQuality_C513">
<value condition="Container(513).ListItem.IsCollection">flags/quality/sets.png</value>
<value condition="Container(513).ListItem.IsCollection | Container(513).ListItem.HasVideoVersions">flags/quality/sets.png</value>
<value condition="Integer.IsGreater(Container(513).ListItem.VideoResolution,1080) | String.IsEqual(Container(513).ListItem.VideoResolution,4K)">flags/quality/4k.png</value>
<value condition="Integer.IsGreater(Container(513).ListItem.VideoResolution,720)">flags/quality/fhd.png</value>
<value condition="Integer.IsGreater(Container(513).ListItem.VideoResolution,719)">flags/quality/hd.png</value>
Expand All @@ -3315,7 +3315,7 @@
<value condition="True">flags/quality/info.png</value>
</variable>
<variable name="Image_VideoQuality_C523">
<value condition="Container(523).ListItem.IsCollection">flags/quality/sets.png</value>
<value condition="Container(523).ListItem.IsCollection | Container(523).ListItem.HasVideoVersions">flags/quality/sets.png</value>
<value condition="Integer.IsGreater(Container(523).ListItem.VideoResolution,1080) | String.IsEqual(Container(523).ListItem.VideoResolution,4K)">flags/quality/4k.png</value>
<value condition="Integer.IsGreater(Container(523).ListItem.VideoResolution,720)">flags/quality/fhd.png</value>
<value condition="Integer.IsGreater(Container(523).ListItem.VideoResolution,719)">flags/quality/hd.png</value>
Expand All @@ -3324,7 +3324,7 @@
<value condition="True">flags/quality/info.png</value>
</variable>
<variable name="Image_VideoQuality_C553">
<value condition="Container(553).ListItem.IsCollection">flags/quality/sets.png</value>
<value condition="Container(553).ListItem.IsCollection | Container(553).ListItem.HasVideoVersions">flags/quality/sets.png</value>
<value condition="Integer.IsGreater(Container(553).ListItem.VideoResolution,1080) | String.IsEqual(Container(553).ListItem.VideoResolution,4K)">flags/quality/4k.png</value>
<value condition="Integer.IsGreater(Container(553).ListItem.VideoResolution,720)">flags/quality/fhd.png</value>
<value condition="Integer.IsGreater(Container(553).ListItem.VideoResolution,719)">flags/quality/hd.png</value>
Expand All @@ -3333,7 +3333,7 @@
<value condition="True">flags/quality/info.png</value>
</variable>
<variable name="Image_VideoQuality">
<value condition="ListItem.IsCollection">flags/quality/sets.png</value>
<value condition="ListItem.IsCollection | ListItem.HasVideoVersions">flags/quality/sets.png</value>
<value condition="Integer.IsGreater(ListItem.VideoResolution,1080) | String.IsEqual(ListItem.VideoResolution,4K)">flags/quality/4k.png</value>
<value condition="Integer.IsGreater(ListItem.VideoResolution,720)">flags/quality/fhd.png</value>
<value condition="Integer.IsGreater(ListItem.VideoResolution,719)">flags/quality/hd.png</value>
Expand All @@ -3342,7 +3342,7 @@
<value condition="True">flags/quality/info.png</value>
</variable>
<variable name="Image_VideoQuality_Container">
<value condition="Container.ListItem.IsCollection">flags/quality/sets.png</value>
<value condition="Container.ListItem.IsCollection | Container.ListItem.HasVideoVersions">flags/quality/sets.png</value>
<value condition="Integer.IsGreater(Container.ListItem.VideoResolution,1080) | String.IsEqual(Container.ListItem.VideoResolution,4K)">flags/quality/4k.png</value>
<value condition="Integer.IsGreater(Container.ListItem.VideoResolution,720)">flags/quality/fhd.png</value>
<value condition="Integer.IsGreater(Container.ListItem.VideoResolution,719)">flags/quality/hd.png</value>
Expand Down
2 changes: 1 addition & 1 deletion shortcuts/skinvariables-images.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</variable>

<variable name="Image_VideoQuality" containers="301,503,513,523,553" null_id="True">
<value condition="{listitem}.IsCollection">flags/quality/sets.png</value>
<value condition="{listitem}.IsCollection | {listitem}.HasVideoVersions">flags/quality/sets.png</value>
<value condition="Integer.IsGreater({listitem}.VideoResolution,1080) | String.IsEqual({listitem}.VideoResolution,4K)">flags/quality/4k.png</value>
<value condition="Integer.IsGreater({listitem}.VideoResolution,720)">flags/quality/fhd.png</value>
<value condition="Integer.IsGreater({listitem}.VideoResolution,719)">flags/quality/hd.png</value>
Expand Down

0 comments on commit 82971dc

Please sign in to comment.