Permalink
Browse files

fixes missing thumb in recently added songs

  • Loading branch information...
1 parent 76f766f commit 7bb063a21a0ceb3cf5f7cc7f32d7f5acdf7dbe30 Jonathan Marshall committed Jul 6, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 xbmc/utils/RecentlyAddedJob.cpp
@@ -223,7 +223,6 @@ bool CRecentlyAddedJob::UpdateMusic()
CStdString value;
value.Format("%i", i + 1);
- CStdString strThumb;
CStdString strRating;
CStdString strAlbum = item->GetMusicInfoTag()->GetAlbum();
CStdString strArtist = StringUtils::Join(item->GetMusicInfoTag()->GetArtist(), g_advancedSettings.m_musicItemSeparator);
@@ -238,7 +237,7 @@ bool CRecentlyAddedJob::UpdateMusic()
home->SetProperty("LatestSong." + value + ".Album" , strAlbum);
home->SetProperty("LatestSong." + value + ".Rating" , strRating);
home->SetProperty("LatestSong." + value + ".Path" , item->GetMusicInfoTag()->GetURL());
- home->SetProperty("LatestSong." + value + ".Thumb" , strThumb);
+ home->SetProperty("LatestSong." + value + ".Thumb" , item->GetThumbnailImage());
home->SetProperty("LatestSong." + value + ".Fanart" , item->GetProperty("fanart_image"));
}
}

0 comments on commit 7bb063a

Please sign in to comment.