aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorronie <ronie@kodi.tv>2020-07-26 22:30:31 +0200
committerronie <ronie@kodi.tv>2020-07-26 22:30:31 +0200
commit069b4aec250def566cb3a691463f2c27f877b9f3 (patch)
tree6305b703a989bbe969e7f9c2529369ae62208d56
parentdb40b2ade4b6e13d6fead7004e819325e2ea0f0b (diff)
[Estuary] implement AddonIsEnabled / EnableAddon
-rw-r--r--addons/skin.estuary/xml/Custom_1107_SearchDialog.xml10
-rw-r--r--addons/skin.estuary/xml/DialogMusicInfo.xml7
-rw-r--r--addons/skin.estuary/xml/DialogVideoInfo.xml17
-rw-r--r--addons/skin.estuary/xml/Includes.xml2
-rw-r--r--addons/skin.estuary/xml/MusicVisualisation.xml2
-rw-r--r--addons/skin.estuary/xml/MyMusicNav.xml3
-rw-r--r--addons/skin.estuary/xml/MyVideoNav.xml5
-rw-r--r--addons/skin.estuary/xml/Settings.xml2
-rw-r--r--addons/skin.estuary/xml/SkinSettings.xml18
-rw-r--r--addons/skin.estuary/xml/Variables.xml8
-rw-r--r--addons/skin.estuary/xml/View_52_IconWall.xml8
11 files changed, 47 insertions, 35 deletions
diff --git a/addons/skin.estuary/xml/Custom_1107_SearchDialog.xml b/addons/skin.estuary/xml/Custom_1107_SearchDialog.xml
index 59e36cf45e..44254e032c 100644
--- a/addons/skin.estuary/xml/Custom_1107_SearchDialog.xml
+++ b/addons/skin.estuary/xml/Custom_1107_SearchDialog.xml
@@ -20,8 +20,9 @@
<item>
<label>$LOCALIZE[31113]</label>
<onclick>Dialog.Close(all)</onclick>
- <onclick condition="System.hasAddon(script.globalsearch)">RunScript(script.globalsearch)</onclick>
- <onclick condition="!System.hasAddon(script.globalsearch)">InstallAddon(script.globalsearch)</onclick>
+ <onclick condition="System.AddonIsEnabled(script.globalsearch)">RunScript(script.globalsearch)</onclick>
+ <onclick condition="System.HasAddon(script.globalsearch) + !System.AddonIsEnabled(script.globalsearch)">EnableAddon(script.globalsearch)</onclick>
+ <onclick condition="!System.HasAddon(script.globalsearch)">InstallAddon(script.globalsearch)</onclick>
</item>
<item>
<label>$LOCALIZE[31145]</label>
@@ -31,8 +32,9 @@
<item>
<label>$LOCALIZE[31114]</label>
<onclick>Dialog.Close(all)</onclick>
- <onclick condition="System.hasAddon(plugin.video.youtube)">ActivateWindow(videos,"plugin://plugin.video.youtube/kodion/search/list/",return)</onclick>
- <onclick condition="!System.hasAddon(plugin.video.youtube)">InstallAddon(plugin.video.youtube)</onclick>
+ <onclick condition="System.AddonIsEnabled(plugin.video.youtube)">ActivateWindow(videos,"plugin://plugin.video.youtube/kodion/search/list/",return)</onclick>
+ <onclick condition="System.HasAddon(plugin.video.youtube) + !System.AddonIsEnabled(plugin.video.youtube)">EnableAddon(plugin.video.youtube)</onclick>
+ <onclick condition="!System.HasAddon(plugin.video.youtube)">InstallAddon(plugin.video.youtube)</onclick>
</item>
</content>
</control>
diff --git a/addons/skin.estuary/xml/DialogMusicInfo.xml b/addons/skin.estuary/xml/DialogMusicInfo.xml
index 2f82396db7..6ad1779e6d 100644
--- a/addons/skin.estuary/xml/DialogMusicInfo.xml
+++ b/addons/skin.estuary/xml/DialogMusicInfo.xml
@@ -369,9 +369,10 @@
<onleft>12</onleft>
<onright>120</onright>
<onclick condition="String.IsEmpty(ListItem.DBID)">PlayMedia($INFO[ListItem.FilenameAndPath])</onclick>
- <onclick condition="System.HasAddon(script.playalbum) + String.IsEqual(ListItem.DBType,album)">RunScript(script.playalbum,albumid=$INFO[ListItem.DBID])</onclick>
- <onclick condition="System.HasAddon(script.playalbum) + String.IsEqual(ListItem.DBType,song)">RunScript(script.playalbum,songid=$INFO[ListItem.DBID])</onclick>
- <onclick condition="System.HasAddon(script.playalbum)">Action(close)</onclick>
+ <onclick condition="System.AddonIsEnabled(script.playalbum) + String.IsEqual(ListItem.DBType,album)">RunScript(script.playalbum,albumid=$INFO[ListItem.DBID])</onclick>
+ <onclick condition="System.AddonIsEnabled(script.playalbum) + String.IsEqual(ListItem.DBType,song)">RunScript(script.playalbum,songid=$INFO[ListItem.DBID])</onclick>
+ <onclick condition="System.AddonIsEnabled(script.playalbum)">Action(close)</onclick>
+ <onclick condition="System.HasAddon(script.playalbum) + !System.AddonIsEnabled(script.playalbum) + !String.IsEmpty(ListItem.DBID)">EnableAddon(script.playalbum)</onclick>
<onclick condition="!System.HasAddon(script.playalbum) + !String.IsEmpty(ListItem.DBID)">InstallAddon(script.playalbum)</onclick>
<visible>!String.IsEqual(ListItem.DBType,artist)</visible>
</control>
diff --git a/addons/skin.estuary/xml/DialogVideoInfo.xml b/addons/skin.estuary/xml/DialogVideoInfo.xml
index df2389923f..922eed5756 100644
--- a/addons/skin.estuary/xml/DialogVideoInfo.xml
+++ b/addons/skin.estuary/xml/DialogVideoInfo.xml
@@ -157,9 +157,9 @@
<param name="control_id" value="147" />
<param name="label" value="$INFO[ListItem.Director,[COLOR button_focus]$LOCALIZE[20339]: [/COLOR]]" />
<param name="altlabel" value="$INFO[ListItem.Director,$LOCALIZE[20339]: ]" />
- <param name="onclick_condition" value="System.hasAddon(script.embuary.info)" />
+ <param name="onclick_condition" value="System.AddonIsEnabled(script.embuary.info)" />
<param name="onclick" value="RunScript(script.embuary.info,call=person,query='$ESCINFO[ListItem.Director]')" />
- <param name="altclick_condition" value="System.hasAddon(script.embuary.info)" />
+ <param name="altclick_condition" value="System.AddonIsEnabled(script.embuary.info)" />
<param name="altclick" value="RunScript(script.embuary.info,call=person,query='$ESCINFO[ListItem.Director]')" />
<param name="visible" value="!String.IsEmpty(ListItem.Director)" />
</include>
@@ -167,9 +167,9 @@
<param name="control_id" value="148" />
<param name="label" value="$INFO[ListItem.Writer,[COLOR button_focus]$LOCALIZE[20417]: [/COLOR]]" />
<param name="altlabel" value="$INFO[ListItem.Writer,$LOCALIZE[20417]: ]" />
- <param name="onclick_condition" value="System.hasAddon(script.embuary.info)" />
+ <param name="onclick_condition" value="System.AddonIsEnabled(script.embuary.info)" />
<param name="onclick" value="RunScript(script.embuary.info,call=person,query='$ESCINFO[ListItem.Writer]')" />
- <param name="altclick_condition" value="System.hasAddon(script.embuary.info)" />
+ <param name="altclick_condition" value="System.AddonIsEnabled(script.embuary.info)" />
<param name="altclick" value="RunScript(script.embuary.info,call=person,query='$ESCINFO[ListItem.Writer]')" />
<param name="visible" value="!String.IsEmpty(ListItem.Writer)" />
</include>
@@ -292,8 +292,9 @@
<top>158</top>
<width>1235</width>
<height>370</height>
- <onup condition="System.hasAddon(script.embuary.info) + Control.HasFocus(50) + !String.IsEqual(ListItem.DBType,set)">RunScript(script.embuary.info,call=person,query='$ESCINFO[Container(50).ListItem.Label]')</onup>
- <onup condition="!System.hasAddon(script.embuary.info) + !String.IsEqual(ListItem.DBType,set)">InstallAddon(script.embuary.info)</onup>
+ <onup condition="System.AddonIsEnabled(script.embuary.info) + Control.HasFocus(50) + !String.IsEqual(ListItem.DBType,set)">RunScript(script.embuary.info,call=person,query='$ESCINFO[Container(50).ListItem.Label]')</onup>
+ <onup condition="System.HasAddon(script.embuary.info) + !System.AddonIsEnabled(script.embuary.info) + !String.IsEqual(ListItem.DBType,set)">EnableAddon(script.embuary.info)</onup>
+ <onup condition="!System.HasAddon(script.embuary.info) + !String.IsEqual(ListItem.DBType,set)">InstallAddon(script.embuary.info)</onup>
<onleft>50</onleft>
<onright>50</onright>
<ondown>140</ondown>
@@ -536,7 +537,7 @@
<param name="onclick_1" value="Dialog.Close(MovieInformation)" />
<param name="onclick_2" value="RunScript(script.cinemavision,experience)" />
<param name="label" value="$LOCALIZE[31003]" />
- <param name="visible" value="System.HasAddon(script.cinemavision) + [String.IsEqual(ListItem.DBType,movie) | String.IsEqual(ListItem.DBType,tvshow) | String.IsEqual(ListItem.DBType,season) | String.IsEqual(ListItem.DBType,episode)]" />
+ <param name="visible" value="System.AddonIsEnabled(script.cinemavision) + [String.IsEqual(ListItem.DBType,movie) | String.IsEqual(ListItem.DBType,tvshow) | String.IsEqual(ListItem.DBType,season) | String.IsEqual(ListItem.DBType,episode)]" />
</include>
<control type="group" id="400">
<width>264</width>
@@ -584,7 +585,7 @@
<param name="onclick_2" value="RunScript(script.embuary.info,call=tv,dbid=$INFO[ListItem.DBID])" />
<param name="onclick_3_condition" value="!String.IsEmpty(ListItem.DBID) + String.IsEqual(ListItem.DBType,episode)" />
<param name="onclick_3" value="RunScript(script.embuary.info,call=tv,query='$ESCINFO[ListItem.TVShowTitle]',year=$INFO[ListItem.Year])" />
- <param name="visible" value="System.hasAddon(script.embuary.info) + !String.IsEmpty(ListItem.DBID) + [String.IsEqual(ListItem.DbType,movie) | String.IsEqual(ListItem.DbType,tvshow) | String.IsEqual(ListItem.DbType,episode)]" />
+ <param name="visible" value="System.AddonIsEnabled(script.embuary.info) + !String.IsEmpty(ListItem.DBID) + [String.IsEqual(ListItem.DbType,movie) | String.IsEqual(ListItem.DbType,tvshow) | String.IsEqual(ListItem.DbType,episode)]" />
</include>
<include content="InfoDialogButton">
<param name="id" value="102" />
diff --git a/addons/skin.estuary/xml/Includes.xml b/addons/skin.estuary/xml/Includes.xml
index 9b58087a5e..209e0dea1e 100644
--- a/addons/skin.estuary/xml/Includes.xml
+++ b/addons/skin.estuary/xml/Includes.xml
@@ -293,7 +293,7 @@
<usecontrolcoords>true</usecontrolcoords>
<control type="group">
<width>150</width>
- <visible>System.HasAddon(resource.images.studios.white) + !String.IsEmpty($PARAM[infolabel_prefix]ListItem.Studio)</visible>
+ <visible>System.AddonIsEnabled(resource.images.studios.white) + !String.IsEmpty($PARAM[infolabel_prefix]ListItem.Studio)</visible>
<include content="MediaFlag">
<param name="texture" value="$INFO[$PARAM[infolabel_prefix]ListItem.Studio,resource://resource.images.studios.white/,.png]" />
</include>
diff --git a/addons/skin.estuary/xml/MusicVisualisation.xml b/addons/skin.estuary/xml/MusicVisualisation.xml
index 34ea35c42a..94f5b273e8 100644
--- a/addons/skin.estuary/xml/MusicVisualisation.xml
+++ b/addons/skin.estuary/xml/MusicVisualisation.xml
@@ -2,7 +2,7 @@
<window>
<defaultcontrol></defaultcontrol>
<backgroundcolor>background</backgroundcolor>
- <onload condition="System.HasAddon(script.artistslideshow) + !Skin.HasSetting(hide_background_fanart)">RunScript(script.artistslideshow)</onload>
+ <onload condition="System.AddonIsEnabled(script.artistslideshow) + !Skin.HasSetting(hide_background_fanart)">RunScript(script.artistslideshow)</onload>
<controls>
<control type="visualisation" id="2">
<include>FullScreenDimensions</include>
diff --git a/addons/skin.estuary/xml/MyMusicNav.xml b/addons/skin.estuary/xml/MyMusicNav.xml
index 2b200bd554..c83c429e60 100644
--- a/addons/skin.estuary/xml/MyMusicNav.xml
+++ b/addons/skin.estuary/xml/MyMusicNav.xml
@@ -71,7 +71,8 @@
<control type="button" id="622">
<include>MediaMenuItemsCommon</include>
<label>$LOCALIZE[31117]</label>
- <onclick condition="System.HasAddon(plugin.library.node.editor)">ActivateWindow(programs,plugin://plugin.library.node.editor/?ltype=music,return)</onclick>
+ <onclick condition="System.AddonIsEnabled(plugin.library.node.editor)">ActivateWindow(programs,plugin://plugin.library.node.editor/?ltype=music,return)</onclick>
+ <onclick condition="System.HasAddon(plugin.library.node.editor) + !System.AddonIsEnabled(plugin.library.node.editor)">EnableAddon(plugin.library.node.editor)</onclick>
<onclick condition="!System.HasAddon(plugin.library.node.editor)">InstallAddon(plugin.library.node.editor)</onclick>
<visible>String.IsEmpty(Container.FolderPath) + String.IsEmpty(Container.PluginName)</visible>
</control>
diff --git a/addons/skin.estuary/xml/MyVideoNav.xml b/addons/skin.estuary/xml/MyVideoNav.xml
index ced8be1abd..e69fb9e38b 100644
--- a/addons/skin.estuary/xml/MyVideoNav.xml
+++ b/addons/skin.estuary/xml/MyVideoNav.xml
@@ -150,7 +150,8 @@
<control type="button" id="622">
<include>MediaMenuItemsCommon</include>
<label>$LOCALIZE[31117]</label>
- <onclick condition="System.HasAddon(plugin.library.node.editor)">ActivateWindow(programs,plugin://plugin.library.node.editor/?ltype=video,return)</onclick>
+ <onclick condition="System.AddonIsEnabled(plugin.library.node.editor)">ActivateWindow(programs,plugin://plugin.library.node.editor/?ltype=video,return)</onclick>
+ <onclick condition="System.HasAddon(plugin.library.node.editor) + !System.AddonIsEnabled(plugin.library.node.editor)">EnableAddon(plugin.library.node.editor)</onclick>
<onclick condition="!System.HasAddon(plugin.library.node.editor)">InstallAddon(plugin.library.node.editor)</onclick>
<visible>Container.Content() + String.IsEmpty(Container.PluginName)</visible>
</control>
@@ -158,7 +159,7 @@
<include>MediaMenuItemsCommon</include>
<label>$LOCALIZE[31009]</label>
<onclick>InstallAddon(resource.images.studios.white)</onclick>
- <visible>Container.Content(studios) + !System.HasAddon(resource.images.studios.white)</visible>
+ <visible>Container.Content(studios) + !System.AddonIsEnabled(resource.images.studios.white)</visible>
</control>
<control type="button" id="624">
<include>MediaMenuItemsCommon</include>
diff --git a/addons/skin.estuary/xml/Settings.xml b/addons/skin.estuary/xml/Settings.xml
index 18ad10234b..fa63b174b8 100644
--- a/addons/skin.estuary/xml/Settings.xml
+++ b/addons/skin.estuary/xml/Settings.xml
@@ -115,7 +115,7 @@
<label>LibreELEC</label>
<onclick>RunAddon(service.libreelec.settings)</onclick>
<icon>icons/settings/libreelec.png</icon>
- <visible>System.HasAddon(service.libreelec.settings)</visible>
+ <visible>System.AddonIsEnabled(service.libreelec.settings)</visible>
</item>
</content>
</control>
diff --git a/addons/skin.estuary/xml/SkinSettings.xml b/addons/skin.estuary/xml/SkinSettings.xml
index 6c82f75339..34921db298 100644
--- a/addons/skin.estuary/xml/SkinSettings.xml
+++ b/addons/skin.estuary/xml/SkinSettings.xml
@@ -107,7 +107,8 @@
<label>$LOCALIZE[31131]</label>
<label2>$INFO[Skin.String(HomeFanart.name)]</label2>
<include>DefaultSettingButton</include>
- <onclick condition="System.HasAddon(script.image.resource.select)">RunScript(script.image.resource.select,property=HomeFanart&amp;type=resource.images.skinbackgrounds)</onclick>
+ <onclick condition="System.AddonIsEnabled(script.image.resource.select)">RunScript(script.image.resource.select,property=HomeFanart&amp;type=resource.images.skinbackgrounds)</onclick>
+ <onclick condition="System.HasAddon(script.image.resource.select) + !System.AddonIsEnabled(script.image.resource.select)">EnableAddon(script.image.resource.select)</onclick>
<onclick condition="!System.HasAddon(script.image.resource.select)">InstallAddon(script.image.resource.select)</onclick>
<enable>!Skin.HasSetting(no_fanart)</enable>
</control>
@@ -115,7 +116,8 @@
<label>$LOCALIZE[31062]</label>
<label2>$INFO[Skin.String(WeatherFanart.name)]</label2>
<include>DefaultSettingButton</include>
- <onclick condition="System.HasAddon(script.image.resource.select)">RunScript(script.image.resource.select,property=WeatherFanart&amp;type=resource.images.weatherfanart)</onclick>
+ <onclick condition="System.AddonIsEnabled(script.image.resource.select)">RunScript(script.image.resource.select,property=WeatherFanart&amp;type=resource.images.weatherfanart)</onclick>
+ <onclick condition="System.HasAddon(script.image.resource.select) + !System.AddonIsEnabled(script.image.resource.select)">EnableAddon(script.image.resource.select)</onclick>
<onclick condition="!System.HasAddon(script.image.resource.select)">InstallAddon(script.image.resource.select)</onclick>
<enable>!Skin.HasSetting(no_fanart)</enable>
</control>
@@ -123,8 +125,9 @@
<label>$LOCALIZE[31149]</label>
<label2>$INFO[Skin.String(MovieGenreFanart.Name)]</label2>
<include>DefaultSettingButton</include>
+ <onclick condition="System.AddonIsEnabled(script.image.resource.select)">RunScript(script.image.resource.select,property=MovieGenreFanart&amp;type=resource.images.moviegenrefanart)</onclick>
+ <onclick condition="System.HasAddon(script.image.resource.select) + !System.AddonIsEnabled(script.image.resource.select)">EnableAddon(script.image.resource.select)</onclick>
<onclick condition="!System.HasAddon(script.image.resource.select)">InstallAddon(script.image.resource.select)</onclick>
- <onclick condition="System.HasAddon(script.image.resource.select)">RunScript(script.image.resource.select,property=MovieGenreFanart&amp;type=resource.images.moviegenrefanart)</onclick>
</control>
</control>
<control type="grouplist" id="610">
@@ -153,7 +156,8 @@
<control type="button" id="6110">
<label>- $LOCALIZE[31157]</label>
<include>DefaultSettingButton</include>
- <onclick condition="System.HasAddon(plugin.library.node.editor)">ActivateWindow(programs,plugin://plugin.library.node.editor/?ltype=video,return)</onclick>
+ <onclick condition="System.AddonIsEnabled(plugin.library.node.editor)">ActivateWindow(programs,plugin://plugin.library.node.editor/?ltype=video,return)</onclick>
+ <onclick condition="System.HasAddon(plugin.library.node.editor) + !System.AddonIsEnabled(plugin.library.node.editor)">EnableAddon(plugin.library.node.editor)</onclick>
<onclick condition="!System.HasAddon(plugin.library.node.editor)">InstallAddon(plugin.library.node.editor)</onclick>
<enable>!Skin.HasSetting(HomeMenuNoMovieButton)</enable>
</control>
@@ -166,7 +170,8 @@
<control type="button" id="6120">
<label>- $LOCALIZE[31157]</label>
<include>DefaultSettingButton</include>
- <onclick condition="System.HasAddon(plugin.library.node.editor)">ActivateWindow(programs,plugin://plugin.library.node.editor/?ltype=video,return)</onclick>
+ <onclick condition="System.AddonIsEnabled(plugin.library.node.editor)">ActivateWindow(programs,plugin://plugin.library.node.editor/?ltype=video,return)</onclick>
+ <onclick condition="System.HasAddon(plugin.library.node.editor) + !System.AddonIsEnabled(plugin.library.node.editor)">EnableAddon(plugin.library.node.editor)</onclick>
<onclick condition="!System.HasAddon(plugin.library.node.editor)">InstallAddon(plugin.library.node.editor)</onclick>
<enable>!Skin.HasSetting(HomeMenuNoTVShowButton)</enable>
</control>
@@ -179,7 +184,8 @@
<control type="button" id="6130">
<label>- $LOCALIZE[31157]</label>
<include>DefaultSettingButton</include>
- <onclick condition="System.HasAddon(plugin.library.node.editor)">ActivateWindow(programs,plugin://plugin.library.node.editor/?ltype=music,return)</onclick>
+ <onclick condition="System.AddonIsEnabled(plugin.library.node.editor)">ActivateWindow(programs,plugin://plugin.library.node.editor/?ltype=music,return)</onclick>
+ <onclick condition="System.HasAddon(plugin.library.node.editor) + !System.AddonIsEnabled(plugin.library.node.editor)">EnableAddon(plugin.library.node.editor)</onclick>
<onclick condition="!System.HasAddon(plugin.library.node.editor)">InstallAddon(plugin.library.node.editor)</onclick>
<enable>!Skin.HasSetting(HomeMenuNoMusicButton)</enable>
</control>
diff --git a/addons/skin.estuary/xml/Variables.xml b/addons/skin.estuary/xml/Variables.xml
index 47ceb87b2b..a1811598d4 100644
--- a/addons/skin.estuary/xml/Variables.xml
+++ b/addons/skin.estuary/xml/Variables.xml
@@ -69,8 +69,8 @@
<value>$INFO[ListItem.Icon]</value>
</variable>
<variable name="IconWallThumbVar">
- <value condition="String.IsEqual(listitem.dbtype,genre) + System.HasAddon(resource.images.moviegenreicons.transparent)">$INFO[ListItem.Label,resource://resource.images.moviegenreicons.transparent/,.png]</value>
- <value condition="String.IsEqual(listitem.dbtype,studio) + System.HasAddon(resource.images.studios.white)">$INFO[ListItem.Label,resource://resource.images.studios.white/,.png]</value>
+ <value condition="String.IsEqual(listitem.dbtype,genre) + System.AddonIsEnabled(resource.images.moviegenreicons.transparent)">$INFO[ListItem.Label,resource://resource.images.moviegenreicons.transparent/,.png]</value>
+ <value condition="String.IsEqual(listitem.dbtype,studio) + System.AddonIsEnabled(resource.images.studios.white)">$INFO[ListItem.Label,resource://resource.images.studios.white/,.png]</value>
<value condition="!String.IsEmpty(Listitem.Art(poster))">$INFO[Listitem.Art(poster)]</value>
<value condition="!String.isempty(ListItem.Thumb)">$INFO[ListItem.Thumb]</value>
<value>$INFO[ListItem.Icon]</value>
@@ -137,11 +137,11 @@
<value>$INFO[listitem.TrackNumber,,.]$INFO[listitem.Title, ]</value>
</variable>
<variable name="WidgetGenreIconVar">
- <value condition="System.HasAddon(resource.images.moviegenreicons.transparent)">$INFO[ListItem.Label,resource://resource.images.moviegenreicons.transparent/,.png]</value>
+ <value condition="System.AddonIsEnabled(resource.images.moviegenreicons.transparent)">$INFO[ListItem.Label,resource://resource.images.moviegenreicons.transparent/,.png]</value>
<value>DefaultGenre.png</value>
</variable>
<variable name="WidgetStudioIconVar">
- <value condition="System.HasAddon(resource.images.studios.white)">$INFO[ListItem.Label,resource://resource.images.studios.white/,.png]</value>
+ <value condition="System.AddonIsEnabled(resource.images.studios.white)">$INFO[ListItem.Label,resource://resource.images.studios.white/,.png]</value>
<value>DefaultStudios.png</value>
</variable>
<variable name="AddonsLabel2Var">
diff --git a/addons/skin.estuary/xml/View_52_IconWall.xml b/addons/skin.estuary/xml/View_52_IconWall.xml
index 383452877b..a9248e223f 100644
--- a/addons/skin.estuary/xml/View_52_IconWall.xml
+++ b/addons/skin.estuary/xml/View_52_IconWall.xml
@@ -19,7 +19,7 @@
<scrolltime tween="cubic" easing="out">500</scrolltime>
<visible>Container.Content() | Container.Content(tags) | Container.Content(years) | Container.Content(roles) | Container.Content(sources) | Container.Content(genres) | Container.Content(countries) | Container.Content(studios) | Container.Content(playlists) | Container.Content(unknown)</visible>
<viewtype label="31099">icon</viewtype>
- <itemlayout height="280" width="440" condition="Container.Content() | Container.Content(tags) | Container.Content(playlists) | [Container.Content(studios) + System.HasAddon(resource.images.studios.white)]">
+ <itemlayout height="280" width="440" condition="Container.Content() | Container.Content(tags) | Container.Content(playlists) | [Container.Content(studios) + System.AddonIsEnabled(resource.images.studios.white)]">
<control type="group">
<top>150</top>
<control type="image">
@@ -57,7 +57,7 @@
</control>
</control>
</itemlayout>
- <focusedlayout height="280" width="440" condition="Container.Content() | Container.Content(tags) | Container.Content(playlists) | [Container.Content(studios) + System.HasAddon(resource.images.studios.white)]">
+ <focusedlayout height="280" width="440" condition="Container.Content() | Container.Content(tags) | Container.Content(playlists) | [Container.Content(studios) + System.AddonIsEnabled(resource.images.studios.white)]">
<control type="group">
<depth>DepthContentPopout</depth>
<animation type="Focus">
@@ -109,7 +109,7 @@
</control>
</control>
</focusedlayout>
- <itemlayout height="181" width="348" condition="Container.Content(genres) | Container.Content(sources) | Container.Content(years) | Container.Content(roles) | Container.Content(countries) | [Container.Content(studios) + !System.HasAddon(resource.images.studios.white)]">
+ <itemlayout height="181" width="348" condition="Container.Content(genres) | Container.Content(sources) | Container.Content(years) | Container.Content(roles) | Container.Content(countries) | [Container.Content(studios) + !System.AddonIsEnabled(resource.images.studios.white)]">
<control type="group">
<top>120</top>
<control type="image">
@@ -130,7 +130,7 @@
</control>
</control>
</itemlayout>
- <focusedlayout height="181" width="348" condition="Container.Content(genres) | Container.Content(sources) | Container.Content(years) | Container.Content(roles) | Container.Content(countries) | [Container.Content(studios) + !System.HasAddon(resource.images.studios.white)]">
+ <focusedlayout height="181" width="348" condition="Container.Content(genres) | Container.Content(sources) | Container.Content(years) | Container.Content(roles) | Container.Content(countries) | [Container.Content(studios) + !System.AddonIsEnabled(resource.images.studios.white)]">
<control type="group">
<depth>DepthContentPopout</depth>
<top>120</top>