Skip to content

Commit

Permalink
Support ROM flags and metadata nplayers and ESRB rating.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wintermute0110 committed Feb 3, 2017
1 parent f5f5a20 commit eb29c4b
Showing 1 changed file with 205 additions and 18 deletions.
223 changes: 205 additions & 18 deletions 720p/ViewsAEL.xml
Expand Up @@ -516,29 +516,30 @@
<visible>Control.IsVisible(923)</visible>
</control>


<control type="group">
<left>650</left>
<top>440</top>
<visible>Control.IsVisible(923)</visible>

<!-- Plot -->
<control type="textbox">
<description>Plot</description>
<left>10</left>
<top>20</top>
<top>155</top>
<width>585</width>
<height>118</height>
<height>70</height>
<font>font10</font>
<align>left</align>
<textcolor>white</textcolor>
<label>$INFO[ListItem.Plot]</label>
<autoscroll time="2000" delay="3000" repeat="5000">Skin.HasSetting(AutoScroll)</autoscroll>
</control>

<!-- Infolabels -->
<control type="label">
<description>Year txt</description>
<left>0</left>
<top>140</top>
<top>10</top>
<width>100</width>
<height>25</height>
<label>Year:</label>
Expand All @@ -550,7 +551,7 @@
<control type="fadelabel">
<description>Year Value</description>
<left>105</left>
<top>140</top>
<top>10</top>
<width>350</width>
<height>25</height>
<label fallback="416">$INFO[ListItem.Year]</label>
Expand All @@ -564,7 +565,7 @@
<control type="label">
<description>Genre txt</description>
<left>0</left>
<top>165</top>
<top>30</top>
<width>100</width>
<height>25</height>
<label>Genre:</label>
Expand All @@ -576,7 +577,7 @@
<control type="label">
<description>Genre Value</description>
<left>105</left>
<top>165</top>
<top>30</top>
<width>350</width>
<height>25</height>
<label fallback="416">$INFO[ListItem.Genre]</label>
Expand All @@ -589,7 +590,7 @@
<control type="label">
<description>Studio txt</description>
<left>0</left>
<top>190</top>
<top>50</top>
<width>100</width>
<height>25</height>
<label>Studio:</label>
Expand All @@ -601,7 +602,7 @@
<control type="label">
<description>Studio Value</description>
<left>105</left>
<top>190</top>
<top>50</top>
<width>350</width>
<height>25</height>
<label fallback="416">$INFO[ListItem.Studio]</label>
Expand All @@ -612,24 +613,49 @@
</control>

<control type="label">
<description>Platform txt</description>
<description>NPlayers txt</description>
<left>0</left>
<top>215</top>
<top>70</top>
<width>100</width>
<height>25</height>
<label>Platform:</label>
<label>NPLayers:</label>
<align>right</align>
<aligny>center</aligny>
<font>font13</font>
<textcolor>blue</textcolor>
</control>
<control type="label">
<description>Platform Value</description>
<description>NPlayers Value</description>
<left>105</left>
<top>215</top>
<width>300</width>
<top>70</top>
<width>350</width>
<height>25</height>
<label fallback="416">$INFO[ListItem.Property(platform)]</label>
<label fallback="416">$INFO[ListItem.Property(nplayers)]</label>
<align>left</align>
<aligny>center</aligny>
<font>font13</font>
<scroll>true</scroll>
</control>

<control type="label">
<description>ESRB txt</description>
<left>0</left>
<top>90</top>
<width>100</width>
<height>25</height>
<label>ESRB:</label>
<align>right</align>
<aligny>center</aligny>
<font>font13</font>
<textcolor>blue</textcolor>
</control>
<control type="label">
<description>ESRB Value</description>
<left>105</left>
<top>90</top>
<width>350</width>
<height>25</height>
<label fallback="416">$INFO[ListItem.Property(esrb)]</label>
<align>left</align>
<aligny>center</aligny>
<font>font13</font>
Expand All @@ -639,7 +665,7 @@
<control type="label">
<description>Rating txt</description>
<left>0</left>
<top>240</top>
<top>110</top>
<width>100</width>
<height>25</height>
<label>Rating:</label>
Expand All @@ -651,7 +677,7 @@
<control type="label">
<description>Rating Value</description>
<left>105</left>
<top>240</top>
<top>110</top>
<width>300</width>
<height>25</height>
<label fallback="416">$INFO[ListItem.Rating]</label>
Expand All @@ -660,6 +686,167 @@
<font>font13</font>
<scroll>true</scroll>
</control>

<control type="label">
<description>Platform txt</description>
<left>0</left>
<top>130</top>
<width>100</width>
<height>25</height>
<label>Platform:</label>
<align>right</align>
<aligny>center</aligny>
<font>font13</font>
<textcolor>blue</textcolor>
</control>
<control type="label">
<description>Platform Value</description>
<left>105</left>
<top>130</top>
<width>300</width>
<height>25</height>
<label fallback="416">$INFO[ListItem.Property(platform)]</label>
<align>left</align>
<aligny>center</aligny>
<font>font13</font>
<scroll>true</scroll>
</control>


<!-- Media flags --->
<!-- Example in ViewsVideoLibrary.xml, search for "Media Codec Flagging Images" --->
<!-- <include>AudioCodecFlaggingConditions</include> defined in IncludesCodecFlagging.xml --->
<control type="group">
<left>0</left>
<top>230</top>
<!-- <align>center</align> -->
<!-- <itemgap>2</itemgap> -->
<!-- <orientation>horizontal</orientation> -->

<!-- In Favourite bool -->
<control type="image">
<description>In Favourite Bool</description>
<left>0</left>
<top>0</top>
<width>80</width>
<height>35</height>
<aspectratio align="right">keep</aspectratio>
<texture>special://home/addons/plugin.program.advanced.emulator.launcher/media/flags/InFav_True.png</texture>
<visible>String.IsEqual(ListItem.Property(AEL_InFav),InFav_True)</visible>
</control>

<!-- Multidisc bool -->
<control type="image">
<description>Multidisc Bool</description>
<left>70</left>
<top>0</top>
<width>80</width>
<height>35</height>
<aspectratio align="right">keep</aspectratio>
<texture>special://home/addons/plugin.program.advanced.emulator.launcher/media/flags/Multidisc_True.png</texture>
<visible>String.IsEqual(ListItem.Property(AEL_MultiDisc),MultiDisc_True)</visible>
</control>

<!-- Favourite ROM status -->
<control type="image">
<description>Favourite ROM status OK</description>
<left>140</left>
<top>0</top>
<width>80</width>
<height>35</height>
<aspectratio align="right">keep</aspectratio>
<texture>special://home/addons/plugin.program.advanced.emulator.launcher/media/flags/Fav_OK.png</texture>
<visible>String.IsEqual(ListItem.Property(AEL_Fav_stat),Fav_OK)</visible>
</control>
<control type="image">
<description>Favourite ROM status Unlinked ROM</description>
<width>80</width>
<height>35</height>
<aspectratio align="right">keep</aspectratio>
<texture>special://home/addons/plugin.program.advanced.emulator.launcher/media/flags/Fav_UnlinkedROM.png</texture>
<visible>String.IsEqual(ListItem.Property(AEL_Fav_stat),Fav_UnlinkedROM)</visible>
</control>
<control type="image">
<description>Favourite ROM status Unlinked Launcher</description>
<width>80</width>
<height>35</height>
<aspectratio align="right">keep</aspectratio>
<texture>special://home/addons/plugin.program.advanced.emulator.launcher/media/flags/Fav_UnlinkedLauncher.png</texture>
<visible>String.IsEqual(ListItem.Property(AEL_Fav_stat),Fav_UnlinkedLauncher)</visible>
</control>
<control type="image">
<description>Favourite ROM status Broken</description>
<width>80</width>
<height>35</height>
<aspectratio align="right">keep</aspectratio>
<texture>special://home/addons/plugin.program.advanced.emulator.launcher/media/flags/Fav_Broken.png</texture>
<visible>String.IsEqual(ListItem.Property(AEL_Fav_stat),Fav_Broken)</visible>
</control>

<!-- No-Intro status -->
<control type="image">
<description>NoIntro Status</description>
<left>210</left>
<top>0</top>
<width>80</width>
<height>35</height>
<aspectratio align="right">keep</aspectratio>
<texture>special://home/addons/plugin.program.advanced.emulator.launcher/media/flags/NoIntro_Have.png</texture>
<visible>String.IsEqual(ListItem.Property(AEL_NoIntro_stat),NoIntro_Have)</visible>
</control>
<control type="image">
<description>NoIntro Status</description>
<left>210</left>
<top>0</top>
<width>80</width>
<height>35</height>
<aspectratio align="right">keep</aspectratio>
<texture>special://home/addons/plugin.program.advanced.emulator.launcher/media/flags/NoIntro_Miss.png</texture>
<visible>String.IsEqual(ListItem.Property(AEL_NoIntro_stat),NoIntro_Miss)</visible>
</control>
<control type="image">
<description>NoIntro Status</description>
<left>210</left>
<top>0</top>
<width>80</width>
<height>35</height>
<aspectratio align="right">keep</aspectratio>
<texture>special://home/addons/plugin.program.advanced.emulator.launcher/media/flags/NoIntro_Added.png</texture>
<visible>String.IsEqual(ListItem.Property(AEL_NoIntro_stat),NoIntro_Added)</visible>
</control>
<control type="image">
<description>NoIntro Status</description>
<left>210</left>
<top>0</top>
<width>80</width>
<height>35</height>
<aspectratio align="right">keep</aspectratio>
<texture>special://home/addons/plugin.program.advanced.emulator.launcher/media/flags/NoIntro_Unknown.png</texture>
<visible>String.IsEqual(ListItem.Property(AEL_NoIntro_stat),NoIntro_Unknown)</visible>
</control>

<!-- Parent/Clone status -->
<control type="image">
<description>Parent/Clone status</description>
<left>280</left>
<top>0</top>
<width>80</width>
<height>35</height>
<aspectratio align="right">keep</aspectratio>
<texture>special://home/addons/plugin.program.advanced.emulator.launcher/media/flags/PClone_Parent.png</texture>
<visible>String.IsEqual(ListItem.Property(AEL_PClone_stat),PClone_Parent)</visible>
</control>
<control type="image">
<description>Parent/Clone status</description>
<left>280</left>
<top>0</top>
<width>80</width>
<height>35</height>
<aspectratio align="right">keep</aspectratio>
<texture>special://home/addons/plugin.program.advanced.emulator.launcher/media/flags/PClone_Clone.png</texture>
<visible>String.IsEqual(ListItem.Property(AEL_PClone_stat),PClone_Clone)</visible>
</control>
</control>
</control>
</control>
</include>
Expand Down

0 comments on commit eb29c4b

Please sign in to comment.