2014-04-09, 21:47
Problem with Musicvideos
Does i do something wrong?
my onload (Home.xml):
(to test without condition
my item:
if i use to test:
All works as expected.
So does i do a mistake?
Regards.
Does i do something wrong?
my onload (Home.xml):
PHP Code:
<onload>XBMC.RunScript(script.randomandlastitems,type=MusicVideos,limit=10,method=Last,playlist=special://skin/playlists/MusicVideos/MusicClips.xsp,menu=Menu7)</onload>
my item:
PHP Code:
<item>
<label>$INFO[Window(Home).Property(PlaylistLastMusicVideosMenu7.1.Title)]</label>
<label2>$INFO[Window.Property(PlaylistLastMusicVideosMenu7.1.Plot)]</label2>
<onclick>PlayMedia("$INFO[Window.Property(PlaylistLastMusicVideosMenu7.1.File)]")</onclick>
<icon>-</icon>
<thumb>$INFO[Window(Home).Property(PlaylistLastMusicVideosMenu7.1.Art(poster))]</thumb>
<property name="Fanart">$INFO[Window(Home).Property(PlaylistLastMusicVideosMenu7.1.Art(fanart))]</property>
<property name="Year">$INFO[Window(Home).Property(PlaylistLastMusicVideosMenu7.1.Year)]</property>
<property name="Runtime">$INFO[Window(Home).Property(PlaylistLastMusicVideosMenu7.1.Runtime)]</property>
<property name="Rating">$INFO[Window(Home).Property(PlaylistLastMusicVideosMenu7.1.Rating)]</property>
<visible>!IsEmpty(Window(Home).Property(PlaylistLastMusicVideosMenu7.1.Title)) + Container(9000).Hasfocus(18)</visible>
</item>
if i use to test:
PHP Code:
<!--item>
<label>$INFO[Window.Property(LatestMusicVideo.2.Title)]</label>
<label2>$INFO[Window.Property(LatestMusicVideo.2.Plot)]</label2>
<onclick>PlayMedia($ESCINFO[Window.Property(LatestMusicVideo.2.Path)])</onclick>
<icon>$INFO[Window.Property(LatestMusicVideo.2.Thumb)]</icon>
<thumb>-</thumb>
<property name="Fanart">$INFO[Window.Property(LatestMusicVideo.2.Fanart)]</property>
<property name="Year">$INFO[Window.Property(LatestMusicVideo.2.Year)]</property>
<property name="Runtime">$INFO[Window.Property(LatestMusicVideo.2.RunningTime)]</property>
<property name="Rating">$INFO[Window.Property(LatestMusicVideo.2.Rating)]</property>
<visible>!IsEmpty(Window.Property(LatestMusicVideo.2.Title)) + Container(9000).Hasfocus(18)</visible>
</item-->
So does i do a mistake?
Regards.