Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

Commit

Permalink
Update 2: Add Info Wall 2 Video View (#190)
Browse files Browse the repository at this point in the history
* Add new View Info Wall 2

* Use isView2 param to control differences

* AEL Fix so that plot is same height without rating

* Up version and add changelog

* Use premiered for movies without tagline
  • Loading branch information
mechevarria authored Mar 3, 2020
1 parent fb595aa commit 576755a
Show file tree
Hide file tree
Showing 8 changed files with 83 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 1080i/Includes_Object.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2523,7 +2523,7 @@

<include name="Object_Scrollbars">
<include content="Object_Scrollbar_Vert">
<param name="visible" value="Control.IsVisible(50) | Control.IsVisible(500) | Control.IsVisible(501) | Control.IsVisible(502) | Control.IsVisible(503) | Control.IsVisible(504) | Control.IsVisible(51) | Control.IsVisible(510) | Control.IsVisible(511) | Control.IsVisible(512) | Control.IsVisible(513) | Control.IsVisible(514) | Control.IsVisible(515) | Control.IsVisible(540)" />
<param name="visible" value="Control.IsVisible(50) | Control.IsVisible(500) | Control.IsVisible(501) | Control.IsVisible(502) | Control.IsVisible(503) | Control.IsVisible(504) | Control.IsVisible(51) | Control.IsVisible(510) | Control.IsVisible(511) | Control.IsVisible(512) | Control.IsVisible(513) | Control.IsVisible(514) | Control.IsVisible(515) | Control.IsVisible(540) | Control.IsVisible(516)" />
</include>
<include content="Object_Scrollbar_Horz">
<param name="visible" value="Control.IsVisible(52) | Control.IsVisible(520) | Control.IsVisible(521) | Control.IsVisible(522) | Control.IsVisible(523) | Control.IsVisible(53)" />
Expand Down
11 changes: 11 additions & 0 deletions 1080i/Includes_View_50_List.xml
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@
<param name="oscars" value="false" />
</include>
<control type="textbox">
<visible>!$EXP[Exp_IsPluginAdvancedLauncher]</visible>
<top>25</top>
<font>font_plotbox</font>
<textcolor>main_fg_70</textcolor>
Expand All @@ -467,6 +468,16 @@
<height>160</height>
<label>$VAR[Label_Plot]</label>
</control>
<control type="textbox">
<visible>$EXP[Exp_IsPluginAdvancedLauncher]</visible>
<top>25</top>
<font>font_plotbox</font>
<textcolor>main_fg_70</textcolor>
<align>left</align>
<aligny>top</aligny>
<height>208</height>
<label>$VAR[Label_Plot]</label>
</control>
</control>
</control>
</control>
Expand Down
25 changes: 25 additions & 0 deletions 1080i/Includes_View_51_Wall.xml
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,31 @@
</control>
</include>

<include name="View_516_Wall_Info_2">
<control type="group">
<include>View_Group</include>
<visible>Control.IsVisible(516)</visible>
<include content="View_51_Wall_Container">
<param name="id" value="516" />
<param name="height" value="view_height" />
<param name="viewtype" value="$LOCALIZE[31436]" />
<param name="viewtypename" value="icon" />
<param name="controllayout" value="View_514_Wall_Info_Layout" />
<param name="forced" value="true" />
<param name="visible" value="Container.Content(movies) | Container.Content(sets) | Container.Content(tvshows) | Container.Content(seasons) | !$EXP[Exp_IsPluginAdvancedLauncher]" />
<width>1028.56</width>
<include>View_Vertical_Movement</include>
</include>
<include content="View_522_Showcase_Seasons_Info">
<param name="visible" value="true" />
<param name="icon" value="$VAR[Image_Landscape]" />
<param name="title" value="$VAR[Label_List_Title]" />
<param name="plot" value="$INFO[ListItem.Plot]" />
<param name="isView2" value="true" />>
</include>
</control>
</include>

<include name="View_515_Wall_Landscape_Small">
<control type="group">
<include>View_Group</include>
Expand Down
35 changes: 35 additions & 0 deletions 1080i/Includes_View_52_Showcase.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
<include name="View_522_Showcase_Seasons_Info">
<param name="seasons" default="true" />
<param name="id" default="5229" />
<param name="isView2" default="false" />
<definition>
<control type="group">
<include>View_FlipSides</include>
Expand Down Expand Up @@ -139,7 +140,14 @@
<param name="label" value="$INFO[Container($PARAM[id]).ListItem.MPAA]" />
<param name="container" value="Container($PARAM[id])." />
</include>
<include content="Object_Info_Ratings" condition="$PARAM[isView2]">
<param name="top" value="-15" />
<param name="imdbvotes" value="false" />
<param name="top250" value="false" />
<param name="oscars" value="false" />
</include>
<control type="textbox">
<visible>!$PARAM[isView2]</visible>
<top>25</top>
<font>font_plotbox</font>
<textcolor>main_fg_70</textcolor>
Expand All @@ -148,6 +156,33 @@
<height>200</height>
<label>$PARAM[plot]</label>
</control>
<control type="grouplist">
<visible>$PARAM[isView2]</visible>
<top>25</top>
<itemgap>14</itemgap>
<include content="Object_Info_TextPairs">
<param name="name" value="Genre" />
<param name="label" value="ListItem.Genre" />
</include>
<include content="Object_Info_TextPairs">
<param name="name" value="Director" />
<param name="label" value="ListItem.Director" />
</include>
<control type="group">
<visible>!String.isEmpty(ListItem.Tagline)</visible>
<include content="Object_Info_TextPairs">
<param name="name" value="Tagline" />
<param name="label" value="ListItem.Tagline" />
</include>
</control>
<control type="group">
<visible>String.isEmpty(ListItem.Tagline)</visible>
<include content="Object_Info_TextPairs">
<param name="name" value="Premiered" />
<param name="label" value="ListItem.Premiered" />
</include>
</control>
</control>
</control>
</control>
</control>
Expand Down
3 changes: 2 additions & 1 deletion 1080i/MyVideoNav.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<window id="6">
<defaultcontrol always="true">50</defaultcontrol>
<menucontrol>300</menucontrol>
<views>50,500,501,502,504,503,51,510,511,512,513,514,515,52,520,521,522,524,53,523</views>
<views>50,500,501,502,504,503,51,510,511,512,513,514,516,515,52,520,521,522,524,53,523</views>
<onload condition="System.HasAddon(script.tv.show.next.aired)">RunScript(script.tv.show.next.aired,backend=True)</onload>
<controls>
<include>Global_Background</include>
Expand All @@ -25,6 +25,7 @@
<include>View_513_Wall_Circle</include>
<include>View_514_Wall_Info</include>
<include>View_515_Wall_Landscape_Small</include>
<include>View_516_Wall_Info_2</include>
<include>View_52_Showcase</include>
<include>View_520_Showcase_Square</include>
<include>View_521_Showcase_Landscape</include>
Expand Down
2 changes: 1 addition & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<addon id="skin.arctic.zephyr.2" name="Arctic Zephyr 2" provider-name="jurialmunkey" version="0.9.58-alpha1">
<addon id="skin.arctic.zephyr.2" name="Arctic Zephyr 2" provider-name="jurialmunkey" version="0.9.59-alpha1">
<requires>
<import addon="xbmc.gui" version="5.14.0" />
<import addon="script.skinshortcuts" version="0.4.0" />
Expand Down
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
0.9.59
- Add Video View 'Info Wall 2'

0.9.58
- Fix Icon Wall View to remove stretch for Advanced Emulator Launcher
- Add Platform Icon and ROM Details for Advanced Emulator Launcher
Expand Down
5 changes: 5 additions & 0 deletions language/resource.language.en_gb/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -1480,4 +1480,9 @@ msgstr "Clearart with seekbar"
#: /1080i/Includes_View_54_ROM_Simple.xml
msgctxt "#31435"
msgid "ROM Trailer"
msgstr ""

#: /1080i/Includes_View_51_Wall.xml
msgctxt "#31436"
msgid "Info Wall 2"
msgstr ""

0 comments on commit 576755a

Please sign in to comment.