Permalink
Browse files

[embedded art] copy embedded art in underlying media item to cue shee…

…t items
  • Loading branch information...
1 parent fd0f626 commit 8f9ba90e9dc5c18a7c184d57fe85832274c34d0c Jonathan Marshall committed Jun 8, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 xbmc/FileItem.cpp
View
@@ -1992,6 +1992,8 @@ void CFileItemList::FilterCueItems()
SYSTEMTIME dateTime;
tag.GetReleaseDate(dateTime);
if (dateTime.wYear) song.iYear = dateTime.wYear;
+ if (song.embeddedArt.empty() && !tag.GetCoverArtInfo().empty())
+ song.embeddedArt = tag.GetCoverArtInfo();
}
if (!song.iDuration && tag.GetDuration() > 0)
{ // must be the last song

0 comments on commit 8f9ba90

Please sign in to comment.