Skip to content

Commit

Permalink
Add directors list
Browse files Browse the repository at this point in the history
  • Loading branch information
Hitcher committed Feb 4, 2024
1 parent 0e091d8 commit c5b5e6e
Show file tree
Hide file tree
Showing 5 changed files with 98 additions and 44 deletions.
8 changes: 6 additions & 2 deletions language/resource.language.en_gb/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,11 @@ msgctxt "#31191"
msgid "Which extra would you like to watch?"
msgstr ""

#empty strings from id 31192 to 31193
msgctxt "#31192"
msgid "Director"
msgstr ""

#empty string with id 31193

msgctxt "#31194"
msgid "Submit"
Expand Down Expand Up @@ -931,7 +935,7 @@ msgid "Please try again later."
msgstr ""

msgctxt "#31232"
msgid "Cast and Role"
msgid "Also directed by"
msgstr ""

msgctxt "#31233"
Expand Down
2 changes: 1 addition & 1 deletion xml/DialogFullScreenInfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<font>Med48</font>
<aligny>bottom</aligny>
<textcolor>ffdadada</textcolor>
<label>31232</label>
<label>$LOCALIZE[31076]</label>
</control>
<control type="image">
<top>76</top>
Expand Down
48 changes: 35 additions & 13 deletions xml/Includes_Dialog_Movie_TV_Information.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,29 +59,50 @@
<onleft>Close</onleft>
<onright>500</onright>
<onfocus>ClearProperty(RecommendedVideos,home)</onfocus>
<onfocus>ClearProperty(DirectedByList,home)</onfocus>
<font>Light35</font>
<textcolor>ffdadada</textcolor>
<focusedcolor>ffffc24b</focusedcolor>
<label>$LOCALIZE[31026]</label>
<include>NoTextures</include>
<animation condition="!String.IsEmpty(Window(home).Property(RecommendedVideos))" effect="fade" end="50" start="100" time="0">Conditional</animation>
<animation condition="![String.IsEmpty(Window(home).Property(RecommendedVideos)) + String.IsEmpty(Window(home).Property(DirectedByList))]" effect="fade" end="50" start="100" time="0">Conditional</animation>
</control>
<control id="7001" type="button">
<top>1146</top>
<width>960</width>
<height>70</height>
<onup>7000</onup>
<ondown>noop</ondown>
<ondown>7002</ondown>
<onleft>Close</onleft>
<onright>500</onright>
<onfocus>SetProperty(RecommendedVideos,1,home)</onfocus>
<onfocus>ClearProperty(DirectedByList,home)</onfocus>
<font>Light35</font>
<textcolor>ffdadada</textcolor>
<focusedcolor>ffffc24b</focusedcolor>
<label>$LOCALIZE[31070]</label>
<include>NoTextures</include>
<animation condition="String.IsEmpty(Window(home).Property(RecommendedVideos))" effect="fade" end="50" start="100" time="0">Conditional</animation>
</control>
<control id="7002" type="button">
<top>1256</top>
<width>960</width>
<height>70</height>
<onup>7001</onup>
<ondown>noop</ondown>
<onleft>Close</onleft>
<onright>500</onright>
<onfocus>SetProperty(DirectedByList,1,home)</onfocus>
<onfocus>ClearProperty(RecommendedVideos,home)</onfocus>
<font>Light35</font>
<textcolor>ffdadada</textcolor>
<focusedcolor>ffffc24b</focusedcolor>
<label>$LOCALIZE[31192]</label>
<include>NoTextures</include>
<visible>String.IsEqual(ListItem.DBTYPE,movie)</visible>
<animation condition="String.IsEmpty(Window(home).Property(DirectedByList))" effect="fade" end="50" start="100" time="0">Conditional</animation>
<animation condition="!Control.IsVisible(7001)" effect="slide" end="0,-110" start="0,0" time="0">Conditional</animation>
</control>
</control>
<control type="group">
<left>950</left>
Expand Down Expand Up @@ -338,21 +359,21 @@
<top>-542</top>
<width>4800</width>
<height>1152</height>
<onclick condition="String.IsEmpty(Window(home).Property(RecommendedVideos))">RunScript(plugin.video.themoviedb.helper,add_query=$INFO[Container(500).ListItem.Label],type=person,call_auto=1113)</onclick>
<onclick condition="!String.IsEmpty(Window(home).Property(RecommendedVideos)) + String.IsEqual(ListItem.DBTYPE,movie)">RunScript(plugin.video.themoviedb.helper,add_query=$INFO[Container(500).ListItem.Label],type=movie,call_auto=1113)</onclick>
<onclick condition="!String.IsEmpty(Window(home).Property(RecommendedVideos)) + !String.IsEqual(ListItem.DBTYPE,movie)">RunScript(plugin.video.themoviedb.helper,add_query=$INFO[Container(500).ListItem.Label],type=tv,call_auto=1113)</onclick>
<onclick>RunScript(plugin.video.themoviedb.helper,add_path=$INFO[Container(500).ListItem.FolderPath],call_auto=1113)</onclick>
<onclick>Control.SetFocus(500,0,absolute)</onclick>
<onup condition="Control.IsVisible(96)">3000</onup>
<onup>Control.SetFocus(500,0,absolute)</onup>
<ondown>noop</ondown>
<onleft>Control.SetFocus(500,0,absolute)</onleft>
<onleft condition="String.IsEmpty(Window(home).Property(RecommendedVideos))">7000</onleft>
<onleft condition="String.IsEmpty(Window(home).Property(RecommendedVideos)) + String.IsEmpty(Window(home).Property(DirectedByList))">7000</onleft>
<onleft condition="!String.IsEmpty(Window(home).Property(RecommendedVideos))">7001</onleft>
<onleft condition="!String.IsEmpty(Window(home).Property(DirectedByList))">7002</onleft>
<onright>noop</onright>
<onright condition="!Window.IsVisible(1103)">SetProperty(BounceRight,1,Home)</onright>
<onback>Control.SetFocus(500,0,absolute)</onback>
<onback condition="String.IsEmpty(Window(home).Property(RecommendedVideos))">7000</onback>
<onback condition="String.IsEmpty(Window(home).Property(RecommendedVideos)) + String.IsEmpty(Window(home).Property(DirectedByList))">7000</onback>
<onback condition="!String.IsEmpty(Window(home).Property(RecommendedVideos))">7001</onback>
<onback condition="!String.IsEmpty(Window(home).Property(DirectedByList))">7002</onback>
<preloaditems>2</preloaditems>
<focusposition>2</focusposition>
<viewtype label="">list</viewtype>
Expand Down Expand Up @@ -385,7 +406,7 @@
<width>640</width>
<height>330</height>
<texture border="4">views/default_overlay.png</texture>
<visible>!Container.Content(Sets) + !String.IsEmpty(ListItem.Label) + String.IsEmpty(Window(home).Property(RecommendedVideos))</visible>
<visible>!Container.Content(Sets) + !String.IsEmpty(ListItem.Label) + String.IsEmpty(Window(home).Property(RecommendedVideos)) + String.IsEmpty(Window(home).Property(DirectedByList))</visible>
</control>
<control type="label">
<left>36</left>
Expand All @@ -396,7 +417,7 @@
<textcolor>ffffffff</textcolor>
<shadowcolor>ShadowColour</shadowcolor>
<label>$INFO[ListItem.Label]</label>
<visible>!Container.Content(Sets) + !String.IsEmpty(ListItem.Label) + String.IsEmpty(Window(home).Property(RecommendedVideos))</visible>
<visible>!Container.Content(Sets) + !String.IsEmpty(ListItem.Label) + String.IsEmpty(Window(home).Property(RecommendedVideos)) + String.IsEmpty(Window(home).Property(DirectedByList))</visible>
<animation condition="String.IsEmpty(ListItem.Label2)" effect="slide" end="0,62" start="0,0" time="0">Conditional</animation>
</control>
<control type="label">
Expand All @@ -409,7 +430,7 @@
<textcolor>ffffffff</textcolor>
<shadowcolor>ShadowColour</shadowcolor>
<label>$INFO[ListItem.Label2,$LOCALIZE[20347] ,]</label>
<visible>!Container.Content(Sets) + !String.IsEmpty(ListItem.Label2)</visible>
<visible>!Container.Content(Sets) + !String.IsEmpty(ListItem.Label2) + String.IsEmpty(Window(home).Property(RecommendedVideos)) + String.IsEmpty(Window(home).Property(DirectedByList))</visible>
</control>
<control type="image">
<top>96</top>
Expand Down Expand Up @@ -458,7 +479,7 @@
<width>640</width>
<height>330</height>
<texture border="4">views/default_overlay.png</texture>
<visible>!Container.Content(Sets) + !String.IsEmpty(ListItem.Label) + String.IsEmpty(Window(home).Property(RecommendedVideos))</visible>
<visible>!Container.Content(Sets) + !String.IsEmpty(ListItem.Label) + String.IsEmpty(Window(home).Property(RecommendedVideos)) + String.IsEmpty(Window(home).Property(DirectedByList))</visible>
<include content="FocusedListIDAnimation">
<param name="ListID" value="500"/>
</include>
Expand All @@ -473,7 +494,7 @@
<textcolor>ffffffff</textcolor>
<shadowcolor>ShadowColour</shadowcolor>
<label>$INFO[ListItem.Label]</label>
<visible>!Container.Content(Sets) + !String.IsEmpty(ListItem.Label) + String.IsEmpty(Window(home).Property(RecommendedVideos))</visible>
<visible>!Container.Content(Sets) + !String.IsEmpty(ListItem.Label) + String.IsEmpty(Window(home).Property(RecommendedVideos)) + String.IsEmpty(Window(home).Property(DirectedByList))</visible>
<animation condition="String.IsEmpty(ListItem.Label2)" effect="slide" end="0,62" start="0,0" time="0">Conditional</animation>
<include content="FocusedListIDAnimation">
<param name="ListID" value="500"/>
Expand All @@ -489,7 +510,7 @@
<textcolor>ffffffff</textcolor>
<shadowcolor>ShadowColour</shadowcolor>
<label>$INFO[ListItem.Label2,$LOCALIZE[20347] ,]</label>
<visible>!Container.Content(Sets) + !String.IsEmpty(ListItem.Label2)</visible>
<visible>!Container.Content(Sets) + !String.IsEmpty(ListItem.Label2) + String.IsEmpty(Window(home).Property(RecommendedVideos)) + String.IsEmpty(Window(home).Property(DirectedByList))</visible>
<include content="FocusedListIDAnimation">
<param name="ListID" value="500"/>
</include>
Expand Down Expand Up @@ -536,6 +557,7 @@
<font>Light24</font>
<textcolor>ffbcbcbc</textcolor>
<label>$INFO[Container(500).ListItem.Label2,$LOCALIZE[20347] ,]</label>
<visible>String.IsEmpty(Window(home).Property(RecommendedVideos)) + String.IsEmpty(Window(home).Property(DirectedByList))</visible>
</control>
</control>
</control>
Expand Down
48 changes: 35 additions & 13 deletions xml/Includes_Dialog_Video_Information.xml
Original file line number Diff line number Diff line change
Expand Up @@ -127,29 +127,50 @@
<onleft>Close</onleft>
<onright>9000</onright>
<onfocus>ClearProperty(RecommendedVideos,home)</onfocus>
<onfocus>ClearProperty(DirectedByList,home)</onfocus>
<font>Light35</font>
<textcolor>ffdadada</textcolor>
<focusedcolor>ffffc24b</focusedcolor>
<label>$LOCALIZE[31026]</label>
<include>NoTextures</include>
<animation condition="!String.IsEmpty(Window(home).Property(RecommendedVideos))" effect="fade" end="50" start="100" time="0">Conditional</animation>
<animation condition="![String.IsEmpty(Window(home).Property(RecommendedVideos)) + String.IsEmpty(Window(home).Property(DirectedByList))]" effect="fade" end="50" start="100" time="0">Conditional</animation>
</control>
<control id="7001" type="button">
<top>1146</top>
<width>960</width>
<height>70</height>
<onup>7000</onup>
<ondown>noop</ondown>
<ondown>7002</ondown>
<onleft>Close</onleft>
<onright>500</onright>
<onfocus>SetProperty(RecommendedVideos,1,home)</onfocus>
<onfocus>ClearProperty(DirectedByList,home)</onfocus>
<font>Light35</font>
<textcolor>ffdadada</textcolor>
<focusedcolor>ffffc24b</focusedcolor>
<label>$LOCALIZE[31070]</label>
<include>NoTextures</include>
<animation condition="String.IsEmpty(Window(home).Property(RecommendedVideos))" effect="fade" end="50" start="100" time="0">Conditional</animation>
</control>
<control id="7002" type="button">
<top>1256</top>
<width>960</width>
<height>70</height>
<onup>7001</onup>
<ondown>noop</ondown>
<onleft>Close</onleft>
<onright>500</onright>
<onfocus>SetProperty(DirectedByList,1,home)</onfocus>
<onfocus>ClearProperty(RecommendedVideos,home)</onfocus>
<font>Light35</font>
<textcolor>ffdadada</textcolor>
<focusedcolor>ffffc24b</focusedcolor>
<label>$LOCALIZE[31192]</label>
<include>NoTextures</include>
<visible>String.IsEqual(ListItem.DBTYPE,movie)</visible>
<animation condition="String.IsEmpty(Window(home).Property(DirectedByList))" effect="fade" end="50" start="100" time="0">Conditional</animation>
<animation condition="!Control.IsVisible(7001)" effect="slide" end="0,-110" start="0,0" time="0">Conditional</animation>
</control>
</control>
<control type="group">
<left>1020</left>
Expand Down Expand Up @@ -630,21 +651,21 @@
<top>-542</top>
<width>4800</width>
<height>1152</height>
<onclick condition="String.IsEmpty(Window(home).Property(RecommendedVideos))">RunScript(plugin.video.themoviedb.helper,add_query=$INFO[Container(500).ListItem.Label],type=person,call_auto=1113)</onclick>
<onclick condition="!String.IsEmpty(Window(home).Property(RecommendedVideos)) + String.IsEqual(ListItem.DBTYPE,movie)">RunScript(plugin.video.themoviedb.helper,add_query=$INFO[Container(500).ListItem.Label],type=movie,call_auto=1113)</onclick>
<onclick condition="!String.IsEmpty(Window(home).Property(RecommendedVideos)) + !String.IsEqual(ListItem.DBTYPE,movie)">RunScript(plugin.video.themoviedb.helper,add_query=$INFO[Container(500).ListItem.Label],type=tv,call_auto=1113)</onclick>
<onclick>RunScript(plugin.video.themoviedb.helper,add_path=$INFO[Container(500).ListItem.FolderPath],call_auto=1113)</onclick>
<onclick>Control.SetFocus(500,0,absolute)</onclick>
<onup>Control.SetFocus(500,0,absolute)</onup>
<onup>9001</onup>
<ondown>noop</ondown>
<onleft>Control.SetFocus(500,0,absolute)</onleft>
<onleft condition="String.IsEmpty(Window(home).Property(RecommendedVideos))">7000</onleft>
<onleft condition="String.IsEmpty(Window(home).Property(RecommendedVideos)) + String.IsEmpty(Window(home).Property(DirectedByList))">7000</onleft>
<onleft condition="!String.IsEmpty(Window(home).Property(RecommendedVideos))">7001</onleft>
<onleft condition="!String.IsEmpty(Window(home).Property(DirectedByList))">7002</onleft>
<onright>noop</onright>
<onright condition="!Window.IsVisible(1103)">SetProperty(BounceRight,1,Home)</onright>
<onback>Control.SetFocus(500,0,absolute)</onback>
<onback condition="String.IsEmpty(Window(home).Property(RecommendedVideos))">7000</onback>
<onback condition="String.IsEmpty(Window(home).Property(RecommendedVideos)) + String.IsEmpty(Window(home).Property(DirectedByList))">7000</onback>
<onback condition="!String.IsEmpty(Window(home).Property(RecommendedVideos))">7001</onback>
<onback condition="!String.IsEmpty(Window(home).Property(DirectedByList))">7002</onback>
<preloaditems>2</preloaditems>
<focusposition>2</focusposition>
<viewtype label="">list</viewtype>
Expand Down Expand Up @@ -677,7 +698,7 @@
<width>640</width>
<height>330</height>
<texture border="4">views/default_overlay.png</texture>
<visible>!Container.Content(Sets) + !String.IsEmpty(ListItem.Label) + String.IsEmpty(Window(home).Property(RecommendedVideos))</visible>
<visible>!Container.Content(Sets) + !String.IsEmpty(ListItem.Label) + String.IsEmpty(Window(home).Property(RecommendedVideos)) + String.IsEmpty(Window(home).Property(DirectedByList))</visible>
</control>
<control type="label">
<left>36</left>
Expand All @@ -688,7 +709,7 @@
<textcolor>ffffffff</textcolor>
<shadowcolor>ShadowColour</shadowcolor>
<label>$INFO[ListItem.Label]</label>
<visible>!Container.Content(Sets) + !String.IsEmpty(ListItem.Label) + String.IsEmpty(Window(home).Property(RecommendedVideos))</visible>
<visible>!Container.Content(Sets) + !String.IsEmpty(ListItem.Label) + String.IsEmpty(Window(home).Property(RecommendedVideos)) + String.IsEmpty(Window(home).Property(DirectedByList))</visible>
<animation condition="String.IsEmpty(ListItem.Label2)" effect="slide" end="0,62" start="0,0" time="0">Conditional</animation>
</control>
<control type="label">
Expand All @@ -701,7 +722,7 @@
<textcolor>ffffffff</textcolor>
<shadowcolor>ShadowColour</shadowcolor>
<label>$INFO[ListItem.Label2,$LOCALIZE[20347] ,]</label>
<visible>!Container.Content(Sets) + !String.IsEmpty(ListItem.Label2)</visible>
<visible>!Container.Content(Sets) + !String.IsEmpty(ListItem.Label2) + String.IsEmpty(Window(home).Property(RecommendedVideos)) + String.IsEmpty(Window(home).Property(DirectedByList))</visible>
</control>
<control type="image">
<top>96</top>
Expand Down Expand Up @@ -750,7 +771,7 @@
<width>640</width>
<height>330</height>
<texture border="4">views/default_overlay.png</texture>
<visible>!Container.Content(Sets) + !String.IsEmpty(ListItem.Label) + String.IsEmpty(Window(home).Property(RecommendedVideos))</visible>
<visible>!Container.Content(Sets) + !String.IsEmpty(ListItem.Label) + String.IsEmpty(Window(home).Property(RecommendedVideos)) + String.IsEmpty(Window(home).Property(DirectedByList))</visible>
<include content="FocusedListIDAnimation">
<param name="ListID" value="500"/>
</include>
Expand All @@ -765,7 +786,7 @@
<textcolor>ffffffff</textcolor>
<shadowcolor>ShadowColour</shadowcolor>
<label>$INFO[ListItem.Label]</label>
<visible>!Container.Content(Sets) + !String.IsEmpty(ListItem.Label) + String.IsEmpty(Window(home).Property(RecommendedVideos))</visible>
<visible>!Container.Content(Sets) + !String.IsEmpty(ListItem.Label) + String.IsEmpty(Window(home).Property(RecommendedVideos)) + String.IsEmpty(Window(home).Property(DirectedByList))</visible>
<animation condition="String.IsEmpty(ListItem.Label2)" effect="slide" end="0,62" start="0,0" time="0">Conditional</animation>
<include content="FocusedListIDAnimation">
<param name="ListID" value="500"/>
Expand All @@ -781,7 +802,7 @@
<textcolor>ffffffff</textcolor>
<shadowcolor>ShadowColour</shadowcolor>
<label>$INFO[ListItem.Label2,$LOCALIZE[20347] ,]</label>
<visible>!Container.Content(Sets) + !String.IsEmpty(ListItem.Label2)</visible>
<visible>!Container.Content(Sets) + !String.IsEmpty(ListItem.Label2) + String.IsEmpty(Window(home).Property(RecommendedVideos)) + String.IsEmpty(Window(home).Property(DirectedByList))</visible>
<include content="FocusedListIDAnimation">
<param name="ListID" value="500"/>
</include>
Expand Down Expand Up @@ -828,6 +849,7 @@
<font>Light24</font>
<textcolor>ffbcbcbc</textcolor>
<label>$INFO[Container(500).ListItem.Label2,$LOCALIZE[20347] ,]</label>
<visible>String.IsEmpty(Window(home).Property(RecommendedVideos)) + String.IsEmpty(Window(home).Property(DirectedByList))</visible>
</control>
</control>
</control>
Expand Down
Loading

0 comments on commit c5b5e6e

Please sign in to comment.