aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn Kaijser <martijn@xbmc.org>2017-08-05 17:06:56 +0200
committerGitHub <noreply@github.com>2017-08-05 17:06:56 +0200
commit3aa19b01d200843cb3c2f15cba621b829f735266 (patch)
treef4ee25edabd2dda7e1fb927b57014f4d6cd1b024
parentb6bf39c8e622ee6a5f97bcdcfeac37db00c225fc (diff)
parent0cbf10850345c43b5c786c92262507b39054aaaa (diff)
Merge pull request #12633 from peak3d/contentlookupKrypton17.4rc1-Krypton
[ADDON] Transfer ContentLookup properly
-rw-r--r--xbmc/filesystem/PluginDirectory.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/xbmc/filesystem/PluginDirectory.cpp b/xbmc/filesystem/PluginDirectory.cpp
index 76eaf43174..38e7d37d7b 100644
--- a/xbmc/filesystem/PluginDirectory.cpp
+++ b/xbmc/filesystem/PluginDirectory.cpp
@@ -182,6 +182,7 @@ bool CPluginDirectory::GetPluginResult(const std::string& strPath, CFileItem &re
resultItem.SetProperty("original_listitem_url", resultItem.GetPath());
resultItem.SetPath(newDir.m_fileResult->GetPath());
resultItem.SetMimeType(newDir.m_fileResult->GetMimeType());
+ resultItem.SetContentLookup(newDir.m_fileResult->ContentLookup());
resultItem.UpdateInfo(*newDir.m_fileResult);
if (newDir.m_fileResult->HasVideoInfoTag() && newDir.m_fileResult->GetVideoInfoTag()->m_resumePoint.IsSet())
resultItem.m_lStartOffset = STARTOFFSET_RESUME; // resume point set in the resume item, so force resume