2012-09-14, 11:38
Hi,
My setup is a mysql one, and retrieval of the thumbnail in JSON list requests (e.g. GetMovies) is nightmarishly slow.
It all comes down to CVideoThumbLoader::FillLibraryArt, which is called for every single item in the list and that opens and closes up to 4 db connections each time!
I'm writing a patch which would include the thumbnails in the DB views via a LEFT JOIN to "art". I assume here that, in most cases, retrieval of movies, tvshows or episodes (at least) would also need the thumnail.
Would this patch be acceptable?
My setup is a mysql one, and retrieval of the thumbnail in JSON list requests (e.g. GetMovies) is nightmarishly slow.
It all comes down to CVideoThumbLoader::FillLibraryArt, which is called for every single item in the list and that opens and closes up to 4 db connections each time!
I'm writing a patch which would include the thumbnails in the DB views via a LEFT JOIN to "art". I assume here that, in most cases, retrieval of movies, tvshows or episodes (at least) would also need the thumnail.
Would this patch be acceptable?