Skip to content

Commit

Permalink
[DialogVideoInfo Specialfeatures] added special features support
Browse files Browse the repository at this point in the history
  • Loading branch information
beatmasterRS committed May 2, 2020
1 parent 4c3de10 commit f054626
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
20 changes: 18 additions & 2 deletions 1080i/Includes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3079,7 +3079,7 @@
<visible>!String.IsEmpty(ListItem.IMDBNumber) + Skin.HasSetting(Use.IMDB.Trailer) + System.HasAddon(plugin.video.imdb.trailers) + !Skin.HasSetting(PlayTrailerWindowed)</visible>
<onclick>Dialog.Close(2003)</onclick>
<onclick>PlayMedia(plugin://plugin.video.imdb.trailers/?action=play_id&imdb=$INFO[ListItem.IMDBNumber])</onclick>
</control>
</control>

<control type="radiobutton" id ="11">
<onfocus>ClearProperty(moviecontent)</onfocus>
Expand Down Expand Up @@ -3117,6 +3117,7 @@
<visible>Container.Content(movies) | Container.Content(tvshows) | Container.Content(episodes)</visible>
<visible>Control.IsEnabled(7) + String.IsEmpty(ListItem.UserRating)</visible>
</control>

<control type="radiobutton" id ="9110">
<onfocus>ClearProperty(moviecontent)</onfocus>
<onfocus>ClearProperty(ShowDisc)</onfocus>
Expand All @@ -3129,7 +3130,22 @@
</include>
<visible>Container.Content(movies) | Container.Content(tvshows) | Container.Content(episodes)</visible>
<visible>Control.IsEnabled(7) + !String.IsEmpty(ListItem.UserRating)</visible>
</control>
</control>

<control type="radiobutton" id ="1236">
<onfocus>ClearProperty(moviecontent)</onfocus>
<onfocus>ClearProperty(ShowDisc)</onfocus>
<include>OnFocusOnClick</include>
<include>ClearOnFocusOnClick</include>
<include>buttondimensions</include>
<include content="buttontextures">
<param name="icon" value="buttonsdialogs/more.png" />
</include>
<visible>System.HasAddon(plugin.video.specialfeatures)</visible>
<visible>String.IsEqual(Window(home).Property(SpecialFeatures.Visible),true)</visible>
<onclick>Action(close)</onclick>
<onclick>RunScript(plugin.video.specialfeatures,listitem)</onclick>
</control>

<control type="radiobutton" id ="9002">
<visible>String.IsEqual(ListItem.DBType,movie) | String.IsEqual(ListItem.DBType,tvshow)</visible>
Expand Down
6 changes: 6 additions & 0 deletions 1080i/Includes_Animations.xml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@
<animation type="Conditional" condition="Control.HasFocus(9036) + ControlGroup(9000).HasFocus()" reversible="false">
<effect type="fade" end="100" start="0" time="400" delay="2300" />
</animation>
<animation type="Conditional" condition="Control.HasFocus(1236) + ControlGroup(9000).HasFocus()" reversible="false">
<effect type="fade" end="100" start="0" time="400" delay="2300" />
</animation>
<animation type="Conditional" condition="Control.HasFocus(9010) + ControlGroup(9000).HasFocus()" reversible="false">
<effect type="fade" end="100" start="0" time="400" delay="2300" />
</animation>
Expand Down Expand Up @@ -210,6 +213,9 @@
<animation type="Conditional" condition="Control.HasFocus(1235) + !String.IsEmpty(ListItem.FileNameAndPath)" reversible="false">
<effect type="fade" end="0" start="100" time="400" delay="2000" />
</animation>
<animation type="Conditional" condition="Control.HasFocus(1236) + !String.IsEmpty(ListItem.FileNameAndPath)" reversible="false">
<effect type="fade" end="0" start="100" time="400" delay="2000" />
</animation>
<animation type="Conditional" condition="Control.HasFocus(10) + !String.IsEmpty(ListItem.FileNameAndPath)" reversible="false">
<effect type="fade" end="0" start="100" time="400" delay="2000" />
</animation>
Expand Down
1 change: 1 addition & 0 deletions 1080i/Includes_Labels.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1071,6 +1071,7 @@
<value condition="Control.HasFocus(11)">$LOCALIZE[20410]</value>
<value condition="Control.HasFocus(1223)">$LOCALIZE[20410]</value>
<value condition="Control.HasFocus(1235)">$LOCALIZE[20410]</value>
<value condition="Control.HasFocus(1236)">$LOCALIZE[31282]</value>
<value condition="Control.HasFocus(9012)">$LOCALIZE[31206]</value>
<value condition="Control.HasFocus(51)">$LOCALIZE[37550]</value>
<value condition="Control.HasFocus(7)">$LOCALIZE[38023]</value>
Expand Down

0 comments on commit f054626

Please sign in to comment.