Skip to content

Commit

Permalink
Merge pull request #16422 from enen92/addonbackport
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 7a48397 + 06593e8 commit 862f940
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xbmc/PlayListPlayer.cpp
Expand Up @@ -898,7 +898,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 862f940

Please sign in to comment.