2015-09-23, 19:18
I have a giant library, consisting of 7000+ movies and 600+ shows..
I mod Ace for my main home menu, for each submenu there are 2 playlists,
1. Recent items for that path;
2. Recommended items (>6 rating), both using smart playlist
here's the vid :
As you can see it's pretty laggy.. especially when i change focus to another menu..
Here's the log file, i don't see any error that's related to dynamic list.. just looongg load times
http://pastebin.com/7zkpGZRj
And here's the code
IncludeMenuplaylist.xml
IncludeVIPMenu.xml
IncludeVariables.xml
... Some issues that i can't figure out..
1. I noticed in debug log Kodi is caching panel thumbs from my local thumbnails userdata...
I'd assume thumbs took longest to load because all other infos (plot, rating, title, etc) are already loaded before thumbs
Is there anyway i could force it to direct listing or any other methods to generate thumbs from my library?
I have generated all posters and fanart for each of my item in library using filebot..It seems to be faster for my case...
2. Code-wise is there anything that can be optimized to reduce the lag?
I haven't completely understood dynamic listing so there might be something i missed..
Almost forgot, the client is win 7 and my nas is Ubuntu 12.02..
I'm planning to use diskless scheme, not mysql, so I can't use texture cache either..( I have discussed it in texture cache thread)
Thanks before
I mod Ace for my main home menu, for each submenu there are 2 playlists,
1. Recent items for that path;
2. Recommended items (>6 rating), both using smart playlist
here's the vid :
As you can see it's pretty laggy.. especially when i change focus to another menu..
Here's the log file, i don't see any error that's related to dynamic list.. just looongg load times
http://pastebin.com/7zkpGZRj
And here's the code
IncludeMenuplaylist.xml
Code:
<include name="mf_contentvpl1">
<control type="group">
<posx>0</posx>
<posy>60</posy>
<control type="panel" id="510">
<!--- Recent Video -->
<include>panel_video_v</include>
<include>panel_videolayout</include>
<visible>Container(9000).HasFocus(31) + SubString(skin.string(mfvpl1_list),latest)</visible>
<content target="video" limit="12">$INFO[Container(9000).ListItem.Property(widgetPlaylist)]</content>
</control>
<control type="panel" id="510">
<!--- Recomemended Video -->
<include>panel_video_v</include>
<include>panel_videolayout</include>
<visible>Container(9000).HasFocus(31) + SubString(skin.string(mfvpl1_list),random)</visible>
<content target="video" limit="12">$INFO[Container(9000).ListItem.Property(widgetPlaylist2)]</content>
</control>
</control>
</include>
IncludeVIPMenu.xml
Code:
<item id="31">
<!-- Vpl 1 -->
<label fallback="31072">$INFO[skin.string(vpl1.label)]</label>
<label2>West Movie</label2>
<icon fallback="special://skin/backgrounds/vplaylist.jpg">$VAR[value_mainmenubg_vpl1]</icon>
<onclick>Skin.SetBool(playlists)</onclick>
<onclick>Skin.SetString(playlist,v1)</onclick>
<onclick condition="Container(9000).HasFocus(31) + SubString(skin.string(mfvpl1_list),latest)">ActivateWindow(videolibrary,$INFO[skin.string(vpl1.path)],return)</onclick>
<onclick condition="Container(9000).HasFocus(31) + SubString(skin.string(mfvpl1_list),random)">ActivateWindow(videolibrary,$INFO[skin.string(vpl1a.path)],return)</onclick>
<property name="dropdown">not_empty</property>
<property name="widget">Playlist</property>
<property name="widget2">Playlist2</property>
<property name="widgetPlaylist">C:/Users/Downloader/AppData/Roaming/Kodi/userdata/playlists/video/Barat.xsp</property>
<property name="widgetPlaylist2">C:/Users/Downloader/AppData/Roaming/Kodi/userdata/playlists/video/Recommended_Barat.xsp</property>
<visible>!IsEmpty(skin.string(vpl1))</visible>
</item>
IncludeVariables.xml
Code:
<variable name="Widget_Title">
<value condition="!IsEmpty(Container(510).ListItem.Title)">$INFO[Container(510).ListItem.Title]</value>
</variable>
<variable name="Widget_Subtitle">
<value condition="!IsEmpty(Container(510).ListItem.TagLine)">$INFO[Container(510).ListItem.TagLine]</value>
</variable>
<variable name="Widget_Fanart">
<value condition="!IsEmpty(Container(510).ListItem.Art(fanart))">$INFO[Container(510).ListItem.Art(fanart)]</value>
</variable>
<variable name="Widget_Plot">
<value condition="!IsEmpty(Container(510).ListItem.Plot)">$INFO[Container(510).ListItem.Plot]</value>
</variable>
<variable name="Widget_TVShowTitle">
<value condition="!IsEmpty(Container(510).ListItem.TVShowTitle)">$INFO[Container(510).ListItem.TVShowTitle]</value>
</variable>
<variable name="Widget_Genre">
<value condition="!IsEmpty(Container(510).ListItem.Genre)">$INFO[Container(510).ListItem.Genre]</value>
</variable>
<variable name="Widget_Rating">
<value condition="!IsEmpty(Container(510).ListItem.Rating)">$INFO[Container(510).ListItem.Rating]</value>
</variable>
1. I noticed in debug log Kodi is caching panel thumbs from my local thumbnails userdata...
I'd assume thumbs took longest to load because all other infos (plot, rating, title, etc) are already loaded before thumbs
Is there anyway i could force it to direct listing or any other methods to generate thumbs from my library?
I have generated all posters and fanart for each of my item in library using filebot..It seems to be faster for my case...
2. Code-wise is there anything that can be optimized to reduce the lag?
I haven't completely understood dynamic listing so there might be something i missed..
Almost forgot, the client is win 7 and my nas is Ubuntu 12.02..
I'm planning to use diskless scheme, not mysql, so I can't use texture cache either..( I have discussed it in texture cache thread)
Thanks before