Skip to content

Commit

Permalink
Merge pull request #16405 from enen92/jsonerror
Browse files Browse the repository at this point in the history
[PlaylistPlayer] Do not attempt to further resolve plugin paths for failing entries
  • Loading branch information
notspiff committed Jul 31, 2019
2 parents 22f17fb + 7c44e78 commit 6aba73b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xbmc/PlayListPlayer.cpp
Expand Up @@ -899,7 +899,8 @@ void PLAYLIST::CPlayListPlayer::OnApplicationMessage(KODI::MESSAGING::ThreadMess
// resolve only for a maximum of 5 times to avoid deadlocks (plugin:// paths can resolve to plugin:// paths)
for (int i = 0; URIUtils::IsPlugin(item->GetDynPath()) && i < 5; ++i)
{
XFILE::CPluginDirectory::GetPluginResult(item->GetDynPath(), *item, true);
if (!XFILE::CPluginDirectory::GetPluginResult(item->GetDynPath(), *item, true))
return;
}
if (item->IsAudio() || item->IsVideo())
Play(item, pMsg->strParam);
Expand Down

0 comments on commit 6aba73b

Please sign in to comment.