Muss Leider nochmals Euer Wissen konsultieren
(Dachte nicht das das so schwer ist...)
Ich würde gerne ein "Recently Added" für ne Smartplayliste "HD-Movies" Coden. ich Tippe mal darauf das es beim Einbinden des Scripts scheitert.
Ich habe diesesn Tread im xbmc.org Forum entdeckt und denke damit sollte es gehen. Leider half mir das (etwas spärliche) how to aus dem .zip des scripts und der Tread nicht weiter.
Um zu wissen wie ich solch einen Script einbinden kann hab ich mir noch dieses angesehen.
Und ich habs immer noch nicht ans laufen gebracht.
hier mal ein wohl etwas dämlicher Versuch:
Code
<focusedlayout height="220" width="180">
<onfocus>RunScript(script.randomandlastitems, type=Movie, playlist=special://skin/playlists/HDMovies.xsp, method=Last, limit=10, unwatched=False, resume=False, property=SmartPlaylist1)</onfocus>
<control type="image">
<posx>10</posx>
<posy>10</posy>
<width>160</width>
<height>170</height>
<texture background="true">$INFO[ListItem.Icon]</texture>
<bordertexture border="5">folder-focus.png</bordertexture>
<bordersize>5</bordersize>
<visible>Control.HasFocus(8000)</visible>
</control>
........................usw......................
</focusedlayout>
<content>
<item>
<label>$INFO[Window(Home).Property(SmartPlaylist1.1.Title)]</label> <label2/>
<onclick>PlayMedia($ESCINFO[Window.Property(SmartPlaylist1.1.Path)])</onclick>
<icon>$INFO[Window.Property(SmartPlaylist1.1.Thumb)]</icon>
<thumb>-</thumb>
<visible>!IsEmpty(Window.Property(SmartPlaylist1.1.Title))</visible>
</item>
<item>
<label>$INFO[Window(Home).Property(SmartPlaylist1.2.Title)]</label>
<label2/>
<onclick>PlayMedia($ESCINFO[Window.Property(SmartPlaylist1.2.Path)])</onclick>
<icon>$INFO[Window.Property(SmartPlaylist1.2.Thumb)]</icon>
<thumb>-</thumb>
<visible>!IsEmpty(Window.Property(SmartPlaylist1.2.Title))</visible>
</item>
Alles anzeigen
Wo (und wie) muss ich das script includieren? Geht mein Vorhaben für "Recently Added" für Smartplaylisten ev. auch einfacher?
(Sorry fürs viele nachfragen)
mfG.