![]() |
Solved Need help speeding up Dynamic List + Smart Playlist - Printable Version Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12) --- Thread: Solved Need help speeding up Dynamic List + Smart Playlist (/showthread.php?tid=239886) |
Need help speeding up Dynamic List + Smart Playlist - denywinarto - 2015-09-23 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 Code: <include name="mf_contentvpl1"> IncludeVIPMenu.xml Code: <item id="31"> IncludeVariables.xml Code: 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 RE: Need help speeding up Dynamic List + Smart Playlist - denywinarto - 2015-09-24 Anyone? Or is my library too big and this is the maximum capabilities of Kodi? RE: Need help speeding up Dynamic List + Smart Playlist - Hitcher - 2015-09-24 Have you also limited the amount of items in the actual playlists? RE: Need help speeding up Dynamic List + Smart Playlist - denywinarto - 2015-09-24 (2015-09-24, 12:32)Hitcher Wrote: Have you also limited the amount of items in the actual playlists? Hmm.. never thought about it.. I tested it, i limit all of them to 12, but the thumbs still showing up late.. just like in the vid other info labels showing up quicker.. Maybe i'm not listing the thumbs correctly in the code? Is it possible to do something like : Code: <content target="video">panel thumbs</content> Can't find any skins that use this.. I think the wiki could use some samples.. RE: Need help speeding up Dynamic List + Smart Playlist - denywinarto - 2015-09-25 Kinda figured out the thumbs part.. It's listitem.Art(poster) and listitem.Art(tvshow.poster) So i made a new variable.. Code: <variable name="Widget_Poster"> But it still doesn't cure the lag... Is my code structure already optimized for listing? Could it be i have too many playlists in the home menu? There are 32 playlists in total, 17 playlists for recently added based on library path 15 playlists for recommended items with ratings >6 But judging from Container.IsUpdating animation i think they are listing the playlist one at a time, so it shouldn't be this laggy.. am i correct? Was gonna add music playlists based on genre as well.. but if it's already this laggy i guess that's not a good idea ![]() RE: Need help speeding up Dynamic List + Smart Playlist - wyrm - 2015-09-25 Denywinarto, Have you tried Milhouse's artwork caching utility. I noticed from your video that things seem to speed up towards the end of the video, so it looks like you might see a benefit from making sure everything is cached before you try to display the icons. Wyrm (AppTV) RE: Need help speeding up Dynamic List + Smart Playlist - denywinarto - 2015-09-25 (2015-09-25, 04:05)wyrm Wrote: Denywinarto, At first i thought the script is sctrictly for MySQL usage, I'm using diskless, not mysql so i thought it's useless for me.. but after reading the docs further i noticed it can also be used for local usage.. testing it now but i'm stuck at the part where it's asking for webserver.. I'll see if i can figure it out RE: Need help speeding up Dynamic List + Smart Playlist - Hitcher - 2015-09-25 (2015-09-25, 03:30)denywinarto Wrote: Kinda figured out the thumbs part.. It's listitem.Art(poster) and listitem.Art(tvshow.poster)It's probably the amount if playlists but to be sure try removing the code for all but 1 or 2 of them and see if that makes a difference. RE: Need help speeding up Dynamic List + Smart Playlist - denywinarto - 2015-09-26 (2015-09-25, 10:54)Hitcher Wrote:(2015-09-25, 03:30)denywinarto Wrote: Kinda figured out the thumbs part.. It's listitem.Art(poster) and listitem.Art(tvshow.poster)It's probably the amount if playlists but to be sure try removing the code for all but 1 or 2 of them and see if that makes a difference. Nah, won't need it, Wyrm was right i need texture caching, it's now alot faster than before ![]() Well there's still small lag but the speed now it's acceptable I was under impression the script is for MySql usage only, that's why i never tried it. I'll mark it as solved. Thanks guys ![]() |