Permalink
Browse files

[thumbs] remove unnecessary calls to SetMusicThumb from JSON-RPC/Anno…

…unceManager
  • Loading branch information...
1 parent 852da99 commit dad0f19f9f443a9af146085ea58f5ea42b2d3c12 Jonathan Marshall committed Jun 26, 2012
Showing with 0 additions and 3 deletions.
  1. +0 −1 xbmc/interfaces/AnnouncementManager.cpp
  2. +0 −2 xbmc/interfaces/json-rpc/AudioLibrary.cpp
@@ -162,7 +162,6 @@ void CAnnouncementManager::Announce(AnnouncementFlag flag, const char *sender, c
if (musicdatabase.GetSongByFileName(item->GetPath(), song, item->m_lStartOffset))
{
item->GetMusicInfoTag()->SetSong(song);
- item->SetMusicThumb();
id = item->GetMusicInfoTag()->GetDatabaseId();
}
@@ -453,7 +453,6 @@ bool CAudioLibrary::FillFileItem(const CStdString &strFilename, CFileItem &item)
return false;
item = CFileItem(strFilename, album);
- item.SetMusicThumb();
}
else
{
@@ -522,5 +521,4 @@ bool CAudioLibrary::FillFileItemList(const CVariant &parameterObject, CFileItemL
void CAudioLibrary::FillAlbumItem(const CAlbum &album, const CStdString &path, CFileItemPtr &item)
{
item = CFileItemPtr(new CFileItem(path, album));
- item->SetMusicThumb();
}

0 comments on commit dad0f19

Please sign in to comment.