2014-12-05, 01:01
I have modified the Confluence skin for my use and am attempting to integrate this script into my skin.
in Home.xml I have:
and in IncludesHomeRecentlyAdded.xml I have:
The script seems to execute properly (no errors in the log file), but the recent movies widget on the Movies screen is empty. I'm still new to xbmc and trying to learn, any help is appreciated.
in Home.xml I have:
Code:
<item id="10">
<label>31954</label>
<onfocus>XBMC.RunScript(script.randomandlastitems,limit=10,method=Last,playlist=special://videoplaylists/video/Movies.xsp,menu=Menu1)</onfocus>
<onclick>ActivateWindow(Videos,special://videoplaylists/video/Movies.xsp,return)</onclick>
<icon>-</icon>
<thumb>-</thumb>
<visible>!Skin.HasSetting(HomeMenuNoMovieButton) + Library.HasContent(Movies)</visible>
</item>
and in IncludesHomeRecentlyAdded.xml I have:
Code:
<item>
<label>$INFO[Window.Property(PlaylistLastMovieMenu1.1.Title)]</label>
<label2/>
<onclick>PlayMedia($ESCINFO[Window.Property(PlaylistLastMovieMenu1.1.Path)])</onclick>
<icon>$INFO[Window.Property(LatestMovie.1.Thumb)]</icon>
<thumb>-</thumb>
<visible>!IsEmpty(Window.Property(PlaylistLastMovieMenu1.1.Title))</visible>
</item>
The script seems to execute properly (no errors in the log file), but the recent movies widget on the Movies screen is empty. I'm still new to xbmc and trying to learn, any help is appreciated.