Getting errors from xbmc.player
#1
So I want to catch errors when using xbmc.Player().play (dead video link, unsupported video etc) I've tried putting within a try except but this doesn't seem to work.

I did try running a while loop under the play command while xbmc.Player().isPlaying() and then putting up an alert if isPlaying wasn't true, but this didn't seem to work either.

It seems like it should be a fairly easy thing to try and do, but for the life of me I can't figure it out, I've started to look into the JSON -RPC API on the off chance there's something in there that might come in handy, but again I've not spotted anything, so any pointers would be greatly appreciated.
Reply

Logout Mark Read Team Forum Stats Members Help
Getting errors from xbmc.player0