projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dadc488
)
changed: When checking for eg. user thumbs just check whether it's either a folder...
author
arnova
<arnova@void.org>
Tue, 26 Feb 2013 11:57:42 +0000
(12:57 +0100)
committer
arnova
<arnova@void.org>
Mon, 4 Mar 2013 06:51:08 +0000
(07:51 +0100)
xbmc/video/VideoThumbLoader.cpp
patch
|
blob
|
history
diff --git
a/xbmc/video/VideoThumbLoader.cpp
b/xbmc/video/VideoThumbLoader.cpp
index
bed4218
..
6075ac4
100644
(file)
--- a/
xbmc/video/VideoThumbLoader.cpp
+++ b/
xbmc/video/VideoThumbLoader.cpp
@@
-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