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

  <include name="NextAiredNotifications">
		<control type="group">
		  <left>45</left>
			<top>645</top>
	    <include>NotificationsAnimationsTwo</include>
			<visible>!ListItem.IsParentFolder + String.IsEmpty(Window(Home).Property(infodialogs.active))</visible>
		  <visible>!Window.IsActive(ShutdownMenu)</visible>
      <visible>Container.Content(TVShows) | Container.Content(Seasons) | Container.Content(Episodes)</visible>
		  <animation type="Conditional" reversible="false" condition="!Window.IsActive(notification) + !Window.IsActive(extendedprogressdialog) + !Library.IsScanningVideo">
	      <effect type="fade" start="0" end="100" time="400" delay="250" tween="sine" easing="in"  />
	      <effect type="slide" start="0,-35" end="0,0" time="450" delay="250" tween="cubic" easing="out" />
		  </animation>
		  <animation type="Conditional" reversible="false" condition="Window.IsActive(notification) | Window.IsActive(extendedprogressdialog) | Library.IsScanningVideo">
	      <effect type="fade" start="100" end="0" time="400" tween="sine" easing="out" />
	      <effect type="slide" start="0,0" end="0,-35" time="450" tween="sine" easing="out" />
		  </animation>
			<control type="group">
  			<right>0</right>
				<width>563</width>
	      <include>NotificationsAnimationsTwo</include>
        <visible>!String.IsEmpty(Window(Home).Property(NextAired.NextDate))</visible>
				<control type="label">
  				<left>0</left>
  			  <top>0</top>
					<height>24</height>
					<width>460</width>
					<font>NotificationsFont</font>
			    <align>right</align>
			    <aligny>center</aligny>
					<scroll>false</scroll>
          <label>$INFO[Window(Home).Property(NextAired.NextNumber),,. ]$INFO[Window(Home).Property(NextAired.NextTitle)]</label>
				</control>
				<control type="label">
  				<left>0</left>
			    <top>20</top>
					<height>25</height>
					<width>460</width>
					<font>NotificationsFont</font>
					<textcolor>viewsinfo</textcolor>
			    <align>right</align>
			    <aligny>center</aligny>
					<scroll>false</scroll>
          <label>$INFO[Window(Home).Property(NextAired.NextDate),$LOCALIZE[31215] ]$INFO[Window(Home).Property(NextAired.ShortTime),$COMMA ]$INFO[Window(Home).Property(NextAired.Network), on ]</label>
          <!--
          <label>$INFO[Window(Home).Property(NextAired.AirDay),,$COMMA ]$INFO[Window(Home).Property(NextAired.NextDate)]$INFO[Window(Home).Property(NextAired.ShortTime),$COMMA ]$INFO[Window(Home).Property(NextAired.Network), on ]</label>
          <label>$INFO[Window(Home).Property(NextAired.NextDay)]$INFO[Window(Home).Property(NextAired.ShortTime),$COMMA ]$INFO[Window(Home).Property(NextAired.Network), on ]</label>
          -->
				</control>
				<control type="image">
  				<left>470</left>
  			  <top>0</top>
					<width>46</width>
					<height>46</height>
  			  <texture>icons/notification_time.png</texture>
				</control>
			</control>
			<control type="group">
  			<right>0</right>
				<width>563</width>
	      <include>NotificationsAnimationsTwo</include>
        <visible>String.IsEmpty(Window(Home).Property(NextAired.NextDate)) + !String.IsEmpty(Window(Home).Property(NextAired.LatestTitle))</visible>
				<control type="label">
  				<left>0</left>
  			  <top>0</top>
					<height>25</height>
					<width>460</width>
					<font>NotificationsFont</font>
			    <align>right</align>
			    <aligny>center</aligny>
					<scroll>false</scroll>
	        <label>$INFO[Window(Home).Property(NextAired.LatestNumber),,. ]$INFO[Window(Home).Property(NextAired.LatestTitle)]</label>
				</control>
				<control type="label">
  				<left>0</left>
			    <top>20</top>
					<height>25</height>
					<width>460</width>
					<font>NotificationsFont</font>
					<textcolor>viewsinfo</textcolor>
			    <align>right</align>
			    <aligny>center</aligny>
					<scroll>false</scroll>
	        <label>$INFO[Window(Home).Property(NextAired.Status)]$INFO[Window(Home).Property(NextAired.LatestDate), • $LOCALIZE[31216] ,]</label>
				</control>
				<control type="image">
  				<left>470</left>
  			  <top>0</top>
					<width>46</width>
					<height>46</height>
				  <texture>DefaultIconWarning.png</texture>
					<visible>!String.IsEqual(Window(Home).Property(NextAired.StatusID),1)</visible>
				</control>
				<control type="image">
  				<left>470</left>
  			  <top>0</top>
					<width>46</width>
					<height>46</height>
				  <texture>DefaultIconError.png</texture>
					<visible>String.IsEqual(Window(Home).Property(NextAired.StatusID),1)</visible>
				</control>
			</control>
		</control>
  </include>


</includes>
