Script Seems not to work with Gotham!
Hello
I try jesterday evening to get this Script to work with Gotham. Sadly no Sucsess!
Does i do someting wrong, or do i have to do someting diffrent for Gotham? (it works with Frodo the way i try it for Gotham.)
i Try it with the old V.2.0.5 and a newer V.2.1.5 in the addon.xml
In "Home.xml":
PHP Code:
<?xml version="1.0" encoding="UTF-8"?>
<window>
<defaultcontrol always="true">9000</defaultcontrol>
<allowoverlay>no</allowoverlay>
<onunload condition="Container(9000).Hasfocus(10) | Container(9000).Hasfocus(11) | ControlGroup(9010).HasFocus | ControlGroup(9016).HasFocus | ControlGroup(9017).HasFocus">SetProperty(VideosDirectLink,True)</onunload>
<onunload condition="Control.HasFocus(9000) + Container(9000).Hasfocus(2)">ClearProperty(VideosDirectLink)</onunload>
<onload condition="!Skin.HasSetting(HomeMenuNoHDMoviesButton)">XBMC.RunScript(script.RandomAndLastItems,limit=10,method=Last,playlist=special://skin/playlists/Video/Movies.xsp,menu=Menu2)</onload>
<onload condition="!Skin.HasSetting(HomeMenuNo3DMoviesButton)">XBMC.RunScript(script.randomandlastitems,limit=10,method=Last,playlist=special://skin/playlists/3DMovies.xsp,menu=Menu3)</onload>
<onload condition="!Skin.HasSetting(HomeMenuNoDocuButton)">XBMC.RunScript(script.randomandlastitems,limit=10,method=Last,playlist=special://skin/playlists/Video/Doku.xsp,menu=Menu1)</onload>
<onload condition="!Skin.HasSetting(HomeMenuNoMusicvideosButton)">XBMC.RunScript(script.randomandlastitems,limit=10,method=Last,playlist=special://skin/playlists/Musicvideos.xsp,menu=Menu4)</onload>
<onload condition="!Skin.HasSetting(HomeMenuNoConcertsButton)">XBMC.RunScript(script.randomandlastitems,limit=10,method=Last,playlist=special://skin/playlists/Concerts.xsp,menu=Menu5)</onload>
<controls>
In the "IncludeReaconlyAdded.xml"
PHP Code:
<content>
<item>
<label>$INFO[Window(Home).Property(PlaylistLastMovieMenu2.1.Title)]</label>
<label2>$INFO[Window(Home).Property(PlaylistLastMovieMenu2.1.Plot)]</label2>
<onclick>PlayMedia("$INFO[Window.Property(PlaylistLastMovieMenu2.1.File)]")</onclick>
<icon>-</icon>
<thumb>$INFO[Window(Home).Property(PlaylistLastMovieMenu2.1.Art(poster))]</thumb>
<property name="Fanart">$INFO[Window(Home).Property(PlaylistLastMovieMenu2.1.Art(fanart))]</property>
<property name="Year">$INFO[Window(Home).Property(PlaylistLastMovieMenu2.1.Year)]</property>
<property name="Runtime">$INFO[Window(Home).Property(PlaylistLastMovieMenu2.1.Runtime)]</property>
<property name="Rating">$INFO[Window(Home).Property(PlaylistLastMovieMenu2.1.Rating)]</property>
<visible>!IsEmpty(Window(Home).Property(PlaylistLastMovieMenu2.1.Title))</visible>
</item>
<item>
<label>$INFO[Window(Home).Property(PlaylistLastMovieMenu2.2.Title)]</label>
<label2>$INFO[Window.Property(PlaylistLastMovieMenu2.2.Plot)]</label2>
<onclick>PlayMedia("$INFO[Window.Property(PlaylistLastMovieMenu2.2.File)]")</onclick>
<icon>-</icon>
<thumb>$INFO[Window(Home).Property(PlaylistLastMovieMenu2.2.Art(poster))]</thumb>
<property name="Fanart">$INFO[Window(Home).Property(PlaylistLastMovieMenu2.2.Art(fanart))]</property>
<property name="Year">$INFO[Window(Home).Property(PlaylistLastMovieMenu2.2.Year)]</property>
<property name="Runtime">$INFO[Window(Home).Property(PlaylistLastMovieMenu2.2.Runtime)]</property>
<property name="Rating">$INFO[Window(Home).Property(PlaylistLastMovieMenu2.2.Rating)]</property>
<visible>!IsEmpty(Window(Home).Property(PlaylistLastMovieMenu2.2.Title))</visible>
</item>
The Playlists are located in the Skinfolder in a selfgenerated Folder "Playlists"
If i thake a Look in the Log it shows me:
Seems as the Skript couldn't finde the Smartplaylist, but no Idea Why!!?
Try diffrent Folder Names, a Subfolder called "Video" in the "Playlists" folder and so on, no Sucsess.
So no Idea whats wrong, in Frodo it works.
Couldnt figuere it out.
(Help is much appreciated!!)