aboutsummaryrefslogtreecommitdiff
path: root/xbmc/filesystem/PluginDirectory.cpp
diff options
context:
space:
mode:
authorRainer Hochecker <fernetmenta@online.de>2018-04-17 07:40:08 +0200
committerGitHub <noreply@github.com>2018-04-17 07:40:08 +0200
commit940c58faedccd99f6f73d358c1d413be4446f12f (patch)
tree67d883aa9b8aa8d99dc58fbb00b736b1e1634aaf /xbmc/filesystem/PluginDirectory.cpp
parent992b39364fdc7bc453e417ed6f95ef32f6180367 (diff)
parent983ca93c373c13940c5a389a18b123d502e52904 (diff)
Merge pull request #13771 from FernetMenta/plugin
more use dynPath instead of changing path (id)
Diffstat (limited to 'xbmc/filesystem/PluginDirectory.cpp')
-rw-r--r--xbmc/filesystem/PluginDirectory.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/xbmc/filesystem/PluginDirectory.cpp b/xbmc/filesystem/PluginDirectory.cpp
index d8aede2ade..24dbaf2af9 100644
--- a/xbmc/filesystem/PluginDirectory.cpp
+++ b/xbmc/filesystem/PluginDirectory.cpp
@@ -185,8 +185,7 @@ bool CPluginDirectory::GetPluginResult(const std::string& strPath, CFileItem &re
{ // update the play path and metadata, saving the old one as needed
if (!resultItem.HasProperty("original_listitem_url"))
resultItem.SetProperty("original_listitem_url", resultItem.GetPath());
- resultItem.SetPath(newDir.m_fileResult->GetPath());
- resultItem.SetDynPath(std::string());
+ resultItem.SetDynPath(newDir.m_fileResult->GetPath());
resultItem.SetMimeType(newDir.m_fileResult->GetMimeType());
resultItem.SetContentLookup(newDir.m_fileResult->ContentLookup());
resultItem.UpdateInfo(*newDir.m_fileResult);