<?xml version="1.0" encoding="UTF-8"?>
<includes>

  <variable name="BlurTextureVar">
    <!-- <value condition="ControlGroup(12000).HasFocus | Window.IsVisible(tvguide) | Window.IsVisible(tvchannels)">$VAR[ChannelListEPGIconVar]</value> -->
    <value condition="Window.IsVisible(Home) | Window.IsVisible(1121)">$VAR[HomeFanartVar]</value>
    <value condition="Control.IsVisible(50)">$VAR[ListArtworkVar]</value>
    <value condition="Control.IsVisible(51)">$VAR[PosterFlowColorVar]</value>
    <value condition="Control.IsVisible(54) | Control.IsVisible(55) | Control.IsVisible(56) | Control.IsVisible(500) | Control.IsVisible(501)">$VAR[FlixLandscapeVar]</value>
	</variable>

  <variable name="NimbusCustomBackgroundImage">
		<value condition="!String.IsEmpty(Skin.String(NimbusCustomBackground))">$INFO[Skin.String(NimbusCustomBackground)]</value>
		<value condition="String.IsEmpty(Skin.String(NimbusCustomBackground))">special://skin/resources/fallback.jpg</value>
	</variable>

  <variable name="HomeFanartVar">
    <!-- <value condition="$EXP[isEpisode] + !String.IsEmpty(ListItem.Thumb) + [String.IsEqual(Skin.String(HomeArtworkChoice),0) | String.IsEqual(Skin.String(HomeArtworkChoice),1)] + String.IsEmpty(Window(Home).Property(LandscapeWidgetFocused)) + !String.IsEqual(Skin.String(HomeEpisodeArtworkChoice),2)">$INFO[ListItem.Thumb]</value> -->
    <!-- <value condition="$EXP[isEpisode] + !String.IsEmpty(ListItem.Art(fanart)) + [String.IsEqual(Skin.String(HomeArtworkChoice),0) | String.IsEqual(Skin.String(HomeArtworkChoice),1)] + !String.IsEmpty(Window(Home).Property(LandscapeWidgetFocused)) + !String.IsEqual(Skin.String(HomeEpisodeArtworkChoice),2)">$INFO[ListItem.Art(fanart)]</value> -->
    <value condition="$EXP[isEpisode] + !String.IsEmpty(ListItem.Art(fanart)) + [String.IsEqual(Skin.String(HomeArtworkChoice),0) | String.IsEqual(Skin.String(HomeArtworkChoice),1)] + !String.IsEqual(Skin.String(HomeEpisodeArtworkChoice),2)">$INFO[ListItem.Art(fanart)]</value>
    <value condition="$EXP[isEpisode] + !String.IsEmpty(ListItem.Art(landscape)) + String.IsEqual(Skin.String(HomeArtworkChoice),1) + String.IsEqual(Skin.String(HomeEpisodeArtworkChoice),2)">$INFO[ListItem.Art(landscape)]</value>
    <value condition="!String.IsEmpty(Window(home).Property(nimbus_episode_thumb)) + [String.IsEqual(Skin.String(HomeArtworkChoice),0) | String.IsEqual(Skin.String(HomeArtworkChoice),1)] + String.IsEmpty(Window(Home).Property(LandscapeWidgetFocused)) + !String.IsEqual(Skin.String(HomeEpisodeArtworkChoice),2)">$INFO[Window(home).Property(nimbus_episode_thumb)]</value>
    <value condition="!String.IsEmpty(Window(home).Property(nimbus_episode_fanart)) + [String.IsEqual(Skin.String(HomeArtworkChoice),0) | String.IsEqual(Skin.String(HomeArtworkChoice),1)] + !String.IsEmpty(Window(Home).Property(LandscapeWidgetFocused)) + !String.IsEqual(Skin.String(HomeEpisodeArtworkChoice),2)">$INFO[Window(home).Property(nimbus_episode_fanart)]</value>
    <value condition="!String.IsEmpty(Window(home).Property(nimbus_episode_landscape)) + String.IsEqual(Skin.String(HomeArtworkChoice),1) + String.IsEqual(Skin.String(HomeEpisodeArtworkChoice),2)">$INFO[Window(home).Property(nimbus_episode_landscape)]</value>
    <value condition="[!String.IsEmpty(ListItem.Art(fanart)) + [!String.IsEqual(Skin.String(HomeArtworkChoice),1) | String.IsEqual(Skin.String(HomeLandscapeFanart),1)]] | [String.IsEqual(Skin.String(HomeArtworkChoice),1) + String.IsEqual(Skin.String(HomeLandscapeFanart),0) + String.IsEmpty(ListItem.Art(landscape)) + !String.IsEmpty(ListItem.Art(fanart))] | [!$EXP[isContent] + !String.IsEmpty(ListItem.Art(fanart))]">$INFO[ListItem.Art(fanart)]</value>
    <value condition="!String.IsEmpty(ListItem.Art(landscape)) + String.IsEqual(Skin.String(HomeArtworkChoice),1) + String.IsEqual(Skin.String(HomeLandscapeFanart),0)">$INFO[ListItem.Art(landscape)]</value>
    <value condition="Window.IsActive(musicinformation) | Window.IsActive(movieinformation) | Window.IsActive(addoninformation) | Window.IsActive(pvrguideinfo) | Window.IsActive(pvrrecordinginfo) | Window.IsActive(pictureinfo)">$INFO[Window(home).Property(infobackground)]</value>
    <value condition="Container.Content(genres) + Window.IsActive(videos)">$INFO[Skin.String(MovieGenreFanart.path)]$INFO[ListItem.Label]$INFO[Skin.String(MovieGenreFanart.ext)]</value>
    <value condition="Window.IsActive(pictures) + String.IsEmpty(ListItem.Art(fanart))">$INFO[ListItem.FolderPath]</value>
    <value condition="!String.IsEmpty(Window(home).Property(nimbus_fanart_art)) + [!String.IsEqual(Skin.String(HomeArtworkChoice),1) | String.IsEqual(Skin.String(HomeLandscapeFanart),1)]">$INFO[Window(home).Property(nimbus_fanart_art)]</value>
    <value condition="!String.IsEmpty(Window(home).Property(nimbus_fanart_prop)) + [!String.IsEqual(Skin.String(HomeArtworkChoice),1) | String.IsEqual(Skin.String(HomeLandscapeFanart),1)]">$INFO[Window(home).Property(nimbus_fanart_prop)]</value>
    <value condition="!String.IsEmpty(Window(home).Property(nimbus_landscape_art)) + String.IsEqual(Skin.String(HomeLandscapeFanart),0)">$INFO[Window(home).Property(nimbus_landscape_art)]</value>
    <value condition="!String.IsEmpty(Window(home).Property(nimbus_landscape_prop)) + String.IsEqual(Skin.String(HomeLandscapeFanart),0)">$INFO[Window(home).Property(nimbus_landscape_prop)]</value>
    <value condition="!String.IsEmpty(Container.ListItem.Property(FanartCode)) + String.IsEqual(Skin.String(HomeArtworkChoice),0)">$INFO[Skin.String(WeatherFanart.path)]$INFO[Container.ListItem.Property(FanartCode)]$INFO[Skin.String(WeatherFanart.ext)]</value>
    <value condition="!String.IsEmpty(Container.Art(tvshow.fanart))">$INFO[Container.Art(tvshow.fanart)]</value>
    <value condition="!String.IsEmpty(Container.Art(artist.fanart))">$INFO[Container.Art(artist.fanart)]</value>
    <value>$INFO[Container.Art(fanart)]</value>
  </variable>

	<variable name="MediaFanartVar">
		<value condition="!String.IsEmpty(ListItem.Thumb) + $EXP[isEpisode] + !Control.IsVisible(55)">$INFO[ListItem.Thumb]</value>
		<value condition="!String.IsEmpty(ListItem.Art(fanart))">$INFO[ListItem.Art(fanart)]</value>
		<value condition="!String.IsEmpty(Container.Art(tvshow.fanart))">$INFO[Container.Art(tvshow.fanart)]</value>
		<value condition="!String.IsEmpty(Container.Art(artist.fanart))">$INFO[Container.Art(artist.fanart)]</value>
		<value>$INFO[Container.Art(fanart)]</value>
	</variable>

  <variable name="AddonsFanartVar">
		<value condition="Window.IsActive(musicinformation) | Window.IsActive(movieinformation) | Window.IsActive(addoninformation) | Window.IsActive(pvrguideinfo) | Window.IsActive(pvrrecordinginfo) | Window.IsActive(pictureinfo)">$INFO[Window(home).Property(infobackground)]</value>
		<value condition="!String.IsEmpty(Container.ListItem.Art(fanart))">$INFO[Container.ListItem.Art(fanart)]</value>
		<value condition="!String.IsEmpty(Skin.String(HomeFanart.path))">$INFO[Skin.String(HomeFanart.path)]$INFO[Container(9000).ListItem.Property(id)]$INFO[Skin.String(HomeFanart.ext)]</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>

  <variable name="ClearlogoVar">
		<value condition="!String.IsEmpty(ListItem.Art(clearlogo))">$INFO[ListItem.Art(clearlogo)]</value>
		<value condition="!String.IsEmpty(Container.ListItem.Art(tvshow.clearlogo))">$INFO[Container.ListItem.Art(tvshow.clearlogo)]</value>
		<value>$INFO[ListItem.Art(clearlogo)]</value>
	</variable>

	<variable name="FlixPosterVar">
    <value condition="!$EXP[isEpisode] + !String.IsEmpty(ListItem.Art(poster))">$INFO[ListItem.Art(poster)]</value>
    <value condition="$EXP[isEpisode] + !String.IsEmpty(ListItem.Art(season.poster))">$INFO[ListItem.Art(season.poster)]</value>
    <value condition="!String.IsEmpty(ListItem.Art(thumb))">$INFO[ListItem.Art(thumb)]</value>
    <value condition="!String.IsEmpty(ListItem.Thumb)">$INFO[ListItem.Thumb]</value>
    <value condition="!String.IsEmpty(ListItem.Art(fanart))">$INFO[ListItem.Art(fanart)]</value>
    <value>$INFO[ListItem.Icon]</value>
  </variable>

	<variable name="ListArtworkVar">
    <value condition="Container.Content(movies) + String.IsEqual(Skin.String(ListArtworkChoice.movies),1)">$VAR[FlixPosterVar]</value>
    <value condition="Container.Content(movies) + String.IsEqual(Skin.String(ListArtworkChoice.movies),0)">$VAR[ListLandscapeVar]</value>
    <value condition="Container.Content(tvshows) + String.IsEqual(Skin.String(ListArtworkChoice.tvshows),1)">$VAR[FlixPosterVar]</value>
    <value condition="Container.Content(tvshows) + String.IsEqual(Skin.String(ListArtworkChoice.tvshows),0)">$VAR[ListLandscapeVar]</value>
    <value condition="Container.Content(seasons) + String.IsEqual(Skin.String(ListArtworkChoice.seasons),1)">$VAR[FlixPosterVar]</value>
    <value condition="Container.Content(seasons) + String.IsEqual(Skin.String(ListArtworkChoice.seasons),0)">$VAR[ListLandscapeVar]</value>
    <value condition="Container.Content(episodes) + String.IsEqual(Skin.String(ListArtworkChoice.episodes),1)">$VAR[FlixPosterVar]</value>
    <value condition="Container.Content(episodes) + String.IsEqual(Skin.String(ListArtworkChoice.episodes),0)">$VAR[ListLandscapeVar]</value>
    <value condition="Container.Content(videos) + String.IsEqual(Skin.String(ListArtworkChoice.videos),1)">$VAR[FlixPosterVar]</value>
    <value condition="Container.Content(videos) + String.IsEqual(Skin.String(ListArtworkChoice.videos),0)">$VAR[ListLandscapeVar]</value>
    <value condition="Container.Content(files) + String.IsEqual(Skin.String(ListArtworkChoice.files),2)">$INFO[ListItem.Art(fanart)]</value>
    <value condition="Container.Content(files) + String.IsEqual(Skin.String(ListArtworkChoice.files),0)">$VAR[ListLandscapeVar]</value>
    <value condition="Container.Content(favourites) + String.IsEqual(Skin.String(ListArtworkChoice.favourites),2)">$INFO[ListItem.Art(fanart)]</value>
    <value condition="Container.Content(favourites) + String.IsEqual(Skin.String(ListArtworkChoice.favourites),0)">$VAR[ListLandscapeVar]</value>
    <value condition="Container.Content() + String.IsEqual(Skin.String(ListArtworkChoice.),2)">$INFO[ListItem.Art(fanart)]</value>
    <value condition="Container.Content() + String.IsEqual(Skin.String(ListArtworkChoice.),0)">$VAR[ListLandscapeVar]</value>
    <value condition="Container.Content(addons) + String.StartsWith(Container.PluginName,plugin.video.otaku) + String.IsEqual(Skin.String(ListArtworkChoice.addons),0)">$VAR[ListLandscapeVar]</value>
    <value condition="Container.Content(addons) + String.IsEqual(Skin.String(ListArtworkChoice.addons),2)">$VAR[ListLandscapeVar]</value>
    <!-- <value condition="Container.Content(addons)">$INFO[ListItem.Icon]</value> -->
    <value>$VAR[ListLandscapeVar]</value>
  </variable>

  <variable name="FlixLandscapeVar">
    <value condition="$EXP[isMovie] + String.IsEqual(Skin.String(ArtworkChoice.movies),1) + String.IsEqual(Skin.String(LandscapeFanart.movies),0)">$INFO[Listitem.Art(landscape)]</value>
    <value condition="$EXP[isMovie] + String.IsEqual(Skin.String(ArtworkChoice.movies),1) + String.IsEqual(Skin.String(LandscapeFanart.movies),1)">$INFO[ListItem.Art(fanart)]</value>
    <value condition="$EXP[isTVShow] + String.IsEqual(Skin.String(ArtworkChoice.tvshows),1) + String.IsEqual(Skin.String(LandscapeFanart.tvshows),0)">$INFO[Listitem.Art(landscape)]</value>
    <value condition="$EXP[isTVShow] + String.IsEqual(Skin.String(ArtworkChoice.tvshows),1) + String.IsEqual(Skin.String(LandscapeFanart.tvshows),1)">$INFO[ListItem.Art(fanart)]</value>
    <value condition="$EXP[isSeason] + String.IsEqual(Skin.String(ArtworkChoice.seasons),1) + String.IsEqual(Skin.String(LandscapeFanart.seasons),0)">$INFO[Listitem.Art(landscape)]</value>
    <value condition="$EXP[isSeason] + String.IsEqual(Skin.String(ArtworkChoice.seasons),1) + String.IsEqual(Skin.String(LandscapeFanart.seasons),1)">$INFO[ListItem.Art(fanart)]</value>
    <value condition="$EXP[isEpisode] + String.IsEqual(Skin.String(ArtworkChoice.episodes),1) + String.IsEqual(Skin.String(LandscapeFanart.episodes),0) + !String.IsEmpty(ListItem.Thumb) + Control.IsVisible(55)">$INFO[ListItem.Art(landscape)]</value>
    <value condition="$EXP[isEpisode] + String.IsEqual(Skin.String(ArtworkChoice.episodes),1) + String.IsEqual(Skin.String(LandscapeFanart.episodes),0) + !String.IsEmpty(ListItem.Thumb) + !Control.IsVisible(55)">$INFO[ListItem.Thumb]</value>
    <value condition="$EXP[isEpisode] + String.IsEqual(Skin.String(ArtworkChoice.episodes),1) + String.IsEqual(Skin.String(LandscapeFanart.episodes),1) + !String.IsEmpty(ListItem.Art(fanart))">$INFO[ListItem.Art(fanart)]</value>
    <value condition="$EXP[isEpisode] + String.IsEqual(Skin.String(ArtworkChoice.episodes),1) + String.IsEqual(Skin.String(LandscapeFanart.episodes),2) + !String.IsEmpty(ListItem.Art(landscape)) + !Control.IsVisible(55)">$INFO[ListItem.Art(landscape)]</value>
    <value condition="$EXP[isEpisode] + String.IsEqual(Skin.String(ArtworkChoice.episodes),0) + !Control.IsVisible(55)">$INFO[ListItem.Thumb]</value>
    <value>$INFO[ListItem.Art(fanart)]</value>
  </variable>

  <variable name="ListLandscapeVar">
    <!-- <value condition="$EXP[isMovie] + Container.Content(episodes) + !String.StartsWith(Container.PluginCategory,Season)">$INFO[ListItem.Art(fanart)]</value> -->
    <value condition="$EXP[isMovie] + String.IsEqual(Skin.String(ListArtworkChoice.movies),2)">$INFO[ListItem.Art(fanart)]</value>
    <value condition="$EXP[isMovie] + String.IsEqual(Skin.String(ListLandscape.movies),0) + !String.IsEmpty(Listitem.Art(landscape))">$INFO[Listitem.Art(landscape)]</value>
    <value condition="$EXP[isMovie] + String.IsEqual(Skin.String(ListLandscape.movies),0) + String.IsEmpty(Listitem.Art(landscape))">$INFO[ListItem.Art(fanart)]</value>
    <value condition="$EXP[isMovie] + String.IsEqual(Skin.String(ListLandscape.movies),1)">$INFO[ListItem.Art(fanart)]</value>
    
    <value condition="$EXP[isTVShow] + String.IsEqual(Skin.String(ListArtworkChoice.tvshows),2)">$INFO[ListItem.Art(fanart)]</value>
    <value condition="$EXP[isTVShow] + String.IsEqual(Skin.String(ListLandscape.tvshows),0) + !String.IsEmpty(Listitem.Art(landscape))">$INFO[Listitem.Art(landscape)]</value>
    <value condition="$EXP[isTVShow] + String.IsEqual(Skin.String(ListLandscape.tvshows),0) + String.IsEmpty(Listitem.Art(landscape))">$INFO[ListItem.Art(fanart)]</value>
    <value condition="$EXP[isTVShow] + String.IsEqual(Skin.String(ListLandscape.tvshows),1)">$INFO[ListItem.Art(fanart)]</value>
    
    <value condition="$EXP[isSeason] + String.IsEqual(Skin.String(ListArtworkChoice.seasons),2)">$INFO[ListItem.Art(fanart)]</value>
    <value condition="$EXP[isSeason] + String.IsEqual(Skin.String(ListLandscape.seasons),0) + !String.IsEmpty(Listitem.Art(landscape))">$INFO[Listitem.Art(landscape)]</value>
    <value condition="$EXP[isSeason] + String.IsEqual(Skin.String(ListLandscape.seasons),0) + String.IsEmpty(Listitem.Art(landscape))">$INFO[ListItem.Art(fanart)]</value>
    <value condition="$EXP[isSeason] + String.IsEqual(Skin.String(ListLandscape.seasons),1)">$INFO[ListItem.Art(fanart)]</value>
    
    <value condition="$EXP[isEpisode] + String.IsEqual(Skin.String(ListArtworkChoice.episodes),2)">$INFO[ListItem.Thumb]</value>
    <value condition="$EXP[isEpisode] + String.IsEqual(Skin.String(ListLandscape.episodes),0)">$INFO[ListItem.Thumb]</value>
    <value condition="$EXP[isEpisode] + String.IsEqual(Skin.String(ListLandscape.episodes),1)">$INFO[ListItem.Art(fanart)]</value>
    <value condition="$EXP[isEpisode] + String.IsEqual(Skin.String(ListLandscape.episodes),2) + !String.IsEmpty(Listitem.Art(landscape))">$INFO[Listitem.Art(landscape)]</value>
    <value condition="$EXP[isEpisode] + String.IsEqual(Skin.String(ListLandscape.episodes),2) + String.IsEmpty(Listitem.Art(landscape))">$INFO[ListItem.Art(fanart)]</value>
    
    <value>$INFO[ListItem.Art(fanart)]</value>
  </variable>

  <variable name="FlixScapeVar">
    <!-- Home window -->
    <value condition="[Window.IsVisible(Home) | Window.IsVisible(1121)] + !$EXP[isEpisode] + String.IsEqual(Skin.String(HomeItemArtworkChoice),0) + !String.IsEmpty(ListItem.Art(landscape))">$INFO[ListItem.Art(landscape)]</value>
    <value condition="[Window.IsVisible(Home) | Window.IsVisible(1121)] + !$EXP[isEpisode] + String.IsEqual(Skin.String(HomeItemArtworkChoice),1) + !String.IsEmpty(ListItem.Art(landscape))">$INFO[ListItem.Art(fanart)]</value>
    <value condition="[Window.IsVisible(Home) | Window.IsVisible(1121)] + $EXP[isEpisode] + !String.IsEmpty(ListItem.Art(Thumb))">$INFO[ListItem.Thumb]</value>
    <!-- Other windows -->
    <value condition="![Window.IsVisible(Home) | Window.IsVisible(1121)] + Container.Content(movies) + String.IsEqual(Skin.String(ItemFanartChoice.movies),0) + !String.IsEmpty(ListItem.Art(landscape))">$INFO[ListItem.Art(landscape)]</value>
    <value condition="![Window.IsVisible(Home) | Window.IsVisible(1121)] + Container.Content(movies) + String.IsEqual(Skin.String(ItemFanartChoice.movies),1) + !String.IsEmpty(ListItem.Art(landscape))">$INFO[ListItem.Art(fanart)]</value>
    <value condition="![Window.IsVisible(Home) | Window.IsVisible(1121)] + Container.Content(tvshows) + String.IsEqual(Skin.String(ItemFanartChoice.tvshows),0) + !String.IsEmpty(ListItem.Art(landscape))">$INFO[ListItem.Art(landscape)]</value>
    <value condition="![Window.IsVisible(Home) | Window.IsVisible(1121)] + Container.Content(tvshows) + String.IsEqual(Skin.String(ItemFanartChoice.tvshows),1) + !String.IsEmpty(ListItem.Art(landscape))">$INFO[ListItem.Art(fanart)]</value>
    <value condition="![Window.IsVisible(Home) | Window.IsVisible(1121)] + Container.Content(seasons) + String.IsEqual(Skin.String(ItemFanartChoice.seasons),0) + !String.IsEmpty(ListItem.Art(landscape))">$INFO[ListItem.Art(landscape)]</value>
    <value condition="![Window.IsVisible(Home) | Window.IsVisible(1121)] + Container.Content(seasons) + String.IsEqual(Skin.String(ItemFanartChoice.seasons),1) + !String.IsEmpty(ListItem.Art(landscape))">$INFO[ListItem.Art(fanart)]</value>
    <!-- Fallbacks/Universes (mixed content) -->
    <value condition="![Window.IsVisible(Home) | Window.IsVisible(1121)] + Container.Content(episodes) + !String.StartsWith(Container.PluginCategory,Season) + $EXP[isMovie] + !String.IsEmpty(ListItem.Art(landscape))">$INFO[ListItem.Art(landscape)]</value>
    <value condition="![Window.IsVisible(Home) | Window.IsVisible(1121)] + Container.Content(episodes) + !String.StartsWith(Container.PluginCategory,Season) + $EXP[isTVShow] + !String.IsEmpty(ListItem.Art(landscape))">$INFO[ListItem.Art(landscape)]</value>
    <value condition="![Window.IsVisible(Home) | Window.IsVisible(1121)] + Container.Content(episodes) + !String.StartsWith(Container.PluginCategory,Season) + $EXP[isSeason] + !String.IsEmpty(ListItem.Art(landscape))">$INFO[ListItem.Art(landscape)]</value>
    <value condition="![Window.IsVisible(Home) | Window.IsVisible(1121)] + Container.Content(episodes) + !String.IsEmpty(ListItem.Art(Thumb))">$INFO[ListItem.Thumb]</value>
    <value>$INFO[ListItem.Art(fanart)]</value>
  </variable>
  
  <variable name="FanartToggleVar">
    <value condition="Container.Content(movies) + String.IsEqual(Skin.String(ArtworkChoice.movies),0)">Skin.SetString(ArtworkChoice.movies,1)</value>
    <value condition="Container.Content(movies) + String.IsEqual(Skin.String(ArtworkChoice.movies),1)">Skin.SetString(ArtworkChoice.movies,0)</value>
    <value condition="Container.Content(tvshows) + String.IsEqual(Skin.String(ArtworkChoice.tvshows),0)">Skin.SetString(ArtworkChoice.tvshows,1)</value>
    <value condition="Container.Content(tvshows) + String.IsEqual(Skin.String(ArtworkChoice.tvshows),1)">Skin.SetString(ArtworkChoice.tvshows,0)</value>
    <value condition="Container.Content(seasons) + String.IsEqual(Skin.String(ArtworkChoice.seasons),0)">Skin.SetString(ArtworkChoice.seasons,1)</value>
    <value condition="Container.Content(seasons) + String.IsEqual(Skin.String(ArtworkChoice.seasons),1)">Skin.SetString(ArtworkChoice.seasons,0)</value>
    <value condition="Container.Content(episodes) + String.IsEqual(Skin.String(ArtworkChoice.episodes),0)">Skin.SetString(ArtworkChoice.episodes,1)</value>
    <value condition="Container.Content(episodes) + String.IsEqual(Skin.String(ArtworkChoice.episodes),1)">Skin.SetString(ArtworkChoice.episodes,0)</value>
  </variable>

  <variable name="ListArtworkToggleVar">
    <value condition="Container.Content(movies) + String.IsEqual(Skin.String(ListArtworkChoice.movies),0)">Skin.SetString(ListArtworkChoice.movies,1)</value>
    <value condition="Container.Content(movies) + String.IsEqual(Skin.String(ListArtworkChoice.movies),1)">Skin.SetString(ListArtworkChoice.movies,2)</value>
    <value condition="Container.Content(movies) + String.IsEqual(Skin.String(ListArtworkChoice.movies),2)">Skin.SetString(ListArtworkChoice.movies,0)</value>
    <value condition="Container.Content(tvshows) + String.IsEqual(Skin.String(ListArtworkChoice.tvshows),0)">Skin.SetString(ListArtworkChoice.tvshows,1)</value>
    <value condition="Container.Content(tvshows) + String.IsEqual(Skin.String(ListArtworkChoice.tvshows),1)">Skin.SetString(ListArtworkChoice.tvshows,2)</value>
    <value condition="Container.Content(tvshows) + String.IsEqual(Skin.String(ListArtworkChoice.tvshows),2)">Skin.SetString(ListArtworkChoice.tvshows,0)</value>
    <value condition="Container.Content(seasons) + String.IsEqual(Skin.String(ListArtworkChoice.seasons),0)">Skin.SetString(ListArtworkChoice.seasons,1)</value>
    <value condition="Container.Content(seasons) + String.IsEqual(Skin.String(ListArtworkChoice.seasons),1)">Skin.SetString(ListArtworkChoice.seasons,2)</value>
    <value condition="Container.Content(seasons) + String.IsEqual(Skin.String(ListArtworkChoice.seasons),2)">Skin.SetString(ListArtworkChoice.seasons,0)</value>
    <value condition="Container.Content(episodes) + String.IsEqual(Skin.String(ListArtworkChoice.episodes),0)">Skin.SetString(ListArtworkChoice.episodes,1)</value>
    <value condition="Container.Content(episodes) + String.IsEqual(Skin.String(ListArtworkChoice.episodes),1)">Skin.SetString(ListArtworkChoice.episodes,2)</value>
    <value condition="Container.Content(episodes) + String.IsEqual(Skin.String(ListArtworkChoice.episodes),2)">Skin.SetString(ListArtworkChoice.episodes,0)</value>
    <value condition="Container.Content(videos) + String.IsEqual(Skin.String(ListArtworkChoice.videos),0)">Skin.SetString(ListArtworkChoice.videos,2)</value>
    <value condition="Container.Content(videos) + String.IsEqual(Skin.String(ListArtworkChoice.videos),2)">Skin.SetString(ListArtworkChoice.videos,0)</value>
    <value condition="Container.Content(files) + String.IsEqual(Skin.String(ListArtworkChoice.files),0)">Skin.SetString(ListArtworkChoice.files,2)</value>
    <value condition="Container.Content(files) + String.IsEqual(Skin.String(ListArtworkChoice.files),2)">Skin.SetString(ListArtworkChoice.files,0)</value>
    <value condition="Container.Content(favourites) + String.IsEqual(Skin.String(ListArtworkChoice.favourites),0)">Skin.SetString(ListArtworkChoice.favourites,2)</value>
    <value condition="Container.Content(favourites) + String.IsEqual(Skin.String(ListArtworkChoice.favourites),2)">Skin.SetString(ListArtworkChoice.favourites,0)</value>
    <value condition="Container.Content() + String.IsEqual(Skin.String(ListArtworkChoice.),0)">Skin.SetString(ListArtworkChoice.,2)</value>
    <value condition="Container.Content() + String.IsEqual(Skin.String(ListArtworkChoice.),2)">Skin.SetString(ListArtworkChoice.,0)</value>
    <value condition="Container.Content(addons) + String.StartsWith(Container.PluginName,plugin.video.otaku) + String.IsEqual(Skin.String(ListArtworkChoice.addons),0)">Skin.SetString(ListArtworkChoice.addons,2)</value>
    <value condition="Container.Content(addons) + String.StartsWith(Container.PluginName,plugin.video.otaku) + String.IsEqual(Skin.String(ListArtworkChoice.addons),2)">Skin.SetString(ListArtworkChoice.addons,0)</value>
    <value condition="Container.Content(addons) + !String.StartsWith(Container.PluginName,plugin.video.otaku) + String.IsEqual(Skin.String(ListArtworkChoice.addons),0)">Skin.SetString(ListArtworkChoice.addons,2)</value>
    <value condition="Container.Content(addons) + !String.StartsWith(Container.PluginName,plugin.video.otaku) + String.IsEqual(Skin.String(ListArtworkChoice.addons),2)">Skin.SetString(ListArtworkChoice.addons,0)</value>
</variable>

  <variable name="ListLandscapeToggleVar">
    <value condition="Container.Content(movies) + String.IsEqual(Skin.String(ListLandscape.movies),0)">Skin.SetString(ListLandscape.movies,1)</value>
    <value condition="Container.Content(movies) + String.IsEqual(Skin.String(ListLandscape.movies),1)">Skin.SetString(ListLandscape.movies,0)</value>
    <value condition="Container.Content(tvshows) + String.IsEqual(Skin.String(ListLandscape.tvshows),0)">Skin.SetString(ListLandscape.tvshows,1)</value>
    <value condition="Container.Content(tvshows) + String.IsEqual(Skin.String(ListLandscape.tvshows),1)">Skin.SetString(ListLandscape.tvshows,0)</value>
    <value condition="Container.Content(seasons) + String.IsEqual(Skin.String(ListLandscape.seasons),0)">Skin.SetString(ListLandscape.seasons,1)</value>
    <value condition="Container.Content(seasons) + String.IsEqual(Skin.String(ListLandscape.seasons),1)">Skin.SetString(ListLandscape.seasons,0)</value>
    <value condition="Container.Content(episodes) + String.IsEqual(Skin.String(ListLandscape.episodes),0)">Skin.SetString(ListLandscape.episodes,1)</value>
    <value condition="Container.Content(episodes) + String.IsEqual(Skin.String(ListLandscape.episodes),1)">Skin.SetString(ListLandscape.episodes,2)</value>
    <value condition="Container.Content(episodes) + String.IsEqual(Skin.String(ListLandscape.episodes),2)">Skin.SetString(ListLandscape.episodes,0)</value>
  </variable>
  
  <variable name="FanartSettingVar">
    <value condition="[[Container.Content(movies) + String.IsEqual(Skin.String(ArtworkChoice.movies),0)] | [Container.Content(tvshows) + String.IsEqual(Skin.String(ArtworkChoice.tvshows),0)] | [Container.Content(seasons) + String.IsEqual(Skin.String(ArtworkChoice.seasons),0)] | [Container.Content(episodes) + String.IsEqual(Skin.String(ArtworkChoice.episodes),0)]]">Fanart</value>
    <value condition="[[Container.Content(movies) + String.IsEqual(Skin.String(ArtworkChoice.movies),1)] | [Container.Content(tvshows) + String.IsEqual(Skin.String(ArtworkChoice.tvshows),1)] | [Container.Content(seasons) + String.IsEqual(Skin.String(ArtworkChoice.seasons),1)] | [Container.Content(episodes) + String.IsEqual(Skin.String(ArtworkChoice.episodes),1)]]">Landscape</value>
  </variable>

  <variable name="ListArtworkSettingVar">
    <value condition="[[Container.Content(movies) + String.IsEqual(Skin.String(ListArtworkChoice.movies),0)] | [Container.Content(tvshows) + String.IsEqual(Skin.String(ListArtworkChoice.tvshows),0)] | [Container.Content(seasons) + String.IsEqual(Skin.String(ListArtworkChoice.seasons),0)] | [Container.Content(episodes) + String.IsEqual(Skin.String(ListArtworkChoice.episodes),0)] | [Container.Content(videos) + String.IsEqual(Skin.String(ListArtworkChoice.videos),0)] | [Container.Content(files) + String.IsEqual(Skin.String(ListArtworkChoice.files),0)] | [Container.Content(favourites) + String.IsEqual(Skin.String(ListArtworkChoice.favourites),0)] | [Container.Content() + String.IsEqual(Skin.String(ListArtworkChoice.),0)] | [Container.Content(addons) + String.StartsWith(Container.PluginName,plugin.video.otaku) + String.IsEqual(Skin.String(ListArtworkChoice.addons),0)]]">Landscape</value>
    <value condition="[[Container.Content(movies) + String.IsEqual(Skin.String(ListArtworkChoice.movies),1)] | [Container.Content(tvshows) + String.IsEqual(Skin.String(ListArtworkChoice.tvshows),1)] | [Container.Content(seasons) + String.IsEqual(Skin.String(ListArtworkChoice.seasons),1)] | [Container.Content(episodes) + String.IsEqual(Skin.String(ListArtworkChoice.episodes),1)]]">Poster</value>
    <value condition="[[Container.Content(movies) + String.IsEqual(Skin.String(ListArtworkChoice.movies),2)] | [Container.Content(tvshows) + String.IsEqual(Skin.String(ListArtworkChoice.tvshows),2)] | [Container.Content(seasons) + String.IsEqual(Skin.String(ListArtworkChoice.seasons),2)] | [Container.Content(episodes) + String.IsEqual(Skin.String(ListArtworkChoice.episodes),2)] | [Container.Content(videos) + String.IsEqual(Skin.String(ListArtworkChoice.videos),2)] | [Container.Content() + String.IsEqual(Skin.String(ListArtworkChoice.),2)] | [Container.Content(addons) + String.IsEqual(Skin.String(ListArtworkChoice.addons),2)] | [Container.Content(favourites) + String.IsEqual(Skin.String(ListArtworkChoice.favourites),2)] | [Container.Content(files) + String.IsEqual(Skin.String(ListArtworkChoice.files),2)]]">Fanart</value>
    <value condition="Container.Content(addons) + String.IsEqual(Skin.String(ListArtworkChoice.addons),0)">Icon</value>
  </variable>

  <variable name="ListLandscapeSettingVar">
    <value condition="[[Container.Content(movies) + String.IsEqual(Skin.String(ListLandscape.movies),0)] | [Container.Content(tvshows) + String.IsEqual(Skin.String(ListLandscape.tvshows),0)] | [Container.Content(seasons) + String.IsEqual(Skin.String(ListLandscape.seasons),0)] | [Container.Content(episodes) + String.IsEqual(Skin.String(ListLandscape.episodes),0)]]">Default</value>
    <value condition="[[Container.Content(movies) + String.IsEqual(Skin.String(ListLandscape.movies),1)] | [Container.Content(tvshows) + String.IsEqual(Skin.String(ListLandscape.tvshows),1)] | [Container.Content(seasons) + String.IsEqual(Skin.String(ListLandscape.seasons),1)] | [Container.Content(episodes) + String.IsEqual(Skin.String(ListLandscape.episodes),1)]]">Fanart</value>
    <value condition="Container.Content(episodes) + String.IsEqual(Skin.String(ListLandscape.episodes),2)">Landscape</value>
  </variable>	
  
  <variable name="ItemFanartToggleVar">
    <value condition="Container.Content(movies) + String.IsEqual(Skin.String(ItemFanartChoice.movies),0)">Skin.SetString(ItemFanartChoice.movies,1)</value>
    <value condition="Container.Content(movies) + String.IsEqual(Skin.String(ItemFanartChoice.movies),1)">Skin.SetString(ItemFanartChoice.movies,0)</value>
    <value condition="Container.Content(tvshows) + String.IsEqual(Skin.String(ItemFanartChoice.tvshows),0)">Skin.SetString(ItemFanartChoice.tvshows,1)</value>
    <value condition="Container.Content(tvshows) + String.IsEqual(Skin.String(ItemFanartChoice.tvshows),1)">Skin.SetString(ItemFanartChoice.tvshows,0)</value>
    <value condition="Container.Content(seasons) + String.IsEqual(Skin.String(ItemFanartChoice.seasons),0)">Skin.SetString(ItemFanartChoice.seasons,1)</value>
    <value condition="Container.Content(seasons) + String.IsEqual(Skin.String(ItemFanartChoice.seasons),1)">Skin.SetString(ItemFanartChoice.seasons,0)</value>
  </variable>

  <variable name="ItemFanartSettingVar">
    <value condition="Container.Content(movies) + String.IsEqual(Skin.String(ItemFanartChoice.movies),0)">Default</value>
    <value condition="Container.Content(movies) + String.IsEqual(Skin.String(ItemFanartChoice.movies),1)">Fanart</value>
    <value condition="Container.Content(tvshows) + String.IsEqual(Skin.String(ItemFanartChoice.tvshows),0)">Default</value>
    <value condition="Container.Content(tvshows) + String.IsEqual(Skin.String(ItemFanartChoice.tvshows),1)">Fanart</value>
    <value condition="Container.Content(seasons) + String.IsEqual(Skin.String(ItemFanartChoice.seasons),0)">Default</value>
    <value condition="Container.Content(seasons) + String.IsEqual(Skin.String(ItemFanartChoice.seasons),1)">Fanart</value>
  </variable>

  <!-- <variable name="HomeEpisodeArtworkChoiceToggleVar">
    <value condition="!Container.Content(episodes) + String.IsEqual(Skin.String(HomeEpisodeArtworkChoice),0)">Skin.SetString(HomeEpisodeArtworkChoice,1)</value>
    <value condition="!Container.Content(episodes) + String.IsEqual(Skin.String(HomeEpisodeArtworkChoice),1)">Skin.SetString(HomeEpisodeArtworkChoice,2)</value>
    <value condition="!Container.Content(episodes) + String.IsEqual(Skin.String(HomeEpisodeArtworkChoice),2)">Skin.SetString(HomeEpisodeArtworkChoice,0)</value>
  </variable>
  
  <variable name="HomeEpisodeArtworkChoiceSettingVar">
    <value condition="!Container.Content(episodes) + String.IsEqual(Skin.String(HomeEpisodeArtworkChoice),0)">Default</value>
    <value condition="!Container.Content(episodes) + String.IsEqual(Skin.String(HomeEpisodeArtworkChoice),1)">Fanart</value>
    <value condition="!Container.Content(episodes) + String.IsEqual(Skin.String(HomeEpisodeArtworkChoice),2)">Landscape</value>
  </variable>	 -->

  <variable name="HomeEpisodeArtworkChoiceToggleVar">
    <value condition="!Container.Content(episodes) + String.IsEqual(Skin.String(HomeEpisodeArtworkChoice),0)">Skin.SetString(HomeEpisodeArtworkChoice,1)</value>
    <value condition="!Container.Content(episodes) + String.IsEqual(Skin.String(HomeEpisodeArtworkChoice),1) + !String.IsEqual(Skin.String(HomeArtworkChoice),0)">Skin.SetString(HomeEpisodeArtworkChoice,2)</value>
    <value condition="!Container.Content(episodes) + String.IsEqual(Skin.String(HomeEpisodeArtworkChoice),1) + String.IsEqual(Skin.String(HomeArtworkChoice),0)">Skin.SetString(HomeEpisodeArtworkChoice,0)</value>
    <value condition="!Container.Content(episodes) + String.IsEqual(Skin.String(HomeEpisodeArtworkChoice),2)">Skin.SetString(HomeEpisodeArtworkChoice,0)</value>
  </variable>

  <variable name="HomeEpisodeArtworkChoiceSettingVar">
    <value condition="!Container.Content(episodes) + String.IsEqual(Skin.String(HomeEpisodeArtworkChoice),0)">Default</value>
    <value condition="!Container.Content(episodes) + String.IsEqual(Skin.String(HomeEpisodeArtworkChoice),1)">Fanart</value>
    <value condition="!Container.Content(episodes) + String.IsEqual(Skin.String(HomeEpisodeArtworkChoice),2) + !String.IsEqual(Skin.String(HomeArtworkChoice),0)">Landscape</value>
  </variable>

  <variable name="HomeItemArtworkChoiceToggleVar">
    <value condition="!Container.Content(episodes) + String.IsEqual(Skin.String(HomeItemArtworkChoice),0)">Skin.SetString(HomeItemArtworkChoice,1)</value>
    <value condition="!Container.Content(episodes) + String.IsEqual(Skin.String(HomeItemArtworkChoice),1)">Skin.SetString(HomeItemArtworkChoice,0)</value>
  </variable>
  
  <variable name="HomeItemArtworkChoiceSettingVar">
    <value condition="!Container.Content(episodes) + String.IsEqual(Skin.String(HomeItemArtworkChoice),0)">Default</value>
    <value condition="!Container.Content(episodes) + String.IsEqual(Skin.String(HomeItemArtworkChoice),1)">Fanart</value>
  </variable>	
  
  <variable name="LandscapeFanartToggleVar">
    <value condition="Container.Content(movies) + String.IsEqual(Skin.String(LandscapeFanart.movies),0)">Skin.SetString(LandscapeFanart.movies,1)</value>
    <value condition="Container.Content(movies) + String.IsEqual(Skin.String(LandscapeFanart.movies),1)">Skin.SetString(LandscapeFanart.movies,0)</value>
    <value condition="Container.Content(tvshows) + String.IsEqual(Skin.String(LandscapeFanart.tvshows),0)">Skin.SetString(LandscapeFanart.tvshows,1)</value>
    <value condition="Container.Content(tvshows) + String.IsEqual(Skin.String(LandscapeFanart.tvshows),1)">Skin.SetString(LandscapeFanart.tvshows,0)</value>
    <value condition="Container.Content(seasons) + String.IsEqual(Skin.String(LandscapeFanart.seasons),0)">Skin.SetString(LandscapeFanart.seasons,1)</value>
    <value condition="Container.Content(seasons) + String.IsEqual(Skin.String(LandscapeFanart.seasons),1)">Skin.SetString(LandscapeFanart.seasons,0)</value>
    <value condition="Container.Content(episodes) + Control.IsVisible(55) + String.IsEqual(Skin.String(LandscapeFanart.episodes),2)">Skin.SetString(LandscapeFanart.episodes,0)</value>
    <value condition="Container.Content(episodes) + Control.IsVisible(55) + String.IsEqual(Skin.String(LandscapeFanart.episodes),0)">Skin.SetString(LandscapeFanart.episodes,1)</value>
    <value condition="Container.Content(episodes) + Control.IsVisible(55) + String.IsEqual(Skin.String(LandscapeFanart.episodes),1)">Skin.SetString(LandscapeFanart.episodes,0)</value>
    <value condition="Container.Content(episodes) + !Control.IsVisible(55) + String.IsEqual(Skin.String(LandscapeFanart.episodes),0)">Skin.SetString(LandscapeFanart.episodes,1)</value>
    <value condition="Container.Content(episodes) + !Control.IsVisible(55) + String.IsEqual(Skin.String(LandscapeFanart.episodes),1)">Skin.SetString(LandscapeFanart.episodes,2)</value>
    <value condition="Container.Content(episodes) + !Control.IsVisible(55) + String.IsEqual(Skin.String(LandscapeFanart.episodes),2)">Skin.SetString(LandscapeFanart.episodes,0)</value>
  </variable>
  
  <variable name="LandscapeFanartSettingVar">
    <value condition="[[Container.Content(movies) + String.IsEqual(Skin.String(LandscapeFanart.movies),0)] | [Container.Content(tvshows) + String.IsEqual(Skin.String(LandscapeFanart.tvshows),0)] | [Container.Content(seasons) + String.IsEqual(Skin.String(LandscapeFanart.seasons),0)] | [Container.Content(episodes) + String.IsEqual(Skin.String(LandscapeFanart.episodes),0)]]">Default</value>
    <value condition="[[Container.Content(movies) + String.IsEqual(Skin.String(LandscapeFanart.movies),1)] | [Container.Content(tvshows) + String.IsEqual(Skin.String(LandscapeFanart.tvshows),1)] | [Container.Content(seasons) + String.IsEqual(Skin.String(LandscapeFanart.seasons),1)] | [Container.Content(episodes) + String.IsEqual(Skin.String(LandscapeFanart.episodes),1)]]">Fanart</value>
    <value condition="Container.Content(episodes) + String.IsEqual(Skin.String(LandscapeFanart.episodes),2)">Landscape</value>
  </variable>
  
  <variable name="HomeFanartToggleVar">
    <value condition="String.IsEqual(Skin.String(HomeArtworkChoice),0)">Skin.SetString(HomeArtworkChoice,1)</value>
    <value condition="String.IsEqual(Skin.String(HomeArtworkChoice),1)">Skin.SetString(HomeArtworkChoice,0)</value>
  </variable>
  
  <variable name="HomeFanartSettingVar">
    <value condition="String.IsEqual(Skin.String(HomeArtworkChoice),0)">Fanart</value>
    <value condition="String.IsEqual(Skin.String(HomeArtworkChoice),1)">Landscape</value>
  </variable>
  
  <variable name="HomeLandscapeFanartToggleVar">
    <value condition="String.IsEqual(Skin.String(HomeLandscapeFanart),0)">Skin.SetString(HomeLandscapeFanart,1)</value>
    <value condition="String.IsEqual(Skin.String(HomeLandscapeFanart),1)">Skin.SetString(HomeLandscapeFanart,0)</value>
  </variable>
  
  <variable name="HomeLandscapeFanartSettingVar">
    <value condition="String.IsEqual(Skin.String(HomeLandscapeFanart),0)">Default</value>
    <value condition="String.IsEqual(Skin.String(HomeLandscapeFanart),1)">Fanart</value>
  </variable>
  
  <variable name="BlurStateVar">
    <value condition="!Skin.HasSetting(Enable.BackgroundBlur)">Disabled</value>
    <value condition="Skin.HasSetting(Enable.BackgroundBlur)">Enabled</value>
  </variable>
</includes>