diff options
-rw-r--r-- | xbmc/FileItem.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xbmc/FileItem.cpp b/xbmc/FileItem.cpp index 39b94928c6..925d5607f3 100644 --- a/xbmc/FileItem.cpp +++ b/xbmc/FileItem.cpp @@ -1506,6 +1506,12 @@ bool CFileItem::IsSamePath(const CFileItem *item) const return (item->GetProperty("item_start") == GetProperty("item_start")); return true; } + if (HasMusicInfoTag() && item->HasMusicInfoTag()) + { + if (GetMusicInfoTag()->GetDatabaseId() != -1 && item->GetMusicInfoTag()->GetDatabaseId() != -1) + return ((GetMusicInfoTag()->GetDatabaseId() == item->GetMusicInfoTag()->GetDatabaseId()) && + (GetMusicInfoTag()->GetType() == item->GetMusicInfoTag()->GetType())); + } if (HasVideoInfoTag() && item->HasVideoInfoTag()) { if (GetVideoInfoTag()->m_iDbId != -1 && item->GetVideoInfoTag()->m_iDbId != -1) |