projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f53755a
)
changed: allow calling non-plugin extension points as plugins
author
spiff
<spiff@xbmc.org>
Sun, 2 Jun 2013 16:34:57 +0000
(18:34 +0200)
committer
spiff
<spiff@xbmc.org>
Mon, 3 Jun 2013 09:43:12 +0000
(11:43 +0200)
xbmc/filesystem/PluginDirectory.cpp
patch
|
blob
|
history
diff --git
a/xbmc/filesystem/PluginDirectory.cpp
b/xbmc/filesystem/PluginDirectory.cpp
index
59e0aa4
..
d3acb91
100644
(file)
--- a/
xbmc/filesystem/PluginDirectory.cpp
+++ b/
xbmc/filesystem/PluginDirectory.cpp
@@
-91,7
+91,8
@@
bool CPluginDirectory::StartScript(const CStdString& strPath, bool retrievingDir
{
CURL url(strPath);
- if (!CAddonMgr::Get().GetAddon(url.GetHostName(), m_addon, ADDON_PLUGIN) && !CAddonInstaller::Get().PromptForInstall(url.GetHostName(), m_addon))
+ if (!CAddonMgr::Get().GetAddon(url.GetHostName(), m_addon, ADDON_UNKNOWN) &&
+ !CAddonInstaller::Get().PromptForInstall(url.GetHostName(), m_addon))
{
CLog::Log(LOGERROR, "Unable to find plugin %s", url.GetHostName().c_str());
return false;