aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xbmc/FileItem.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/xbmc/FileItem.cpp b/xbmc/FileItem.cpp
index 5065b51c46..2776627018 100644
--- a/xbmc/FileItem.cpp
+++ b/xbmc/FileItem.cpp
@@ -1587,7 +1587,10 @@ void CFileItem::UpdateInfo(const CFileItem &item, bool replaceLabels /*=true*/)
if (!item.GetArt().empty())
SetArt(item.GetArt());
AppendProperties(item);
- UpdateMimeType();
+
+ SetContentLookup(item.m_doContentLookup);
+ SetMimeType(item.m_mimetype);
+ UpdateMimeType(m_doContentLookup);
}
void CFileItem::MergeInfo(const CFileItem& item)
@@ -1657,7 +1660,10 @@ void CFileItem::MergeInfo(const CFileItem& item)
SetArt(item.GetArt());
}
AppendProperties(item);
- UpdateMimeType();
+
+ SetContentLookup(item.m_doContentLookup);
+ SetMimeType(item.m_mimetype);
+ UpdateMimeType(m_doContentLookup);
}
void CFileItem::SetFromVideoInfoTag(const CVideoInfoTag &video)