Skip to content

Commit

Permalink
changed: When checking for eg. user thumbs just check whether it's ei…
Browse files Browse the repository at this point in the history
…ther a folder or a video file
  • Loading branch information
arnova committed Mar 4, 2013
1 parent dadc488 commit 3871162
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions xbmc/video/VideoThumbLoader.cpp
Expand Up @@ -211,11 +211,7 @@ bool CVideoThumbLoader::LoadItem(CFileItem* pItem)
{
FillLibraryArt(*pItem);

if (!pItem->GetVideoInfoTag()->m_type.empty() &&
pItem->GetVideoInfoTag()->m_type != "movie" &&
pItem->GetVideoInfoTag()->m_type != "tvshow" &&
pItem->GetVideoInfoTag()->m_type != "episode" &&
pItem->GetVideoInfoTag()->m_type != "musicvideo")
if (!pItem->IsVideo() && !pItem->m_bIsFolder)
{
m_database->Close();
return true; // nothing else to be done
Expand Down

0 comments on commit 3871162

Please sign in to comment.