Permalink
Browse files

use the video thumb loader for video art in the infomanager - fixes #…

…13042
  • Loading branch information...
1 parent 9ab5bd2 commit ac762645f4b9aa4e233794344daf81a32f6bad0e Jonathan Marshall committed May 22, 2012
Showing with 2 additions and 6 deletions.
  1. +2 −6 xbmc/GUIInfoManager.cpp
View
@@ -3581,12 +3581,8 @@ void CGUIInfoManager::SetCurrentMovie(CFileItem &item)
// Find a thumb for this file.
if (!item.HasThumbnail())
{
- if (!CVideoThumbLoader::FillThumb(item))
- {
- CStdString thumb = CVideoThumbLoader::GetEmbeddedThumbURL(item);
- if (CTextureCache::Get().HasCachedImage(thumb))
- item.SetThumbnailImage(thumb);
- }
+ CVideoThumbLoader loader;
+ loader.LoadItem(m_currentFile);
}
// find a thumb for this stream

0 comments on commit ac76264

Please sign in to comment.