Permalink
Browse files

initialize the music and video thumbloaders in the recently added job…

… to take advantage of database and art caching
  • Loading branch information...
1 parent 4e23028 commit a19d329bf062d5d5ca50a2ccd11bd986c35a3403 Jonathan Marshall committed Oct 13, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 xbmc/utils/RecentlyAddedJob.cpp
@@ -55,6 +55,7 @@ bool CRecentlyAddedJob::UpdateVideo()
CFileItemList items;
CVideoDatabase videodatabase;
CVideoThumbLoader loader;
+ loader.Initialize();
videodatabase.Open();
@@ -213,6 +214,7 @@ bool CRecentlyAddedJob::UpdateMusic()
CFileItemList musicItems;
CMusicDatabase musicdatabase;
CMusicThumbLoader loader;
+ loader.Initialize();
musicdatabase.Open();

0 comments on commit a19d329

Please sign in to comment.