Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

no need for deleting the videodb cache when running the video thumb l…

…oader as info from it is not stored in there anyway
  • Loading branch information...
commit c7cf16cdb3391d6492548aa05751f400449a9952 1 parent ac76264
authored May 23, 2012
9  xbmc/video/windows/GUIWindowVideoNav.cpp
@@ -267,15 +267,6 @@ CStdString CGUIWindowVideoNav::GetQuickpathName(const CStdString& strPath) const
267 267
   }
268 268
 }
269 269
 
270  
-void CGUIWindowVideoNav::OnItemLoaded(CFileItem* pItem)
271  
-{
272  
-  /* even though the background loader is running multiple threads and we could,
273  
-     be acting on someone else's flag, we don't care who invalidates the cache
274  
-     only that it is done.  We also don't care if it is done multiple times due
275  
-     to a race between multiple threads here at the same time */
276  
-  CUtil::DeleteVideoDatabaseDirectoryCache();
277  
-}
278  
-
279 270
 bool CGUIWindowVideoNav::GetDirectory(const CStdString &strDirectory, CFileItemList &items)
280 271
 {
281 272
   CFileItem directory(strDirectory, true);
2  xbmc/video/windows/GUIWindowVideoNav.h
@@ -48,7 +48,7 @@ class CGUIWindowVideoNav : public CGUIWindowVideoBase
48 48
    */
49 49
   void LoadVideoInfo(CFileItemList &items);
50 50
 
51  
-  virtual void OnItemLoaded(CFileItem* pItem);
  51
+  virtual void OnItemLoaded(CFileItem* pItem) {};
52 52
   void OnLinkMovieToTvShow(int itemnumber, bool bRemove);
53 53
   // override base class methods
54 54
   virtual bool GetDirectory(const CStdString &strDirectory, CFileItemList &items);

0 notes on commit c7cf16c

Please sign in to comment.
Something went wrong with that request. Please try again.