<?xml version="1.0" encoding="UTF-8"?>
<includes>
  <variable name="Trailer" description="Trailers check keep in front">
    <value condition="Container.Content(Movies) + !IsEmpty(ListItem.Trailer)">$LOCALIZE[20410]</value>
  </variable>
  <variable name="WatchlistParameters">
    <value condition="Library.HasContent(Music) + [Library.HasContent(TVShows) + !Skin.HasSetting(TV5)]">movies=false&amp;episodes=true&amp;albums=true&amp;limit=10</value>
    <value condition="Library.HasContent(Music) + [!Library.HasContent(TVShows) | Skin.HasSetting(TV5)]">movies=false&amp;episodes=false&amp;albums=true&amp;limit=10</value>
    <value condition="!Library.HasContent(Music) + [Library.HasContent(TVShows) + !Skin.HasSetting(TV5)]">movies=false&amp;episodes=true&amp;albums=false&amp;limit=10</value>
  </variable>
  <variable name="ShelfIcon" description="Shelf custom and fallback image">
    <value condition="Control.HasFocus(301) + !Control.IsVisible(311) + Skin.HasSetting(MoviesShelf_Image)">$INFO[Skin.String(MoviesShelf_Icon)]</value>
    <value condition="Control.HasFocus(302) + !Control.IsVisible(312) + Skin.HasSetting(TVShelf_Image)">$INFO[Skin.String(TVShelf_Icon)]</value>
    <value condition="Control.HasFocus(303) + !Control.IsVisible(313) + Skin.HasSetting(MusicShelf_Image)">$INFO[Skin.String(MusicShelf_Icon)]</value>
    <value condition="Control.HasFocus(304) + !Control.IsVisible(314) + Skin.HasSetting(PicturesShelf_Image)">$INFO[Skin.String(PicturesShelf_Icon)]</value>
    <value condition="Control.HasFocus(305) + !Control.IsVisible(315) + Skin.HasSetting(AddonsShelf_Image)">$INFO[Skin.String(AddonsShelf_Icon)]</value>
    <value condition="Control.HasFocus(306) + Skin.HasSetting(XBMCShelf_Image)">$INFO[Skin.String(XBMCShelf_Icon)]</value>
  </variable>
  <variable name="QuitLabel2" description="Label2 for skin settings Quit function item">
    <value condition="StringCompare(Skin.String(shutdown),quit)">$LOCALIZE[13009]</value>
    <value condition="StringCompare(Skin.String(shutdown),powerdown)">$LOCALIZE[13005]</value>
    <value condition="StringCompare(Skin.String(shutdown),hibernate)">$LOCALIZE[13010]</value>
    <value condition="StringCompare(Skin.String(shutdown),suspend)">$LOCALIZE[13011]</value>
    <value condition="StringCompare(Skin.String(shutdown),reboot)">$LOCALIZE[13013]</value>
  </variable>
  <variable name="MusicPlayingFanartLabel2" description="Label2 for music playing FA">
    <value condition="Skin.HasSetting(MusicPlayingFanart)">$LOCALIZE[449]</value>
    <value>$LOCALIZE[13113]</value>
  </variable>
  <variable name="MoviesShelfLabel2" description="Label2 media shelf movies">
    <value condition="Skin.HasSetting(MoviesShelf_Custom) | Skin.HasSetting(MoviesShelf_Image)">$LOCALIZE[16039]</value>
    <value>$LOCALIZE[16041]</value>
  </variable>
  <variable name="TVShelfLabel2" description="Label2 media shelf TV">
    <value condition="Skin.HasSetting(TVShelf_Custom) | Skin.HasSetting(TVShelf_Image)">$LOCALIZE[16039]</value>
    <value>$LOCALIZE[16041]</value>
  </variable>
  <variable name="MusicShelfLabel2" description="Label2 media shelf Music">
    <value condition="Skin.HasSetting(MusicShelf_Custom) | Skin.HasSetting(MusicShelf_Image)">$LOCALIZE[16039]</value>
    <value>$LOCALIZE[16041]</value>
  </variable>
  <variable name="TopShelfLabel" description="Currently selected Shelf items label">
    <value condition="Container.HasFocus(311)">$INFO[Container(311).ListItem.Label]</value>
    <value>$LOCALIZE[305]</value>
  </variable>
  <variable name="Overlay" description="Overlay image">
    <value condition="ListItem.IsResumable">$INFO[ListItem.Overlay,overlay/]</value>
    <value>$INFO[ListItem.Overlay]</value>
  </variable>
  <variable name="PVROverlay" description="PVR Overlay image">
    <value condition="ListItem.IsRecording">OverlayRecording.png</value>
    <value condition="ListItem.HasTimer">OverlayTimer.png</value>
  </variable>
  <variable name="WeatherFooter" description="Weather plus footer labels">
    <value condition="IsEmpty(Window.Property(Weather.CurrentView))">$LOCALIZE[31904]</value>
    <value condition="StringCompare(Window.Property(Weather.CurrentView),36hour)">$LOCALIZE[31901]</value>
    <value condition="StringCompare(Window.Property(Weather.CurrentView),weekend)">$LOCALIZE[31903]</value>
    <value condition="StringCompare(Window.Property(Weather.CurrentView),maps)">$INFO[Window.Property(Weather.CurrentMap)]</value>
    <value condition="StringCompare(Window.Property(Weather.CurrentView),hourly)">$LOCALIZE[31902]</value>
  </variable>
  <variable name="GlobalHeadings" description="Global Headings">
    <value condition="Window.IsActive(56)">$LOCALIZE[5] - Quartz</value>
    <value condition="Window.IsActive(Settings.xml)">$LOCALIZE[5]</value>
    <value condition="Window.IsActive(AddonBrowser.xml) + IsEmpty(Container.FolderName)">$LOCALIZE[31291]</value>
    <value condition="Window.IsActive(MyVideoPlaylist.xml)">$LOCALIZE[20012]</value>
    <value condition="Window.IsActive(MyMusicPlaylist.xml)">$LOCALIZE[20011]</value>
    <value condition="Window.IsActive(DialogVideoInfo.xml)">$LOCALIZE[20159]</value>
    <value condition="Window.IsActive(DialogAlbumInfo.xml) + container.content(albums)">$LOCALIZE[13351]</value>
    <value condition="Window.IsActive(DialogAlbumInfo.xml) + container.content(artists)">$LOCALIZE[21891]</value>
    <value condition="Window.IsActive(DialogSongInfo.xml) + container.content(songs)">$LOCALIZE[658]</value>
    <value condition="Window.IsActive(DialogAddonInfo.xml)">$LOCALIZE[24003]</value>
    <value condition="Container.content(movies) + StringCompare(Container.FolderName,$LOCALIZE[369])">$LOCALIZE[20342]</value>
    <value condition="Container.content(tvshows) + StringCompare(Container.FolderName,$LOCALIZE[369])">$LOCALIZE[20343]</value>
    <value condition="Container.content(musicvideos) + StringCompare(Container.FolderName,$LOCALIZE[369])">$LOCALIZE[20389]</value>
    <value condition="Window.IsActive(weather)">$INFO[Window(Weather).Property(WeatherProvider)]</value>
    <value>$INFO[Container.FolderName]</value>
  </variable>
  <variable name="PVR_Headings" description="PVR Headings">
    <value condition="Control.IsVisible(16) | Control.IsVisible(15) | Control.IsVisible(10)">$INFO[Control.GetLabel(31)]</value>
    <value>$INFO[Container.FolderName]</value>
  </variable>
  <variable name="TopLabel" description="Shown Above Plots and descriptions">
    <value condition="!Container.content(Addons) + Window.IsActive(MyPics.xml)">$INFO[ListItem.Date,, • ]$INFO[ListItem.Size]</value>
    <value condition="Container.content(Albums)">$INFO[ListItem.Label]</value>
    <value condition="Container.Content(Episodes)">$INFO[ListItem.Premiered,, • ]$INFO[ListItem.Duration,, $LOCALIZE[12391]]</value>
    <value condition="Container.Content(Addons)">$INFO[ListItem.Property(Addon.Creator),  ]</value>
    <value condition="Container.Content(songs)">$INFO[ListItem.Album]</value>
    <value condition="Container.Content(MusicVideos)">$INFO[ListItem.Label]</value>
    <value condition="Container.Content(Movies) + IsEmpty(ListItem.Trailer)">$INFO[ListItem.Year,, • ]$INFO[ListItem.Duration,, $LOCALIZE[31297]]$INFO[ListItem.MPAA, • ]</value>
    <value condition="Container.Content(Movies) + !IsEmpty(ListItem.Trailer)">$INFO[ListItem.Year,, • ]$INFO[ListItem.Duration,, $LOCALIZE[31297]]$VAR[Trailer, • ]$INFO[ListItem.MPAA, • ]</value>
    <value condition="Container.Content(Seasons) | Container.Content(TVShows)">$INFO[ListItem.Year,, • ]$INFO[ListItem.Property(TotalEpisodes),, $LOCALIZE[20453]]$INFO[ListItem.MPAA, • ]</value>
    <value>$INFO[ListItem.Label2]</value>
  </variable>
  <variable name="500TopLabel" description="Shown Above Plots and descriptions">
    <value condition="!Container.content(Addons) + Window.IsActive(MyPics.xml)">$INFO[ListItem.Date,, • ]$INFO[ListItem.Size]</value>
    <value condition="Container.content(Albums)">$INFO[ListItem.Label]</value>
    <value condition="Container.Content(Episodes)">$INFO[ListItem.Premiered,, • ]$INFO[ListItem.Duration,, $LOCALIZE[12391]]</value>
    <value condition="Container.Content(Addons)">$INFO[ListItem.label2]$INFO[ListItem.Property(Addon.Creator), • ]</value>
    <value condition="Container.Content(songs)">$INFO[ListItem.Album]</value>
    <value condition="Container.Content(MusicVideos)">$INFO[ListItem.Label]</value>
    <value condition="Container.Content(Movies)">$INFO[ListItem.Year,, • ]$INFO[ListItem.Duration,, $LOCALIZE[31297]]$INFO[ListItem.RatingAndVotes, • ]</value>
    <value condition="Container.Content(Seasons) | Container.Content(TVShows)">$INFO[ListItem.Year,, • ]$INFO[ListItem.Property(UnWatchedEpisodes),$LOCALIZE[16101] ] $INFO[ListItem.Property(TotalEpisodes),(, $LOCALIZE[20453])]</value>
    <value>$INFO[ListItem.Label2]</value>
  </variable>
  <variable name="ItemDetails" description="Item media info">
    <value condition="Window.IsActive(myvideonav.xml) + ![container.content(episodes)]">$INFO[ListItem.Year,, ⋅ ]$INFO[ListItem.Property(UnWatchedEpisodes),$LOCALIZE[16101] ]$INFO[ListItem.Property(TotalEpisodes), (,)]$INFO[ListItem.Duration,, $LOCALIZE[12391] ]</value>
    <value condition="[Window.IsActive(mymusicnav.xml) | Window.IsActive(mymusicsongs.xml)] + ![Container.Content(songs) | Container.Content(MusicVideos)]">$INFO[ListItem.Genre]$INFO[ListItem.Property(Artist_Genre)]$INFO[ListItem.Property(Artist_YearsActive), ⋅ ]$INFO[ListItem.Year, ⋅ ]$INFO[ListItem.Duration, ⋅ ]</value>
    <value condition="Container.Content(addons)">$INFO[ListItem.Property(Addon.Version),Ver. ]$INFO[ListItem.Label2]</value>
  </variable>
  <variable name="Plots" description="Plots and descriptions">
    <value condition="Container.content(addons) + !IsEmpty(ListItem.Property(Addon.Description))">$INFO[ListItem.Property(Addon.Description)]</value>
    <value condition="SubString(ListItem.Path,videodb://1/7)">$LOCALIZE[20457]</value>
    <value condition="[Container.Content(Movies) | Container.Content(TVShows) | Container.Content(Episodes)] + !IsEmpty(ListItem.Plot)">$INFO[ListItem.Plot]</value>
    <value condition="Container.Content(Seasons) + !IsEmpty(Container.ShowPlot)">$INFO[Container.ShowPlot]</value>
    <value condition="Container.Content(albums) + !IsEmpty(ListItem.Property(Album_Description))">$INFO[ListItem.Property(Album_Description)]</value>
    <value condition="Container.Content(artists) + !IsEmpty(ListItem.Property(Artist_Description))">$INFO[ListItem.Property(Artist_Description)]</value>
    <value condition="!IsEmpty(ListItem.Plot)">$INFO[ListItem.Plot]</value>
  </variable>
  <variable name="52_SmallLabels" description="Container 52 small labels">
    <value condition="SubString(ListItem.Path,videodb://1/7)">$LOCALIZE[20457]</value>
    <value condition="container.content(Movies) + StringCompare(Container.SortMethod,$LOCALIZE[551])">$INFO[ListItem.Duration,, $LOCALIZE[31297]]</value>
    <value condition="Container.Content(Episodes) + StringCompare(Container.SortMethod,$LOCALIZE[20359])">$INFO[ListItem.Duration,, $LOCALIZE[31297]]</value>
    <value condition="Container.Content(TVShows) | Container.Content(Seasons)">$INFO[ListItem.Property(UnwatchedEpisodes),$LOCALIZE[16101] ]$INFO[ListItem.Property(TotalEpisodes), (,)]</value>
    <value condition="container.content(musicvideos)">$INFO[ListItem.Artist]</value>
    <value>$INFO[ListItem.Label2]</value>
  </variable>
</includes>