Hallo Leute,
ich habe einen eigenen Menüpunkt und eine Smartliste erstellt die beide Animie heisen.
Jetzt habe ich in der "IncludesHomeRecentlyAdded.xml" so eingebunden dass beim Home-Fenster Animie die zuletzt hinzugefügten Serien gezeigt werden.
Meine Frage .. wie bekomme ich hin das die erstellte Playliste LastAnimie als Refernz für die Suche gewählt wird und nicht "LatestEpisode"
Wie muss die Zeile "<visible>Library.HasContent(TVShows)</visible>" für die Smartliste LastAnimie ( Animie ) lauten?
SQL
<!-- Eigene Home Seite 1 -->
<control type="group">
<posx>775</posx>
<posy>50</posy>
<visible>Library.HasContent(TVShows)</visible>
<visible>Container(9000).Hasfocus(15) + !Skin.HasSetting(HomepageHideRecentlyAddedVideo)</visible>
<include>VisibleFadeEffect</include>
<control type="label">
<description>Title label</description>
<posx>0</posx>
<posy>220</posy>
<height>20</height>
<width>480</width>
<label>20387</label>
<align>center</align>
<aligny>center</aligny>
<font>font12_title</font>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
</control>
<control type="list" id="8005">
<animation effect="slide" start="0,0" end="120,0" time="0" condition="StringCompare(Container(8005).NumItems,3)">conditional</animation>
<animation effect="slide" start="0,0" end="240,0" time="0" condition="StringCompare(Container(8005).NumItems,2)">conditional</animation>
<animation effect="slide" start="0,0" end="360,0" time="0" condition="StringCompare(Container(8005).NumItems,1)">conditional</animation>
<posx>0</posx>
<posy>0</posy>
<width>480</width>
<height>240</height>
<onleft>8005</onleft>
<onright>8005</onright>
<onup>20</onup>
<ondown condition="System.HasAddon(script.globalsearch)">608</ondown>
<ondown condition="!System.HasAddon(script.globalsearch)">603</ondown>
<viewtype label="535">list</viewtype>
<pagecontrol>-</pagecontrol>
<scrolltime>200</scrolltime>
<orientation>Horizontal</orientation>
<focusposition>1</focusposition>
<movement>2</movement>
<itemlayout height="220" width="240">
<control type="image">
<description>background</description>
<posx>0</posx>
<posy>0</posy>
<width>240</width>
<height>220</height>
<texture border="15">RecentAddedBack.png</texture>
</control>
<control type="image">
<posx>10</posx>
<posy>10</posy>
<width>220</width>
<height>155</height>
<aspectratio>scale</aspectratio>
<texture background="true">$INFO[ListItem.Icon]</texture>
<bordertexture border="5">button-nofocus.png</bordertexture>
<bordersize>5</bordersize>
</control>
<control type="label">
<posx>120</posx>
<posy>168</posy>
<width>200</width>
<height>20</height>
<font>font10</font>
<textcolor>grey2</textcolor>
<shadowcolor>black</shadowcolor>
<selectedcolor>selected</selectedcolor>
<align>center</align>
<aligny>center</aligny>
<label>$INFO[ListItem.Label2]</label>
</control>
<control type="label">
<posx>120</posx>
<posy>185</posy>
<width>200</width>
<height>20</height>
<font>font12</font>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
<selectedcolor>selected</selectedcolor>
<align>center</align>
<aligny>center</aligny>
<label>$INFO[ListItem.Label]</label>
</control>
</itemlayout>
<focusedlayout height="220" width="240">
<control type="image">
<description>background</description>
<posx>0</posx>
<posy>0</posy>
<width>240</width>
<height>220</height>
<texture border="15">RecentAddedBack.png</texture>
</control>
<control type="image">
<posx>10</posx>
<posy>10</posy>
<width>220</width>
<height>155</height>
<aspectratio>scale</aspectratio>
<texture background="true">$INFO[ListItem.Icon]</texture>
<bordertexture border="5">folder-focus.png</bordertexture>
<bordersize>5</bordersize>
<visible>Control.HasFocus(8005)</visible>
</control>
<control type="image">
<posx>10</posx>
<posy>10</posy>
<width>220</width>
<height>155</height>
<aspectratio>scale</aspectratio>
<texture>$INFO[ListItem.Icon]</texture>
<bordertexture border="5">button-nofocus.png</bordertexture>
<bordersize>5</bordersize>
<visible>!Control.HasFocus(8005)</visible>
</control>
<control type="label">
<posx>120</posx>
<posy>168</posy>
<width>200</width>
<height>20</height>
<font>font10</font>
<textcolor>grey2</textcolor>
<shadowcolor>black</shadowcolor>
<selectedcolor>selected</selectedcolor>
<align>center</align>
<aligny>center</aligny>
<label>$INFO[ListItem.Label2]</label>
</control>
<control type="label">
<posx>120</posx>
<posy>185</posy>
<width>200</width>
<height>20</height>
<font>font12</font>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
<selectedcolor>selected</selectedcolor>
<align>center</align>
<aligny>center</aligny>
<label>$INFO[ListItem.Label]</label>
</control>
<control type="label">
<posx>120</posx>
<posy>185</posy>
<width>200</width>
<height>20</height>
<font>font12</font>
<textcolor>white</textcolor>
<selectedcolor>selected</selectedcolor>
<align>center</align>
<aligny>center</aligny>
<label>$INFO[ListItem.Label]</label>
<visible>Control.HasFocus(8005)</visible>
</control>
</focusedlayout>
<content>
<item>
<label>$INFO[Window.Property(LatestEpisode.1.EpisodeTitle)]</label>
<label2>$INFO[Window.Property(LatestEpisode.1.ShowTitle)] - $INFO[Window.Property(LatestEpisode.1.EpisodeNo)]</label2>
<onclick>PlayMedia($ESCINFO[Window.Property(LatestEpisode.1.Path)])</onclick>
<icon>-</icon>
<thumb>$INFO[Window.Property(LatestEpisode.1.Thumb)]</thumb>
<visible>!IsEmpty(Window.Property(LatestEpisode.1.EpisodeTitle))</visible>
</item>
</content>
</control>
<control type="button">
<description>left Arrow</description>
<posx>-30</posx>
<posy>90</posy>
<width>30</width>
<height>40</height>
<texturefocus>arrow-big-left.png</texturefocus>
<texturenofocus>arrow-big-left.png</texturenofocus>
<onclick>Control.Move(8005,-1)</onclick>
<visible>Control.HasFocus(8005) + Container(8005).HasPrevious + !Skin.HasSetting(NoArrow)</visible>
<include>VisibleFadeEffect</include>
</control>
<control type="button">
<description>right Arrow</description>
<posx>480</posx>
<posy>90</posy>
<width>30</width>
<height>40</height>
<texturefocus>arrow-big-right.png</texturefocus>
<texturenofocus>arrow-big-right.png</texturenofocus>
<onclick>Control.Move(8005,1)</onclick>
<visible>Control.HasFocus(8005) + Container(8005).HasNext + !Skin.HasSetting(NoArrow)</visible>
<include>VisibleFadeEffect</include>
</control>
</control>
Alles anzeigen