diff options
author | CastagnaIT <gottardo.stefano.83@gmail.com> | 2024-07-11 10:05:03 +0200 |
---|---|---|
committer | CastagnaIT <gottardo.stefano.83@gmail.com> | 2024-07-11 13:58:54 +0200 |
commit | 839581a701490d7a0679ff233536359508fd8297 (patch) | |
tree | e21d9a497d7fcbb3445e43b3127017a569ac8246 | |
parent | 7e5bb325bda3f121709578cf61f6fdfcd665260b (diff) |
[FileItem] Fix mimetype content lookup
-rw-r--r-- | xbmc/FileItem.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/xbmc/FileItem.cpp b/xbmc/FileItem.cpp index 5623e9a7e1..3898d14e84 100644 --- a/xbmc/FileItem.cpp +++ b/xbmc/FileItem.cpp @@ -1801,7 +1801,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) @@ -1871,7 +1874,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) |