Closed zach-morris closed 5 years ago
Without seeing the preceding log lines, it looks like RetroPlayer was already active, so even though it chose VP, PR got the play command. I ran into this problem in reverse, when YouTube videos were playing I couldn't launch a game. Is this the case for your issue? I'll look into it, and possibly hack in a fix, but we may be limited by Kodi's architecture.
I can recreate it by turning on autoplay trailers in IARL. After launching a game, then exiting it, then browsing for others, and autoplay for a youtube URL is called, it looks like this error can be triggered. It's not 100% though, and I can't fully grasp how to reliably make it happen.
Maybe this can be fixed on the addon side? Is there a way to tell xbmc.Player().play() which playercore to try without looking at all the rules?
I think I was able to fix this on my end by adding xbmc.Player().stop() in front of everywhere there's a xbmc.Player().play()
Version tested: RetroPlayer 18 alpha1 2018-02-11
To Recreate: Attempt to play youtube video in youtube addon. Error window pops up stating 'Failed to Play Game'
Video URL in the log below was truncated for brevity, but the error occurs regardless of the video you choose.