Skip to content

Commit

Permalink
Added CdArt support. Added advanced filtering in Videos and Music. Fi…
Browse files Browse the repository at this point in the history
…xes.
  • Loading branch information
Tgxcorporation committed Jun 18, 2014
1 parent 1602600 commit 63cedc0
Show file tree
Hide file tree
Showing 43 changed files with 1,610 additions and 946 deletions.
3 changes: 3 additions & 0 deletions 1080i/AddonBrowser.xml
Original file line number Diff line number Diff line change
Expand Up @@ -302,14 +302,17 @@
<usealttexture>Container.SortDirection(Ascending)</usealttexture>
</control>
<control type="radiobutton" id="5">
<textwidth>450</textwidth>
<include>LeftMenuButton</include>
<label>$LOCALIZE[24063]</label>
</control>
<control type="radiobutton" id="6">
<textwidth>450</textwidth>
<include>LeftMenuButton</include>
<label>$LOCALIZE[25000]</label>
</control>
<control type="radiobutton" id="7">
<textwidth>450</textwidth>
<include>LeftMenuButton</include>
<label>$LOCALIZE[25001]</label>
</control>
Expand Down
6 changes: 6 additions & 0 deletions 1080i/CustomMoviesHomeButton.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
<control type="radiobutton" id="701" description="All Movies">
<width>620</width>
<radioposx>520</radioposx>
<textwidth>460</textwidth>
<include>LeftMenuButton</include>
<label>$LOCALIZE[31502]</label>
<onclick>Skin.Reset(CustomMovie.1.Label)</onclick>
Expand All @@ -75,6 +76,7 @@
<control type="radiobutton" id="702" description="Playlists">
<width>620</width>
<radioposx>520</radioposx>
<textwidth>460</textwidth>
<include>LeftMenuButton</include>
<label>$LOCALIZE[136]</label>
<onclick>Skin.Reset(CustomMovie.1.Label)</onclick>
Expand All @@ -85,6 +87,7 @@
<control type="radiobutton" id="703" description="Files">
<width>620</width>
<radioposx>520</radioposx>
<textwidth>460</textwidth>
<include>LeftMenuButton</include>
<label>$LOCALIZE[744]</label>
<onclick>Skin.Reset(CustomMovie.1.Label)</onclick>
Expand All @@ -95,6 +98,7 @@
<control type="radiobutton" id="704" description="Library">
<width>620</width>
<radioposx>520</radioposx>
<textwidth>460</textwidth>
<include>LeftMenuButton</include>
<label>$LOCALIZE[15100]</label>
<onclick>Skin.Reset(CustomMovie.1.Label)</onclick>
Expand All @@ -106,6 +110,7 @@
<visible>IsEmpty(Skin.String(CustomMovie.1.Path))</visible>
<width>620</width>
<radioposx>520</radioposx>
<textwidth>460</textwidth>
<include>LeftMenuButton</include>
<label>636</label>
<onclick>Skin.Reset(movie_entries)</onclick>
Expand All @@ -116,6 +121,7 @@
<visible>!IsEmpty(Skin.String(CustomMovie.1.Path))</visible>
<width>620</width>
<radioposx>520</radioposx>
<textwidth>460</textwidth>
<include>LeftMenuButton</include>
<label>$INFO[Skin.String(CustomMovie.1.Label)]</label>
<onclick>Skin.Reset(movie_entries)</onclick>
Expand Down
7 changes: 7 additions & 0 deletions 1080i/CustomQuit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
<control type="radiobutton" id="701" description="Menu">
<width>620</width>
<radioposx>520</radioposx>
<textwidth>460</textwidth>
<include>LeftMenuButton</include>
<label>$LOCALIZE[31983]</label>
<onclick>Skin.Reset(shutdown)</onclick>
Expand All @@ -64,6 +65,7 @@
<control type="radiobutton" id="702" description="Suspend">
<width>620</width>
<radioposx>520</radioposx>
<textwidth>460</textwidth>
<include>LeftMenuButton</include>
<enable>System.CanSuspend</enable>
<label>$LOCALIZE[13011]</label>
Expand All @@ -73,6 +75,7 @@
<control type="radiobutton" id="703" description="Hibernate">
<width>620</width>
<radioposx>520</radioposx>
<textwidth>460</textwidth>
<include>LeftMenuButton</include>
<enable>System.CanHibernate</enable>
<label>$LOCALIZE[13010]</label>
Expand All @@ -82,6 +85,7 @@
<control type="radiobutton" id="704" description="Shutdown">
<width>620</width>
<radioposx>520</radioposx>
<textwidth>460</textwidth>
<include>LeftMenuButton</include>
<enable>System.CanPowerdown</enable>
<label>$LOCALIZE[13005]</label>
Expand All @@ -91,6 +95,7 @@
<control type="radiobutton" id="705" description="Reboot">
<width>620</width>
<radioposx>520</radioposx>
<textwidth>460</textwidth>
<include>LeftMenuButton</include>
<enable>System.CanReboot</enable>
<label>$LOCALIZE[13013]</label>
Expand All @@ -100,6 +105,7 @@
<control type="radiobutton" id="706" description="Quit">
<width>620</width>
<radioposx>520</radioposx>
<textwidth>460</textwidth>
<include>LeftMenuButton</include>
<label>$LOCALIZE[13009]</label>
<onclick>Skin.SetString(shutdown,quit)</onclick>
Expand All @@ -108,6 +114,7 @@
<control type="radiobutton" id="707" description="Custom Shutdown Timer">
<width>620</width>
<radioposx>520</radioposx>
<textwidth>460</textwidth>
<include>LeftMenuButton</include>
<enable>System.CanPowerDown | System.CanSuspend | System.CanHibernate</enable>
<label>$LOCALIZE[20144]</label>
Expand Down
1 change: 1 addition & 0 deletions 1080i/DialogAddonSettings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@
<width>1131</width>
<height>73</height>
<radioposx>1028</radioposx>
<textwidth>970</textwidth>
<include>LeftMenuButton</include>
</control>
<control type="spincontrolex" id="5">
Expand Down
13 changes: 13 additions & 0 deletions 1080i/DialogAlbumInfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,19 @@
<label>20413</label>
</control>
</control>
<control type="group">
<!-- CDART -->
<visible>Skin.HasSetting(EnableCdArt)+!IsEmpty(ListItem.Thumb)+container.content(Albums)</visible>
<control type="image">
<posx>1540</posx>
<posy>865</posy>
<width>316</width>
<height>316</height>
<texture fallback="common/cdart_default.png" diffuse="common/cdart_diffuse.png">$INFO[Skin.String(MusicPath)]$INFO[ListItem.Artist]/$INFO[ListItem.Album]/cdart.png</texture>
<aspectratio align="center" aligny="center">keep</aspectratio>
<include>Animation_ViewsCDart</include>
</control>
</control>
<control type="image">
<posx>1342</posx>
<posy>838</posy>
Expand Down
1 change: 1 addition & 0 deletions 1080i/DialogContentSettings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
<width>931</width>
<height>73</height>
<radioposx>828</radioposx>
<textwidth>770</textwidth>
<include>LeftMenuButton</include>
</control>
<control type="group" description="Right side options group">
Expand Down
41 changes: 40 additions & 1 deletion 1080i/DialogContextMenu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@
<posx>45</posx>
<posy>77</posy>
<width>577</width>
<height max="949">auto</height>
<height max="923">auto</height>
<itemgap>0</itemgap>
<pagecontrol>60</pagecontrol>
<onright>60</onright>
<control type="button" id="1000" description="Buttons">
<posx>0</posx>
<posy>0</posy>
Expand All @@ -57,6 +59,43 @@
<visible>Container.Content(Actors) | Container.Content(Directors) | Container.Content(Artists)</visible>
<visible>System.HasAddon(script.metadata.actors) + !Window.IsVisible(script-Actors-DialogInfo.xml)</visible>
</control>
<control type="button" id="9325">
<!-- ArtWork Downloader Solo Mode-->
<posx>0</posx>
<posy>0</posy>
<align>center</align>
<textoffsetx>0</textoffsetx>
<include>LeftMenuButton</include>
<label>Artwork Downloader - Solo</label>
<onclick condition="Container.Content(tvshows)">XBMC.RunScript(script.artwork.downloader, mediatype=tvshow, dbid=$INFO[ListItem.DBID])</onclick>
<onclick condition="Container.Content(movies)">XBMC.RunScript(script.artwork.downloader, mediatype=movie, dbid=$INFO[ListItem.DBID])</onclick>
<onclick condition="Container.Content(musicvideos)">XBMC.RunScript(script.artwork.downloader, mediatype=musicvideos, dbid=$INFO[ListItem.DBID])</onclick>
<onclick>SetFocus(51)</onclick>
<visible>System.HasAddon(script.artwork.downloader) + [Container.Content(tvshows) | Container.Content(movies) | Container.Content(musicvideos)]</visible>
</control>
<control type="button" id="9326">
<!-- ArtWork Downloader Gui Mode-->
<posx>0</posx>
<posy>0</posy>
<align>center</align>
<textoffsetx>0</textoffsetx>
<include>LeftMenuButton</include>
<label>Artwork Downloader - Gui</label>
<onclick condition="Container.Content(tvshows)">XBMC.RunScript(script.artwork.downloader, mode=gui, mediatype=tvshow, dbid=$INFO[ListItem.DBID])</onclick>
<onclick condition="Container.Content(movies)">XBMC.RunScript(script.artwork.downloader, mode=gui, mediatype=movie, dbid=$INFO[ListItem.DBID])</onclick>
<onclick condition="Container.Content(musicvideos)">XBMC.RunScript(script.artwork.downloader, mode=gui, mediatype=musicvideo, dbid=$INFO[ListItem.DBID])</onclick>
<onclick>SetFocus(51)</onclick>
<visible>System.HasAddon(script.artwork.downloader) + [Container.Content(tvshows) | Container.Content(movies) | Container.Content(musicvideos)]</visible>
</control>
</control>
<control type="scrollbar" id="60">
<posx>591</posx>
<posy>77</posy>
<height>923</height>
<showonepage>false</showonepage>
<include>VerticalScroller</include>
<onleft>996</onleft>
<onright>996</onright>
</control>
</control>
</controls>
Expand Down
13 changes: 13 additions & 0 deletions 1080i/DialogFullScreenInfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,19 @@
<height>408</height>
<texture>list/bg_facade_vertical.png</texture>
</control>
<control type="group">
<!-- CDART -->
<visible>Skin.HasSetting(EnableCdArt)+!IsEmpty(VideoPlayer.Cover)</visible>
<control type="image">
<posx>147</posx>
<posy>565</posy>
<width>356</width>
<height>356</height>
<texture diffuse="common/cdart_diffuse.png">$INFO[Player.Art(discart)]</texture>
<aspectratio align="center" aligny="center">keep</aspectratio>
<include>Animation_ViewsCDart</include>
</control>
</control>
<control type="image">
<posx>280</posx>
<posy>538</posy>
Expand Down
122 changes: 122 additions & 0 deletions 1080i/DialogMediaFilter.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
<?xml version="1.0" encoding="utf-8"?>
<window>
<defaultcontrol always="true">5</defaultcontrol>
<include>DialogOpenClose</include>
<controls>
<include>DimBG</include>
<control type="group">
<control type="button" description="Quit">
<visible>Skin.HasSetting(WindowClosingIcon)</visible>
<posx>1537</posx>
<posy>169</posy>
<height>50</height>
<width>50</width>
<texturenofocus>topbar/topbar_exit_nofocus.png</texturenofocus>
<texturefocus>topbar/topbar_exit_focus.png</texturefocus>
<onclick>back</onclick>
<label>-</label>
</control>
<control type="image">
<posx>333</posx>
<posy>173</posy>
<width>1254</width>
<height>734</height>
<texture border="94">common/bg_dialog.png</texture>
</control>
<control type="group">
<posx>378</posx>
<posy>210</posy>
<control type="label" description="Heading">
<posx>45</posx>
<posy>18</posy>
<width>1074</width>
<height>100</height>
<font>InfoTitleFont</font>
<textcolor>MainColor</textcolor>
<align>center</align>
<label>587</label>
</control>
<control type="image">
<posx>0</posx>
<posy>38</posy>
<width>1164</width>
<height>79</height>
<texture>list/bg_facade_nofocus_top.png</texture>
</control>
<control type="grouplist" id="5">
<description>control area</description>
<posx>0</posx>
<posy>117</posy>
<width>1164</width>
<height>426</height>
<itemgap>0</itemgap>
<orientation>vertical</orientation>
<pagecontrol>6</pagecontrol>
<onup>9001</onup>
<ondown>9001</ondown>
<onleft>9001</onleft>
<onright>6</onright>
</control>
<control type="button" id="7">
<description>Default Button</description>
<include>LeftMenuButton</include>
</control>
<control type="radiobutton" id="8">
<description>Default RadioButton</description>
<include>LeftMenuButton</include>
</control>
<control type="spincontrolex" id="9">
<description>Default SpinControlex</description>
<include>LeftMenuButton</include>
</control>
<control type="sliderex" id="10">
<description>Default Slider</description>
<include>LeftMenuButton</include>
</control>
<control type="edit" id="12">
<description>Default Edit</description>
<include>LeftMenuButton</include>
</control>
<control type="scrollbar" id="6">
<posx>1133</posx>
<posy>117</posy>
<height>426</height>
<include>VerticalScroller</include>
<onleft>5</onleft>
<onright>5</onright>
</control>
<control type="group">
<posx>0</posx>
<posy>214</posy>
<control type="image">
<posx>0</posx>
<posy>250</posy>
<width>1164</width>
<height>79</height>
<texture>list/bg_facade_nofocus_top.png</texture>
</control>
<control type="grouplist" id="9001">
<posx>0</posx>
<posy>336</posy>
<width>1164</width>
<height>90</height>
<itemgap>30</itemgap>
<aligny>bottom</aligny>
<align>center</align>
<orientation>horizontal</orientation>
<onup>5</onup>
<ondown>5</ondown>
<control type="button" id="28" description="OK">
<width>400</width>
<label>$LOCALIZE[186]</label>
</control>
<control type="button" id="27" description="Clear">
<width>400</width>
<label>$LOCALIZE[192]</label>
</control>
</control>
</control>
</control>
</control>
</controls>
</window>
Loading

0 comments on commit 63cedc0

Please sign in to comment.