Skip to content

Commit

Permalink
Merge pull request xbmc#6539 from tamland/plugin_ext_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkins4kodi committed Feb 26, 2015
2 parents 96e0552 + aeb7613 commit 52b0f6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/view/GUIViewState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ CGUIViewStateFromItems::CGUIViewStateFromItems(const CFileItemList &items) : CGU
{
CURL url(items.GetPath());
AddonPtr addon;
if (CAddonMgr::Get().GetAddon(url.GetHostName(),addon) && addon)
if (CAddonMgr::Get().GetAddon(url.GetHostName(), addon, ADDON_PLUGIN))
{
PluginPtr plugin = std::static_pointer_cast<CPluginSource>(addon);
if (plugin->Provides(CPluginSource::AUDIO))
Expand Down

0 comments on commit 52b0f6d

Please sign in to comment.