Permalink
Browse files

we want to import episode art for episodes, not tvshow art. fixes #13264

.
  • Loading branch information...
Jonathan Marshall
Jonathan Marshall committed Oct 12, 2012
1 parent 3f61c86 commit 6d4359525976e5f21f2a6aaef1562033f11938aa
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/video/VideoDatabase.cpp
@@ -8732,7 +8732,7 @@ void CVideoDatabase::ImportFromXML(const CStdString &path)
info.Load(episode);
CFileItem item(info);
map<string, string> artwork;
- if (ImportArtFromXML(movie->FirstChild("art"), artwork))
+ if (ImportArtFromXML(episode->FirstChild("art"), artwork))
item.SetArt(artwork);
scanner.AddVideo(&item,CONTENT_TVSHOWS, false, false, showItem.GetVideoInfoTag(), true);
episode = episode->NextSiblingElement("episodedetails");

0 comments on commit 6d43595

Please sign in to comment.