diff options
author | Rainer Hochecker <fernetmenta@online.de> | 2018-04-15 16:49:11 +0200 |
---|---|---|
committer | Rainer Hochecker <fernetmenta@online.de> | 2018-04-15 16:49:11 +0200 |
commit | 983ca93c373c13940c5a389a18b123d502e52904 (patch) | |
tree | 4f853a43032030298bbc6242b8224717b8ddc1b6 /xbmc/filesystem/PluginDirectory.cpp | |
parent | 5e3b3260eba2273cbddacf23cbf8e613eb671382 (diff) |
more use dynPath instead of changing path (id)
Diffstat (limited to 'xbmc/filesystem/PluginDirectory.cpp')
-rw-r--r-- | xbmc/filesystem/PluginDirectory.cpp | 3 |
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); |