2023-02-27, 23:07
So I have 5000 "music videos" (technically these are FLAC music albums ripped from CD's then regenerated as .mov videos so I can use lossless ALAC).
Assume a structure of genre/alpha/artist/album.mov (where alpha is A,B,C,D etc)
Technically there is no metadata associated with the MOV files.. so no scanning/scrapping involved
Each artist subdir has the album MOV's plus a thumb.jpg image that is the album cover art. I also use banner.png, fanart.png and poster.jpg that I programmatically generate to store images of such info as the track list, musicians on the album etc. that I can display in my custom skin.
What I notice is when browsing, even though the .kodi/userdata/Thumbnails is fully populated, that displaying the album art under a specific artist takes say two or three seconds to display the first row of albums. This is irrespective of how many albums an artist has... one with 3 albums is slow... you can see each cover art image being display serially, one after the other.
Then if I go elsewhere and then come back to say the first artist I browsed, the cover art display is much snappier (assuming its now in the Kodi cache some where)
This slowness makes no sense to me. All the images are cached in .kodi/userdata/Thumbnails so it shouldnt take Kodi that long to read some small jpg's (say 8k-12k in size each) off an ssd drive on a system with 16GB of memory and a recent I7 cpu. I have tested this on various systems as my videos are stored on a USB 3.1 external drive encloser (noting not a NAS). I can push 400MB per second writing to this drive so its not a dog.
I am using the preloaditems tag but this issue is related to the first 8 albums displayed in the panel. When paging down, all subsequent artwork is displayed quickly.
Is there some tweak in the Kodi setup (I have looked) or is there some way to pre-load the .kodi/userdata/Thumbnails images into the Kodi cache to speed this up... its really annoying.
Thanks,
Bluck
Assume a structure of genre/alpha/artist/album.mov (where alpha is A,B,C,D etc)
Technically there is no metadata associated with the MOV files.. so no scanning/scrapping involved
Each artist subdir has the album MOV's plus a thumb.jpg image that is the album cover art. I also use banner.png, fanart.png and poster.jpg that I programmatically generate to store images of such info as the track list, musicians on the album etc. that I can display in my custom skin.
What I notice is when browsing, even though the .kodi/userdata/Thumbnails is fully populated, that displaying the album art under a specific artist takes say two or three seconds to display the first row of albums. This is irrespective of how many albums an artist has... one with 3 albums is slow... you can see each cover art image being display serially, one after the other.
Then if I go elsewhere and then come back to say the first artist I browsed, the cover art display is much snappier (assuming its now in the Kodi cache some where)
This slowness makes no sense to me. All the images are cached in .kodi/userdata/Thumbnails so it shouldnt take Kodi that long to read some small jpg's (say 8k-12k in size each) off an ssd drive on a system with 16GB of memory and a recent I7 cpu. I have tested this on various systems as my videos are stored on a USB 3.1 external drive encloser (noting not a NAS). I can push 400MB per second writing to this drive so its not a dog.
I am using the preloaditems tag but this issue is related to the first 8 albums displayed in the panel. When paging down, all subsequent artwork is displayed quickly.
Is there some tweak in the Kodi setup (I have looked) or is there some way to pre-load the .kodi/userdata/Thumbnails images into the Kodi cache to speed this up... its really annoying.
Thanks,
Bluck