Function for playlist end
#1
Is there a function in Kodi for when a playlist ends (onPlayListEnded)?

onPlayBackStarted
onPlayBackStopped

For example you queue up 3 videos and I'd like to detect when the 3 videos have finished playing - onPlayBackStopped (works fine if it is only a single video file).

Thanks
Reply
#2
You can use `xbmc.playlist()`: `getposition` and `size` combined with `onPlayBackStopped` or `onPlayBackEnded` to figure out when the playlist is finished.

https://xbmc.github.io/docs.kodi.tv/mast..._list.html
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Help?
Reply

Logout Mark Read Team Forum Stats Members Help
Function for playlist end0