[mythtv-users] MythGallery: selecting a favorite picture as directory thumb

Paul Harrison mythtv at sky.com
Wed Nov 5 15:49:54 UTC 2014


On 05/11/14 14:18, Roger Siddons wrote:
>
> Master is currently using the services API. I'm running a version that 
> uses the internal protocol but I've no idea if that affects its speed.
>
> I'm assume you're talking about ~28 folders, each with 4 thumbnails. I 
> notice its sluggish when the BE is busy because the thumbnail reads 
> are competing with threadedfilewriter. But with an idle BE I see it 
> fill a lot quicker.
>
> However that should only be an issue once, after a scan, as the FE 
> fills its thumbnail cache in ~/.mythtv/cache/themecache/<theme>.
> Thereafter I see them load instantaneously from the FE cache.
>
>

The problem seems to be the call to GalleryViewHelper::LoadTreeData() 
which causes a swarm of SQL queries and Service API calls. Some 
directories are taking 30 seconds to load here.

Paul H.


More information about the mythtv-users mailing list