Solved Run function when video is stopped
#1
I know there is a way to run it when the video is started, similar to this :
python:
xbmcplugin.setResolvedUrl(addon_handle, True, listitem=play_item)   
and
mode = args.get('mode', None)

I would like to know is there a way to run a function when video is stopped?
Reply
#2
You need to use the xbmc.Player interface and use the respective callbacks onAVStarted, onPlaybackStopped: 
https://codedocs.xyz/xbmc/xbmc/group__py...r_c_b.html
Reply

Logout Mark Read Team Forum Stats Members Help
Run function when video is stopped0