diff options
author | ronie <ronie@users.noreply.github.com> | 2016-12-11 16:17:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-11 16:17:14 +0100 |
commit | fd5f0fcd3743a97066eaf729ddd30444ac2dc6a3 (patch) | |
tree | 2ebff42a33f280b5b72f84e695289f5e600902f5 | |
parent | ef2087f892bde4cca4a545fa44caa4fc91f93b96 (diff) | |
parent | c0d6000d6b62830461f019cb3d27dc4a528763cc (diff) |
Merge pull request #11122 from phil65/estuary_krypton
[estuary] sync
19 files changed, 110 insertions, 137 deletions
diff --git a/addons/skin.estuary/extras/backgrounds/secondary7.png b/addons/skin.estuary/extras/backgrounds/secondary7.png Binary files differnew file mode 100644 index 0000000000..0a1d984cda --- /dev/null +++ b/addons/skin.estuary/extras/backgrounds/secondary7.png diff --git a/addons/skin.estuary/extras/home-images/LICENSE b/addons/skin.estuary/extras/home-images/LICENSE index cda6c736f6..16d1dfd268 100644 --- a/addons/skin.estuary/extras/home-images/LICENSE +++ b/addons/skin.estuary/extras/home-images/LICENSE @@ -1,5 +1,3 @@ movie.jpg: https://creativecommons.org/licenses/by/2.0/legalcode -pictures.jpg: https://creativecommons.org/licenses/by/2.0/legalcode -tv.jpg: https://creativecommons.org/licenses/by-sa/2.0/legalcode images were resized. diff --git a/addons/skin.estuary/extras/home-images/add-ons.jpg b/addons/skin.estuary/extras/home-images/add-ons.jpg Binary files differdeleted file mode 100644 index edfc890824..0000000000 --- a/addons/skin.estuary/extras/home-images/add-ons.jpg +++ /dev/null diff --git a/addons/skin.estuary/extras/home-images/pictures.jpg b/addons/skin.estuary/extras/home-images/pictures.jpg Binary files differdeleted file mode 100644 index 81701d0578..0000000000 --- a/addons/skin.estuary/extras/home-images/pictures.jpg +++ /dev/null diff --git a/addons/skin.estuary/extras/home-images/tv.jpg b/addons/skin.estuary/extras/home-images/tv.jpg Binary files differdeleted file mode 100644 index 031e41b304..0000000000 --- a/addons/skin.estuary/extras/home-images/tv.jpg +++ /dev/null diff --git a/addons/skin.estuary/extras/home-images/weather.jpg b/addons/skin.estuary/extras/home-images/weather.jpg Binary files differdeleted file mode 100644 index 4b816554c2..0000000000 --- a/addons/skin.estuary/extras/home-images/weather.jpg +++ /dev/null diff --git a/addons/skin.estuary/xml/Custom_1100_AddonLauncher.xml b/addons/skin.estuary/xml/Custom_1100_AddonLauncher.xml index 2d1c7918e9..69121bb9a6 100644 --- a/addons/skin.estuary/xml/Custom_1100_AddonLauncher.xml +++ b/addons/skin.estuary/xml/Custom_1100_AddonLauncher.xml @@ -26,7 +26,6 @@ <param name="container_path" value="addons://sources/video/" /> <param name="container_target" value="videos" /> <param name="imagewidget_onclick" value="ActivateWindow(addonbrowser,addons://all/xbmc.addon.video,return)" /> - <param name="imagewidget_image" value="special://skin/extras/home-images/movie.jpg" /> </include> <include content="AddonLauncherPanel"> <param name="group_id" value="501" /> @@ -34,7 +33,6 @@ <param name="container_path" value="addons://sources/audio/" /> <param name="container_target" value="music" /> <param name="imagewidget_onclick" value="ActivateWindow(addonbrowser,addons://all/xbmc.addon.audio,return)" /> - <param name="imagewidget_image" value="special://skin/extras/home-images/music.jpg" /> </include> <include content="AddonLauncherPanel"> <param name="group_id" value="502" /> @@ -42,7 +40,6 @@ <param name="container_path" value="addons://sources/executable/" /> <param name="container_target" value="programs" /> <param name="imagewidget_onclick" value="ActivateWindow(addonbrowser,addons://all/xbmc.addon.executable,return)" /> - <param name="imagewidget_image" value="special://skin/extras/home-images/add-ons.jpg" /> </include> <include content="AddonLauncherPanel" condition="System.Platform.Android"> <param name="group_id" value="506" /> @@ -56,7 +53,6 @@ <param name="container_path" value="addons://sources/image/" /> <param name="container_target" value="pictures" /> <param name="imagewidget_onclick" value="ActivateWindow(addonbrowser,addons://all/xbmc.addon.image,return)" /> - <param name="imagewidget_image" value="special://skin/extras/home-images/pictures.jpg" /> </include> <include content="AddonLauncherPanel"> <param name="group_id" value="507" /> @@ -155,7 +151,6 @@ <property name="id">video</property> <property name="path">addons://sources/video/</property> <property name="menu_id">$NUMBER[500]</property> - <!-- <visible>Integer.IsGreater(Container(500).NumItems,0)</visible> --> </item> <item id="2"> <label>$LOCALIZE[1038]</label> @@ -164,7 +159,6 @@ <property name="id">music</property> <property name="path">addons://sources/audio/</property> <property name="menu_id">$NUMBER[501]</property> - <!-- <visible>Integer.IsGreater(Container(501).NumItems,0)</visible> --> </item> <item id="3"> <label>$LOCALIZE[1043]</label> @@ -173,7 +167,6 @@ <property name="id">addons</property> <property name="path">addons://sources/executable/</property> <property name="menu_id">$NUMBER[502]</property> - <!-- <visible>Integer.IsGreater(Container(502).NumItems,0)</visible> --> </item> <item id="4"> <label>$LOCALIZE[20244]</label> @@ -191,8 +184,6 @@ <property name="id">pictures</property> <property name="path">addons://sources/image/</property> <property name="menu_id">$NUMBER[503]</property> - <!-- <visible>Integer.IsGreater(Container(503).NumItems,0)</visible> - --> </item> <item id="7"> <label>$LOCALIZE[24998]</label> diff --git a/addons/skin.estuary/xml/Custom_1109_TopBarOverlay.xml b/addons/skin.estuary/xml/Custom_1109_TopBarOverlay.xml index d8612c4893..96a49b65bb 100644 --- a/addons/skin.estuary/xml/Custom_1109_TopBarOverlay.xml +++ b/addons/skin.estuary/xml/Custom_1109_TopBarOverlay.xml @@ -16,8 +16,17 @@ <height>170</height> <texture>frame/osdfade.png</texture> </control> + <control type="image"> + <left>10</left> + <top>0</top> + <width>500</width> + <height>160</height> + <texture>$INFO[Player.Art(clearlogo)]</texture> + <aspectratio aligny="top" align="left">keep</aspectratio> + </control> <control type="group"> <visible>!Window.IsActive(pvrosdchannels) + !Window.IsActive(pvrosdguide)</visible> + <visible>IsEmpty(Player.Art(clearlogo))</visible> <animation effect="fade" time="150">VisibleChange</animation> <left>30</left> <right>400</right> diff --git a/addons/skin.estuary/xml/DialogVideoInfo.xml b/addons/skin.estuary/xml/DialogVideoInfo.xml index 4545096cea..8f6c67f75c 100644 --- a/addons/skin.estuary/xml/DialogVideoInfo.xml +++ b/addons/skin.estuary/xml/DialogVideoInfo.xml @@ -244,7 +244,7 @@ <texture>$VAR[BannerVar]</texture> <visible>Integer.IsEqual(Container(50).NumItems,0)</visible> </control> - <control type="list" id="50"> + <control type="panel" id="50"> <top>158</top> <width>1235</width> <height>370</height> diff --git a/addons/skin.estuary/xml/Home.xml b/addons/skin.estuary/xml/Home.xml index 2dc66139dd..4f675acde1 100644 --- a/addons/skin.estuary/xml/Home.xml +++ b/addons/skin.estuary/xml/Home.xml @@ -1,10 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <window> - <!-- <menucontrol>9000</menucontrol> - --> <defaultcontrol>9000</defaultcontrol> - <!-- <onload condition="ControlGroup(700).HasFocus">SetFocus(9000,0)</onload> - --> <backgroundcolor>background</backgroundcolor> <controls> <control type="button" id="20000"> @@ -54,47 +50,45 @@ </include> <control type="grouplist" id="5001"> <include>WidgetGroupListCommon</include> - <include content="WidgetListCategories"> + <include content="WidgetListCategories" condition="Library.HasContent(movies)"> <param name="content_path" value="library://video/movies/"/> <param name="widget_header" value="$LOCALIZE[31148]"/> <param name="widget_target" value="videos"/> <param name="list_id" value="5900"/> - <param name="visible" value="Library.HasContent(movies)"/> </include> - <include content="WidgetListPoster"> + <include content="WidgetListPoster" condition="Library.HasContent(movies)"> <param name="content_path" value="special://skin/playlists/inprogress_movies.xsp"/> <param name="widget_header" value="$LOCALIZE[31010]"/> <param name="widget_target" value="videos"/> <param name="list_id" value="5100"/> </include> - <include content="WidgetListPoster"> + <include content="WidgetListPoster" condition="Library.HasContent(movies)"> <param name="content_path" value="special://skin/playlists/recent_unwatched_movies.xsp"/> <param name="widget_header" value="$LOCALIZE[20386]"/> <param name="widget_target" value="videos"/> <param name="list_id" value="5200"/> </include> - <include content="WidgetListPoster"> + <include content="WidgetListPoster" condition="Library.HasContent(movies)"> <param name="content_path" value="special://skin/playlists/unwatched_movies.xsp"/> <param name="widget_header" value="$LOCALIZE[31007]"/> <param name="widget_target" value="videos"/> <param name="list_id" value="5300"/> </include> - <include content="WidgetListPoster"> + <include content="WidgetListPoster" condition="Library.HasContent(movies)"> <param name="content_path" value="special://skin/playlists/random_movies.xsp"/> <param name="widget_header" value="$LOCALIZE[31006]"/> <param name="widget_target" value="videos"/> <param name="list_id" value="5400"/> </include> - <include content="WidgetListCategories"> + <include content="WidgetListCategories" condition="Library.HasContent(movies)"> <param name="content_path" value="videodb://movies/genres/"/> <param name="widget_header" value="$LOCALIZE[135]"/> <param name="widget_target" value="videos"/> <param name="list_id" value="5500"/> <param name="icon" value="$VAR[WidgetGenreIconVar]"/> <param name="icon_height" value="70"/> - <param name="visible" value="Library.HasContent(movies)"/> </include> - <include content="WidgetListPoster"> + <include content="WidgetListPoster" condition="Library.HasContent(movies)"> <param name="content_path" value="videodb://movies/sets/"/> <param name="widget_header" value="$LOCALIZE[31075]"/> <param name="widget_target" value="videos"/> @@ -102,13 +96,11 @@ <param name="list_id" value="5600"/> </include> </control> - <include content="ImageWidget"> - <param name="image_path" value="special://skin/extras/home-images/movie.jpg"/> + <include content="ImageWidget" condition="!Library.HasContent(movies)"> <param name="text_label" value="$LOCALIZE[31104]" /> <param name="button_label" value="$LOCALIZE[31110]" /> <param name="button_onclick" value="ActivateWindow(videos,files,return)"/> <param name="button_id" value="5500"/> - <param name="visible" value="!Library.HasContent(movies)"/> <param name="button2_onclick" value="Skin.SetBool(HomeMenuNoMovieButton)"/> </include> </control> @@ -119,14 +111,13 @@ </include> <control type="grouplist" id="6001"> <include>WidgetGroupListCommon</include> - <include content="WidgetListCategories"> + <include content="WidgetListCategories" condition="Library.HasContent(tvshows)"> <param name="content_path" value="library://video/tvshows/"/> <param name="widget_header" value="$LOCALIZE[31148]"/> <param name="widget_target" value="videos"/> <param name="list_id" value="6900"/> - <param name="visible" value="Library.HasContent(tvshows)"/> </include> - <include content="WidgetListPoster"> + <include content="WidgetListPoster" condition="Library.HasContent(tvshows)"> <param name="content_path" value="videodb://inprogresstvshows"/> <param name="sortby" value="lastplayed"/> <param name="sortorder" value="descending"/> @@ -134,44 +125,40 @@ <param name="widget_target" value="videos"/> <param name="list_id" value="6100"/> </include> - <include content="WidgetListEpisodes"> + <include content="WidgetListEpisodes" condition="Library.HasContent(tvshows)"> <param name="content_path" value="special://skin/playlists/recent_unwatched_episodes.xsp"/> <param name="widget_header" value="$LOCALIZE[20387]"/> <param name="widget_target" value="videos"/> <param name="list_id" value="6200"/> </include> - <include content="WidgetListPoster"> + <include content="WidgetListPoster" condition="Library.HasContent(tvshows)"> <param name="content_path" value="special://skin/playlists/unwatched_tvshows.xsp"/> <param name="widget_header" value="$LOCALIZE[31122]"/> <param name="widget_target" value="videos"/> <param name="list_id" value="6300"/> </include> - <include content="WidgetListCategories"> + <include content="WidgetListCategories" condition="Library.HasContent(tvshows)"> <param name="content_path" value="videodb://tvshows/genres/"/> <param name="widget_header" value="$LOCALIZE[135]"/> <param name="widget_target" value="videos"/> <param name="list_id" value="6400"/> <param name="icon" value="$VAR[WidgetGenreIconVar]"/> <param name="icon_height" value="70"/> - <param name="visible" value="Library.HasContent(tvshows)"/> </include> - <include content="WidgetListCategories"> + <include content="WidgetListCategories" condition="Library.HasContent(tvshows)"> <param name="content_path" value="videodb://tvshows/studios/"/> <param name="widget_header" value="$LOCALIZE[20388]"/> <param name="widget_target" value="videos"/> <param name="list_id" value="6500"/> <param name="icon" value="$INFO[ListItem.Label,resource://resource.images.studios.white/,.png]"/> <param name="icon_height" value="70"/> - <param name="visible" value="Library.HasContent(tvshows)"/> </include> </control> - <include content="ImageWidget"> - <param name="image_path" value="special://skin/extras/home-images/tv.jpg"/> + <include content="ImageWidget" condition="!Library.HasContent(tvshows)"> <param name="text_label" value="$LOCALIZE[31104]" /> <param name="button_label" value="$LOCALIZE[31110]" /> <param name="button_onclick" value="ActivateWindow(videos,files,return)"/> <param name="button_id" value="6400"/> - <param name="visible" value="!Library.HasContent(tvshows)"/> <param name="button2_onclick" value="Skin.SetBool(HomeMenuNoTVShowButton)"/> </include> </control> @@ -182,49 +169,48 @@ </include> <control type="grouplist" id="7001"> <include>WidgetGroupListCommon</include> - <include content="WidgetListCategories"> + <include content="WidgetListCategories" condition="Library.HasContent(music)"> <param name="content_path" value="library://music/"/> <param name="widget_header" value="$LOCALIZE[31148]"/> <param name="widget_target" value="music"/> <param name="list_id" value="7900"/> - <param name="visible" value="Library.HasContent(music)"/> </include> - <include content="WidgetListSquare"> + <include content="WidgetListSquare" condition="Library.HasContent(music)"> <param name="content_path" value="musicdb://recentlyplayedalbums"/> <param name="widget_header" value="$LOCALIZE[517]"/> <param name="widget_target" value="music"/> <param name="list_id" value="7100"/> <param name="fallback_icon" value="DefaultMusicAlbums.png"/> </include> - <include content="WidgetListSquare"> + <include content="WidgetListSquare" condition="Library.HasContent(music)"> <param name="content_path" value="musicdb://recentlyaddedalbums/"/> <param name="widget_header" value="$LOCALIZE[359]"/> <param name="widget_target" value="music"/> <param name="list_id" value="7200"/> <param name="fallback_icon" value="DefaultMusicAlbums.png"/> </include> - <include content="WidgetListSquare"> + <include content="WidgetListSquare" condition="Library.HasContent(music)"> <param name="content_path" value="special://skin/playlists/random_albums.xsp"/> <param name="widget_header" value="$LOCALIZE[31012]"/> <param name="widget_target" value="music"/> <param name="list_id" value="7300"/> <param name="fallback_icon" value="DefaultMusicAlbums.png"/> </include> - <include content="WidgetListSquare"> + <include content="WidgetListSquare" condition="Library.HasContent(music)"> <param name="content_path" value="special://skin/playlists/random_artists.xsp"/> <param name="widget_header" value="$LOCALIZE[31013]"/> <param name="widget_target" value="music"/> <param name="list_id" value="7400"/> <param name="fallback_icon" value="DefaultMusicArtists.png"/> </include> - <include content="WidgetListSquare"> + <include content="WidgetListSquare" condition="Library.HasContent(music)"> <param name="content_path" value="special://skin/playlists/unplayed_albums.xsp"/> <param name="widget_header" value="$LOCALIZE[31014]"/> <param name="widget_target" value="music"/> <param name="list_id" value="7500"/> <param name="fallback_icon" value="DefaultMusicAlbums.png"/> </include> - <include content="WidgetListSquare"> + <include content="WidgetListSquare" condition="Library.HasContent(music)"> <param name="content_path" value="special://skin/playlists/mostplayed_albums.xsp"/> <param name="widget_header" value="$LOCALIZE[31011]"/> <param name="widget_target" value="music"/> @@ -234,13 +220,11 @@ <param name="sortorder" value="descending"/> </include> </control> - <include content="ImageWidget"> - <param name="image_path" value="special://skin/extras/home-images/music.jpg"/> + <include content="ImageWidget" condition="!Library.HasContent(music)"> <param name="text_label" value="$LOCALIZE[31104]" /> <param name="button_label" value="$LOCALIZE[31110]" /> <param name="button_onclick" value="ActivateWindow(music,files)"/> <param name="button_id" value="7600"/> - <param name="visible" value="!Library.HasContent(music)"/> <param name="button2_onclick" value="Skin.SetBool(HomeMenuNoMusicButton)"/> </include> </control> @@ -304,7 +288,6 @@ </include> </control> <include content="ImageWidget"> - <param name="image_path" value="special://skin/extras/home-images/add-ons.jpg"/> <param name="text_label" value="$LOCALIZE[31119]" /> <param name="button_label" value="$LOCALIZE[31118]" /> <param name="button_onclick" value="ActivateWindow(addonbrowser)"/> @@ -341,7 +324,6 @@ </include> </control> <include content="ImageWidget"> - <param name="image_path" value="special://skin/extras/home-images/tv.jpg"/> <param name="text_label" value="$LOCALIZE[31105]" /> <param name="button_label" value="$LOCALIZE[31110]" /> <param name="button_onclick" value="ActivateWindow(videos,root)"/> @@ -412,7 +394,6 @@ </include> </control> <include content="ImageWidget" condition="!System.HasPVRAddon"> - <param name="image_path" value="special://skin/extras/home-images/tv.jpg"/> <param name="text_label" value="$LOCALIZE[31143]" /> <param name="button_label" value="$LOCALIZE[31144]" /> <param name="button_onclick" value="ActivateWindow(addonbrowser,addons://user/xbmc.pvrclient,return)"/> @@ -482,7 +463,6 @@ </include> </control> <include content="ImageWidget" condition="!System.HasPVRAddon"> - <param name="image_path" value="special://skin/extras/home-images/tv.jpg"/> <param name="text_label" value="$LOCALIZE[31143]" /> <param name="button_label" value="$LOCALIZE[31144]" /> <param name="button_onclick" value="ActivateWindow(addonbrowser,addons://user/xbmc.pvrclient,return)"/> @@ -533,7 +513,6 @@ <content>favourites://</content> </control> <include content="ImageWidget"> - <param name="image_path" value="special://skin/extras/home-images/add-ons.jpg"/> <param name="text_label" value="$LOCALIZE[31025]" /> <param name="button_label" value="$LOCALIZE[31116]" /> <param name="button_onclick" value=""/> @@ -589,27 +568,27 @@ <orientation>horizontal</orientation> <align>left</align> <itemgap>-110</itemgap> - <include content="WeatherIcon"> + <include content="WeatherIcon" condition="!String.IsEmpty(Weather.Plugin)"> <param name="label" value="Window(weather).Property(Current.Wind)" /> <param name="texture" value="icons/weather/wind.png" /> <param name="header" value="404" /> </include> - <include content="WeatherIcon"> + <include content="WeatherIcon" condition="!String.IsEmpty(Weather.Plugin)"> <param name="label" value="Window(weather).Property(Current.Humidity)" /> <param name="texture" value="icons/weather/humidity.png" /> <param name="header" value="406" /> </include> - <include content="WeatherIcon"> + <include content="WeatherIcon" condition="!String.IsEmpty(Weather.Plugin)"> <param name="label" value="Window(weather).Property(Current.Precipitation)" /> <param name="texture" value="icons/weather/rain.png" /> <param name="header" value="33021" /> </include> - <include content="WeatherIcon"> + <include content="WeatherIcon" condition="!String.IsEmpty(Weather.Plugin)"> <param name="label" value="Window(weather).Property(Today.Sunrise)" /> <param name="texture" value="icons/weather/sunrise.png" /> <param name="header" value="405" /> </include> - <include content="WeatherIcon"> + <include content="WeatherIcon" condition="!String.IsEmpty(Weather.Plugin)"> <param name="label" value="Window(weather).Property(Today.Sunset)" /> <param name="texture" value="icons/weather/sunset.png" /> <param name="header" value="403" /> @@ -617,20 +596,19 @@ </control> </control> <include content="WeatherWidget" condition="!String.IsEmpty(Weather.Plugin)"> - <param name="content_include" value="HourlyItems" /> - <param name="list_id" value="15100" /> - <param name="widget_header" value="$LOCALIZE[33036]"/> - <param name="visible" value="!String.IsEmpty(Window(weather).Property(Hourly.IsFetched))" /> - </include> - <include content="WeatherWidget" condition="!String.IsEmpty(Weather.Plugin)"> <param name="content_include" value="DailyItems" /> <param name="list_id" value="15200" /> <param name="widget_header" value="$LOCALIZE[31019]"/> <param name="visible" value="!String.IsEmpty(Window(weather).Property(Daily.IsFetched))" /> </include> + <include content="WeatherWidget" condition="!String.IsEmpty(Weather.Plugin)"> + <param name="content_include" value="HourlyItems" /> + <param name="list_id" value="15100" /> + <param name="widget_header" value="$LOCALIZE[33036]"/> + <param name="visible" value="!String.IsEmpty(Window(weather).Property(Hourly.IsFetched))" /> + </include> </control> <include content="ImageWidget" condition="String.IsEmpty(Weather.plugin)"> - <param name="image_path" value="special://skin/extras/home-images/weather.jpg"/> <param name="text_label" value="$LOCALIZE[31120]" /> <param name="button_label" value="$LOCALIZE[31121]" /> <param name="button_onclick" value="ActivateWindow(servicesettings,weather)"/> @@ -645,14 +623,13 @@ </include> <control type="grouplist" id="16001"> <include>WidgetGroupListCommon</include> - <include content="WidgetListCategories"> + <include content="WidgetListCategories" condition="Library.HasContent(musicvideos)"> <param name="content_path" value="library://music/musicvideos/"/> <param name="widget_header" value="$LOCALIZE[31148]"/> <param name="widget_target" value="videos"/> <param name="list_id" value="16900"/> - <param name="visible" value="Library.HasContent(musicvideos)"/> </include> - <include content="WidgetListEpisodes"> + <include content="WidgetListEpisodes" condition="Library.HasContent(musicvideos)"> <param name="content_path" value="videodb://recentlyaddedmusicvideos/"/> <param name="widget_header" value="$LOCALIZE[20390]"/> <param name="widget_target" value="videos"/> @@ -662,7 +639,7 @@ <param name="fallback_image" value="DefaultMusicSongs.png" /> <param name="list_id" value="16300"/> </include> - <include content="WidgetListEpisodes"> + <include content="WidgetListEpisodes" condition="Library.HasContent(musicvideos)"> <param name="content_path" value="special://skin/playlists/unwatched_musicvideos.xsp"/> <param name="widget_header" value="$LOCALIZE[31151]"/> <param name="widget_target" value="videos"/> @@ -672,14 +649,14 @@ <param name="fallback_image" value="DefaultMusicSongs.png" /> <param name="list_id" value="16400"/> </include> - <include content="WidgetListSquare"> + <include content="WidgetListSquare" condition="Library.HasContent(musicvideos)"> <param name="content_path" value="special://skin/playlists/random_musicvideo_artists.xsp"/> <param name="widget_header" value="$LOCALIZE[31013]"/> <param name="widget_target" value="music"/> <param name="list_id" value="16200"/> <param name="widget_limit" value="10"/> </include> - <include content="WidgetListEpisodes"> + <include content="WidgetListEpisodes" condition="Library.HasContent(musicvideos)"> <param name="content_path" value="special://skin/playlists/random_musicvideos.xsp"/> <param name="widget_header" value="$LOCALIZE[31152]"/> <param name="widget_target" value="videos"/> @@ -689,23 +666,20 @@ <param name="fallback_image" value="DefaultMusicSongs.png" /> <param name="list_id" value="16500"/> </include> - <include content="WidgetListCategories"> + <include content="WidgetListCategories" condition="Library.HasContent(musicvideos)"> <param name="content_path" value="videodb://musicvideos/studios/"/> <param name="widget_header" value="$LOCALIZE[20388]"/> <param name="widget_target" value="music"/> <param name="list_id" value="16600"/> <param name="icon" value="$INFO[ListItem.Label,resource://resource.images.studios.white/,.png]"/> <param name="icon_height" value="70"/> - <param name="visible" value="Library.HasContent(musicvideos)"/> </include> </control> - <include content="ImageWidget"> - <param name="image_path" value="special://skin/extras/home-images/music.jpg"/> + <include content="ImageWidget" condition="!Library.HasContent(musicvideos)"> <param name="text_label" value="$LOCALIZE[31104]" /> <param name="button_label" value="$LOCALIZE[31110]" /> <param name="button_onclick" value="ActivateWindow(videos,files,return)"/> <param name="button_id" value="16800"/> - <param name="visible" value="!Library.HasContent(musicvideos)"/> <param name="button2_onclick" value="Skin.SetBool(HomeMenuNoMusicVideoButton)"/> </include> </control> @@ -716,7 +690,7 @@ </include> <control type="grouplist" id="4001"> <include>WidgetGroupListCommon</include> - <include content="WidgetListCategories"> + <include content="WidgetListCategories" condition="!Skin.HasSetting(HomeMenuNoPicturesButton)"> <param name="content_path" value="sources://pictures/"/> <param name="widget_header" value="$LOCALIZE[20094]"/> <param name="widget_target" value="pictures"/> diff --git a/addons/skin.estuary/xml/Includes.xml b/addons/skin.estuary/xml/Includes.xml index 4af57b2dc4..a3440e0d1e 100644 --- a/addons/skin.estuary/xml/Includes.xml +++ b/addons/skin.estuary/xml/Includes.xml @@ -384,7 +384,7 @@ <top>10</top> <width>200</width> <include content="InfoFlag"> - <param name="visible" value="String.IsEqual(ListItem.DBtype,tvshow) + !String.IsEmpty(ListItem.Premiered)" /> + <param name="visible" value="[String.IsEqual(ListItem.DBtype,tvshow) | String.IsEqual(ListItem.DBtype,episode)] + !String.IsEmpty(ListItem.Premiered)" /> <param name="icon" value="lists/year.png" /> <param name="label" value="$INFO[ListItem.Premiered]" /> </include> @@ -574,7 +574,6 @@ <control type="group"> <left>462</left> <include content="ImageWidget"> - <param name="image_path" value="$PARAM[imagewidget_image]"/> <param name="text_label" value="$LOCALIZE[31153]" /> <param name="button_label" value="$LOCALIZE[31144]" /> <param name="button_onclick" value="$PARAM[imagewidget_onclick]"/> diff --git a/addons/skin.estuary/xml/Includes_Home.xml b/addons/skin.estuary/xml/Includes_Home.xml index 55b4bf79c2..617edf3ac3 100644 --- a/addons/skin.estuary/xml/Includes_Home.xml +++ b/addons/skin.estuary/xml/Includes_Home.xml @@ -116,15 +116,6 @@ <definition> <control type="group" id="$PARAM[button_id]889"> <visible>$PARAM[visible]</visible> - <control type="multiimage"> - <top>0</top> - <left>0</left> - <right>0</right> - <height>100%</height> - <aspectratio>scale</aspectratio> - <imagepath colordiffuse="33FFFFFF">$PARAM[image_path]</imagepath> - <visible>String.IsEmpty(Skin.String(HomeFanart.path))</visible> - </control> <control type="grouplist" id="$PARAM[button_id]577"> <orientation>vertical</orientation> <top>0</top> @@ -597,42 +588,42 @@ </include> <control type="panel" id="$PARAM[list_id]"> <left>0</left> - <top>100</top> + <top>90</top> <right>0</right> - <height>480</height> + <height>396</height> <include content="WidgetListCommon"> <param name="list_id" value="$PARAM[list_id]"/> </include> <visible>$PARAM[visible]</visible> - <itemlayout width="$PARAM[width]" height="400"> + <itemlayout width="$PARAM[width]" height="320"> <control type="group"> <left>70</left> <control type="image"> <left>0</left> <top>20</top> <width>254</width> - <height>350</height> + <height>280</height> <texture>dialogs/dialog-bg-nobo.png</texture> <bordertexture border="21">overlays/shadow.png</bordertexture> <bordersize>20</bordersize> </control> <control type="image"> <left>60</left> - <top>130</top> + <top>108</top> <width>130</width> <height>130</height> <texture>$INFO[ListItem.Icon]</texture> </control> <control type="label"> <left>15</left> - <top>47</top> + <top>45</top> <align>center</align> <label>$INFO[ListItem.Label]</label> <width>230</width> </control> <control type="label"> <left>15</left> - <top>80</top> + <top>78</top> <align>center</align> <font>font12</font> <label>$INFO[ListItem.Property(ShortDate)]</label> @@ -640,7 +631,7 @@ </control> <control type="label"> <left>15</left> - <top>280</top> + <top>236</top> <align>center</align> <label>$INFO[ListItem.Label2]</label> <font>font12</font> @@ -653,16 +644,16 @@ <left>70</left> <depth>DepthContentPopout</depth> <animation type="Focus"> - <effect type="zoom" start="100" end="110" time="200" tween="sine" easing="inout" center="180,195" /> + <effect type="zoom" start="100" end="110" time="200" tween="sine" easing="inout" center="180,140" /> </animation> <animation type="Unfocus"> - <effect type="zoom" start="110" end="100" time="200" tween="sine" easing="inout" center="180,195" /> + <effect type="zoom" start="110" end="100" time="200" tween="sine" easing="inout" center="180,140" /> </animation> <control type="image"> <left>0</left> <top>20</top> <width>254</width> - <height>350</height> + <height>280</height> <texture>dialogs/dialog-bg-nobo.png</texture> <bordertexture border="21">overlays/shadow.png</bordertexture> <bordersize>20</bordersize> @@ -671,28 +662,28 @@ <left>0</left> <top>20</top> <width>254</width> - <height>350</height> + <height>280</height> <texture colordiffuse="button_focus">colors/grey.png</texture> <bordersize>20</bordersize> <include>Animation_FocusTextureFade</include> </control> <control type="image"> <left>60</left> - <top>130</top> + <top>108</top> <width>130</width> <height>130</height> <texture>$INFO[ListItem.Icon]</texture> </control> <control type="label"> <left>15</left> - <top>47</top> + <top>45</top> <align>center</align> <label>$INFO[ListItem.Label]</label> <width>230</width> </control> <control type="label"> <left>15</left> - <top>80</top> + <top>78</top> <align>center</align> <font>font12</font> <label>$INFO[ListItem.Property(ShortDate)]</label> @@ -700,7 +691,7 @@ </control> <control type="label"> <left>15</left> - <top>280</top> + <top>236</top> <align>center</align> <label>$INFO[ListItem.Label2]</label> <font>font12</font> diff --git a/addons/skin.estuary/xml/Includes_MediaMenu.xml b/addons/skin.estuary/xml/Includes_MediaMenu.xml index 0e2068322f..baa5f59b5f 100644 --- a/addons/skin.estuary/xml/Includes_MediaMenu.xml +++ b/addons/skin.estuary/xml/Includes_MediaMenu.xml @@ -54,7 +54,7 @@ <onleft>9000</onleft> <onup>9000</onup> <onright condition="!Window.IsActive(MyPVRGuide.xml)">50</onright> - <onright condition="Window.IsActive(MyPVRGuide.xml)">11</onright> + <onright condition="Window.IsActive(MyPVRGuide.xml)">10</onright> <ondown>14100</ondown> <onback>50</onback> <defaultcontrol>6054</defaultcontrol> @@ -85,7 +85,7 @@ <height>120</height> <onleft>6056</onleft> <onright condition="!Window.IsActive(MyPVRGuide.xml)">50</onright> - <onright condition="Window.IsActive(MyPVRGuide.xml)">11</onright> + <onright condition="Window.IsActive(MyPVRGuide.xml)">10</onright> <onup>14100</onup> <ondown>6054</ondown> <width>1000</width> diff --git a/addons/skin.estuary/xml/MyPVRTimers.xml b/addons/skin.estuary/xml/MyPVRTimers.xml index c7d59d6dfb..b842608142 100644 --- a/addons/skin.estuary/xml/MyPVRTimers.xml +++ b/addons/skin.estuary/xml/MyPVRTimers.xml @@ -6,7 +6,7 @@ <controls> <include>DefaultBackground</include> <control type="group"> - <visible>Control.IsVisible(50)</visible> + <animation effect="fade" start="100" end="0" time="200" tween="sine" condition="$EXP[infodialog_active]">Conditional</animation> <control type="group"> <include>OpenClose_Left</include> <control type="fixedlist" id="50"> diff --git a/addons/skin.estuary/xml/MyPlaylist.xml b/addons/skin.estuary/xml/MyPlaylist.xml index 9dea4efef5..51361f04c8 100644 --- a/addons/skin.estuary/xml/MyPlaylist.xml +++ b/addons/skin.estuary/xml/MyPlaylist.xml @@ -39,7 +39,7 @@ <right>30</right> <aligny>center</aligny> <font>font12</font> - <label>$INFO[ListItem.Label]</label> + <label>$VAR[PlaylistLabelVar]</label> <shadowcolor>text_shadow</shadowcolor> </control> <control type="label"> @@ -60,7 +60,7 @@ <right>30</right> <aligny>center</aligny> <font>font12</font> - <label>$INFO[ListItem.TVShowtitle,,: ]$INFO[ListItem.Label]</label> + <label>$VAR[PlaylistLabelVar]</label> <shadowcolor>text_shadow</shadowcolor> </control> <control type="label"> diff --git a/addons/skin.estuary/xml/SkinSettings.xml b/addons/skin.estuary/xml/SkinSettings.xml index 04daad7204..f74c09c5c2 100644 --- a/addons/skin.estuary/xml/SkinSettings.xml +++ b/addons/skin.estuary/xml/SkinSettings.xml @@ -79,7 +79,7 @@ </control> <control type="button" id="607"> <label>$LOCALIZE[31156]</label> - <label2>$INFO[Skin.String(background_overlay),$LOCALIZE[467] ]</label2> + <label2>$VAR[BackgroundOverlayTypeVar]</label2> <include>DefaultSettingButton</include> <onclick condition="String.IsEqual(Skin.String(background_overlay),7)">Skin.SetString(background_overlay,1)</onclick> <onclick condition="String.IsEqual(Skin.String(background_overlay),6)">Skin.SetString(background_overlay,7)</onclick> diff --git a/addons/skin.estuary/xml/Variables.xml b/addons/skin.estuary/xml/Variables.xml index deb45b0b3d..149a838234 100644 --- a/addons/skin.estuary/xml/Variables.xml +++ b/addons/skin.estuary/xml/Variables.xml @@ -7,6 +7,11 @@ <variable name="AutoCompletionContentVar"> <value condition="System.HasAddon(plugin.program.autocompletion) + !System.HasHiddenInput">plugin://plugin.program.autocompletion?info=autocomplete&&id=$INFO[Control.GetLabel(312).index(1)]&&limit=9</value> </variable> + <variable name="PlaylistLabelVar"> + <value condition="String.IsEqual(ListItem.DbType,episode)">$INFO[ListItem.TVShowtitle,,: ]$INFO[ListItem.Season,,x]$INFO[ListItem.Episode,,. ]$INFO[ListItem.Title]</value> + <value condition="String.IsEqual(ListItem.DbType,musicvideo)">$INFO[ListItem.Artist,, - ]$INFO[ListItem.Title]</value> + <value>$INFO[ListItem.Label]</value> + </variable> <variable name="PlaylistLabel2Var"> <value condition="Window.IsActive(musicplaylist)">$INFO[ListItem.Duration]</value> <value>$INFO[ListItem.Duration,, $LOCALIZE[12391]]</value> @@ -300,6 +305,7 @@ <value>$INFO[Container.Art(fanart)]</value> </variable> <variable name="WeatherFanartVar"> + <value condition="!String.IsEmpty(Container.ListItem.Property(FanartCode))">$INFO[Skin.String(WeatherFanart.path)]$INFO[Container.ListItem.Property(FanartCode)]$INFO[Skin.String(WeatherFanart.ext)]</value> <value condition="!String.IsEmpty(Window(weather).Property(current.fanartcode)) + !String.IsEmpty(Skin.String(weatherfanart.path))">$INFO[Skin.String(weatherfanart.path)]$INFO[Window(Weather).Property(Current.FanartCode)]$INFO[Skin.String(weatherfanart.ext)]</value> <value condition="!String.IsEmpty(Skin.String(HomeFanart.path))">$INFO[Skin.String(HomeFanart.path)]weather$INFO[Skin.String(HomeFanart.ext)]</value> </variable> @@ -408,4 +414,8 @@ <value condition="[Window.IsActive(tvtimerrules) | Window.IsActive(radiotimerrules)] + !ListItem.HasTimerSchedule">$INFO[ListItem.Timertype]</value> <value>$INFO[ListItem.EpisodeName]</value> </variable> + <variable name="BackgroundOverlayTypeVar"> + <value condition="String.IsEqual(Skin.String(background_overlay),7)">$LOCALIZE[231]</value> + <value>$INFO[Skin.String(background_overlay),$LOCALIZE[467] ]</value> + </variable> </includes> diff --git a/addons/skin.estuary/xml/VideoOSD.xml b/addons/skin.estuary/xml/VideoOSD.xml index d2c578550f..de4ad3a883 100644 --- a/addons/skin.estuary/xml/VideoOSD.xml +++ b/addons/skin.estuary/xml/VideoOSD.xml @@ -163,7 +163,7 @@ </include> <onclick>Dialog.Close(VideoOSD)</onclick> <onclick>ActivateWindow(Teletext)</onclick> - <visible>VideoPlayer.Content(livetv)</visible> + <visible>Pvr.HasTxt</visible> </control> <control type="radiobutton" id="704"> <include content="OSDButton"> diff --git a/addons/skin.estuary/xml/View_54_InfoWall.xml b/addons/skin.estuary/xml/View_54_InfoWall.xml index 5add11f6a7..8ae8c4d803 100644 --- a/addons/skin.estuary/xml/View_54_InfoWall.xml +++ b/addons/skin.estuary/xml/View_54_InfoWall.xml @@ -45,7 +45,7 @@ </include> <include name="InfoWallMusicLayout"> <param name="fallback_image">DefaultFolder.png</param> - <param name="main_label">$INFO[ListItem.Artist,[COLOR grey],[/COLOR]]</param> + <param name="main_label">$INFO[ListItem.Artist]</param> <param name="sub_label">$INFO[ListItem.Title]</param> <param name="single_label">$INFO[ListItem.Label]</param> <param name="focused">false</param> @@ -253,41 +253,42 @@ <visible>$PARAM[focused]</visible> <include condition="$PARAM[focused]">Animation_FocusTextureFade</include> </control> - <control type="image"> - <left>26</left> - <top>0</top> - <width>270</width> - <height>290</height> - <texture fallback="DefaultMovies.png" background="true">$INFO[ListItem.Icon]</texture> - <aspectratio>keep</aspectratio> - <bordersize>20</bordersize> - </control> <control type="textbox"> <left>40</left> - <top>240</top> + <top>250</top> <width>242</width> - <height>90</height> + <height>120</height> <font>font27</font> <align>center</align> <aligny>center</aligny> <label>$INFO[ListItem.Label]</label> + <autoscroll time="2000" delay="3000" repeat="5000">$PARAM[focused]</autoscroll> <visible>!ListItem.IsParentFolder</visible> </control> - </control> - <control type="image"> - <left>11</left> - <top>-14</top> - <width>298</width> - <height>408</height> - <texture colordiffuse="button_focus">colors/grey.png</texture> - <bordertexture border="21">overlays/shadow.png</bordertexture> - <bordersize>20</bordersize> - <visible>$PARAM[focused] + !String.IsEmpty(ListItem.Art(poster))</visible> - <include condition="$PARAM[focused]">Animation_FocusTextureFade</include> + <control type="image"> + <left>26</left> + <top>0</top> + <width>270</width> + <height>270</height> + <texture fallback="DefaultMovies.png" background="true">$INFO[ListItem.Icon]</texture> + <aspectratio>scale</aspectratio> + <bordersize>20</bordersize> + </control> </control> <control type="group"> <visible>!String.IsEmpty(ListItem.Art(poster))</visible> <control type="image"> + <left>11</left> + <top>-14</top> + <width>298</width> + <height>408</height> + <texture colordiffuse="button_focus">colors/grey.png</texture> + <bordertexture border="21">overlays/shadow.png</bordertexture> + <bordersize>20</bordersize> + <visible>$PARAM[focused]</visible> + <include condition="$PARAM[focused]">Animation_FocusTextureFade</include> + </control> + <control type="image"> <left>15</left> <top>-10</top> <width>290</width> |