[Kodi] Implementing Dynamic Listing on Ace
#1
Hi, I'm currently working on implementing Dynamic Content for Ace

http://kodi.wiki/view/Dynamic_List_Content

The reason for this is i have a huge library and randomandlastitem script is way too slow..
The creator of the script Mikebhz then suggested using dynamic listing..

But i find it a little too confusing for a beginner like me,
I can tweak several minor changes to the skin, but for this one i'm currently stuck

So far this is what i understand :

Ace uses onload randomandlastitem on Home screen :

Code:
<onload condition="System.HasAddon(script.randomandlastitems) + !IsEmpty(skin.string(vpl1.path)) + SubString(skin.string(mfvpl1_list),latest)">RunScript(script.randomandlastitems,limit=12,method=Last,playlist=$INFO[Skin.String(vpl1.path)],menu=Menu31)</onload>
    <onload condition="System.HasAddon(script.randomandlastitems) + !IsEmpty(skin.string(vpl1.path)) + SubString(skin.string(mfvpl1_list),random)">RunScript(script.randomandlastitems,limit=12,method=Random,playlist=$INFO[Skin.String(vpl1.path)],menu=Menu31)</onload>
    <onload condition="System.HasAddon(script.randomandlastitems) + !IsEmpty(skin.string(vpl2.path)) + SubString(skin.string(mfvpl2_list),latest)">RunScript(script.randomandlastitems,limit=12,method=Last,playlist=$INFO[Skin.String(vpl2.path)],menu=Menu32)</onload>
    <onload condition="System.HasAddon(script.randomandlastitems) + !IsEmpty(skin.string(vpl2.path)) + SubString(skin.string(mfvpl2_list),random)">RunScript(script.randomandlastitems,limit=12,method=Random,playlist=$INFO[Skin.String(vpl2.path)],menu=Menu32)</onload>

Menu31, menu32 and so on are called from property from another control

Code:
<item>
    <label>$INFO[Window(0).Property(PlaylistLastMovieMenu31.1.Title)]</label>
    <label2>$INFO[Window(0).Property(PlaylistLastMovieMenu31.1.Tagline)]</label2>
    <icon>$INFO[Window(0).Property(PlaylistLastMovieMenu31.1.Art(poster))]</icon>
    <property name="Fanart">$INFO[Window(0).Property(PlaylistLastMovieMenu31.1.Art(fanart))]</property>
    <property name="Genre">$INFO[Window(0).Property(PlaylistLastMovieMenu31.1.Genre)]</property>
    <property name="Runtime">$INFO[Window(0).Property(PlaylistLastMovieMenu31.1.Runtime)]</property>
    <property name="Rating">$INFO[Window(0).Property(PlaylistLastMovieMenu31.1.Rating)]</property>
    <property name="Plot">$INFO[Window(0).Property(PlaylistLastMovieMenu31.1.Plot)]</property>
    <property name="Year">$INFO[Window(0).Property(PlaylistLastMovieMenu31.1.Year)]</property>
    <property name="Mpaa">$INFO[Window(0).Property(PlaylistLastMovieMenu31.1.MPAA)]</property>
    <onclick>Skin.SetString(custom_id,$INFO[Window(0).Property(PlaylistLastMovieMenu31.1.DBID)])</onclick>
    <onclick condition="!IsEmpty(Window(0).Property(PlaylistLastMovieMenu31.1.Trailer))">Skin.SetString(custom_trailer,$INFO[Window(0).Property(PlaylistLastMovieMenu31.1.Trailer)])</onclick>
    <onclick>ActivateWindow(623)</onclick>
    <visible>!IsEmpty(Window(0).Property(PlaylistLastMovieMenu31.1.Title))</visible>
    </item>

Few things i can't understand :
1. How do i call dynamic content on Home screen with this skin structure?
2. When using dynamic content, the random field is specified with the smart playlist.. so how about the recent field?
3. Artwork and other properties such as plot, year, genre, etc, how do i include those?

I have contacted Ace's creator but i haven't got any reply
I have also asked in dynamic content thread unfortunately nobody could help me... so i hope i can get a hint or two here

Thanks
Reply

Logout Mark Read Team Forum Stats Members Help
[Kodi] Implementing Dynamic Listing on Ace0