2023-02-18, 05:39
@scott967
have you checked for an onplaybackfailed event?
i found one used here https://github.com/plexinc/plex-for-kodi.../player.py (line 53) but i cant find official documentation for the function on the kodi wiki
if that doesnt exist it should be requested, it would have use in this situation
otherwise i could suggest a wait for maybe 1 second then check player.isPlaying() after starting playback then if its not then playback failed
have you checked for an onplaybackfailed event?
i found one used here https://github.com/plexinc/plex-for-kodi.../player.py (line 53) but i cant find official documentation for the function on the kodi wiki
if that doesnt exist it should be requested, it would have use in this situation
otherwise i could suggest a wait for maybe 1 second then check player.isPlaying() after starting playback then if its not then playback failed