Skip to content

Commit

Permalink
Revert "[Versions] added versions support (#1053)"
Browse files Browse the repository at this point in the history
This reverts commit e1297ae.
  • Loading branch information
beatmasterRS committed Apr 8, 2024
1 parent d805bc0 commit 42912b2
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 477 deletions.
7 changes: 0 additions & 7 deletions 1080i/Custom_DialogInfoSettings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,6 @@
<onclick>Skin.ToggleSetting(hidebutton.video.rating)</onclick>
<visible>Window.IsVisible(DialogVideoInfo.xml)</visible>
</control>
<control type="radiobutton" id="130">
<include>DefContextButtonGradientSelect</include>
<label>40000</label>
<selected>!Skin.HasSetting(hidebutton.video.versions)</selected>
<onclick>Skin.ToggleSetting(hidebutton.video.versions)</onclick>
<visible>Window.IsVisible(DialogVideoInfo.xml)</visible>
</control>
<control type="radiobutton" id="104">
<include>DefContextButtonGradientSelect</include>
<label>31282</label>
Expand Down
49 changes: 0 additions & 49 deletions 1080i/DialogVideoVersion.xml

This file was deleted.

23 changes: 0 additions & 23 deletions 1080i/Includes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1914,16 +1914,6 @@
<visible>[String.IsEqual(ListItem.DBType,movie) | String.IsEqual(ListItem.DBType,tvshow) | String.IsEqual(ListItem.DBType,episode)] + Control.IsEnabled(7)</visible>
<visible>!Skin.HasSetting(hidebutton.video.rating)</visible>
</control>
<control type="radiobutton" id="14">
<onfocus>ClearProperty(moviecontent)</onfocus>
<onfocus>ClearProperty(ShowDisc)</onfocus>
<include>buttondimensions</include>
<include content="buttontextures">
<param name="icon" value="buttonsdialogs/seasons.png"/>
</include>
<visible>String.IsEqual(ListItem.DBTYPE,movie)</visible>
<visible>!Skin.HasSetting(hidebutton.video.versions)</visible>
</control>
<control type="radiobutton" id="1236">
<onfocus>ClearProperty(moviecontent)</onfocus>
<onfocus>ClearProperty(ShowDisc)</onfocus>
Expand Down Expand Up @@ -5169,17 +5159,4 @@
<value condition="String.Contains(System.Language,Spanish)">es</value>
<value>en</value>
</variable>

<variable name="VideoVersionPosterVar">
<value condition="ControlGroup(200).HasFocus(201) + !String.IsEmpty(Container(50).ListItem.Art(poster))">$INFO[Container(50).ListItem.Art(poster)]</value>
<value condition="ControlGroup(200).HasFocus(201) + String.IsEmpty(Container(51).ListItem.Art(poster))">$INFO[Container(50).ListItem.Art(thumb)]</value>
<value condition="ControlGroup(200).HasFocus(202) + !String.IsEmpty(Container(51).ListItem.Art(poster))">$INFO[Container(51).ListItem.Art(poster)]</value>
<value condition="ControlGroup(200).HasFocus(202) + String.IsEmpty(Container(51).ListItem.Art(poster))">$INFO[Container(51).ListItem.Art(thumb)]</value>
</variable>

<variable name="VideoVersionFileVar">
<value condition="Control.HasFocus(50)">$INFO[Container(50).ListItem.FileNameAndPath]</value>
<value condition="Control.HasFocus(51)">$INFO[Container(51).ListItem.FileNameAndPath]</value>
<value>$INFO[ListItem.FileNameAndPath]</value>
</variable>
</includes>
6 changes: 0 additions & 6 deletions 1080i/Includes_Animations.xml
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,6 @@
<animation type="Conditional" condition="Control.HasFocus(9015) + ControlGroup(9000).HasFocus()" reversible="false">
<effect type="fade" end="100" start="0" time="400" delay="2300"/>
</animation>
<animation type="Conditional" condition="Control.HasFocus(14) + ControlGroup(9000).HasFocus()" reversible="false">
<effect type="fade" end="100" start="0" time="400" delay="2300"/>
</animation>
<animation type="Conditional" condition="Control.HasFocus(49) + ControlGroup(9000).HasFocus()" reversible="false">
<effect type="fade" end="100" start="0" time="400" delay="2300"/>
</animation>
Expand Down Expand Up @@ -274,9 +271,6 @@
<animation type="Conditional" condition="Control.HasFocus(9077) + !String.IsEmpty(ListItem.FileNameAndPath)" reversible="false">
<effect type="fade" end="0" start="100" time="400" delay="2000"/>
</animation>
<animation type="Conditional" condition="Control.HasFocus(14) + !String.IsEmpty(ListItem.FileNameAndPath)" reversible="false">
<effect type="fade" end="0" start="100" time="400" delay="2000"/>
</animation>
<animation type="Conditional" condition="Control.HasFocus(9078) + !String.IsEmpty(ListItem.FileNameAndPath)" reversible="false">
<effect type="fade" end="0" start="100" time="400" delay="2000"/>
</animation>
Expand Down
Loading

0 comments on commit 42912b2

Please sign in to comment.