aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeak3d <pfau@peak3d.de>2017-08-04 23:37:54 +0200
committerpeak3d <pfau@peak3d.de>2017-08-05 14:24:44 +0200
commit0cbf10850345c43b5c786c92262507b39054aaaa (patch)
treef4ee25edabd2dda7e1fb927b57014f4d6cd1b024
parentb6bf39c8e622ee6a5f97bcdcfeac37db00c225fc (diff)
[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