Permalink
Browse files

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...
1 parent ac76264 commit c7cf16cdb3391d6492548aa05751f400449a9952 Jonathan Marshall committed May 22, 2012
Showing with 1 addition and 10 deletions.
  1. +0 −9 xbmc/video/windows/GUIWindowVideoNav.cpp
  2. +1 −1 xbmc/video/windows/GUIWindowVideoNav.h
@@ -267,15 +267,6 @@ CStdString CGUIWindowVideoNav::GetQuickpathName(const CStdString& strPath) const
}
}
-void CGUIWindowVideoNav::OnItemLoaded(CFileItem* pItem)
-{
- /* even though the background loader is running multiple threads and we could,
- be acting on someone else's flag, we don't care who invalidates the cache
- only that it is done. We also don't care if it is done multiple times due
- to a race between multiple threads here at the same time */
- CUtil::DeleteVideoDatabaseDirectoryCache();
-}
-
bool CGUIWindowVideoNav::GetDirectory(const CStdString &strDirectory, CFileItemList &items)
{
CFileItem directory(strDirectory, true);
@@ -48,7 +48,7 @@ class CGUIWindowVideoNav : public CGUIWindowVideoBase
*/
void LoadVideoInfo(CFileItemList &items);
- virtual void OnItemLoaded(CFileItem* pItem);
+ virtual void OnItemLoaded(CFileItem* pItem) {};
void OnLinkMovieToTvShow(int itemnumber, bool bRemove);
// override base class methods
virtual bool GetDirectory(const CStdString &strDirectory, CFileItemList &items);

0 comments on commit c7cf16c

Please sign in to comment.