Determine last item in playlist?
#1
I would like the ability to inject some code before the last video item in a playlist plays. Is this possible?
Reply
#2
Bump. Anyone?
Reply
#3
I think I'm going to rephrase my question because I'm uncovering more info as I read the wikis..

My initial intent was to be able to determine the last item in a playlist that is currently playing and run some code. My strategy has now changed to possibly creating two playlists with the 2nd playlist containing the last item to be played. Given this scenario, if I make two calls as follows will it make them in succession or both at the same time?

xbmc.Player().play( playlist1 )
...some code here
xbmc.Player().play( playlist2 )
Reply

Logout Mark Read Team Forum Stats Members Help
Determine last item in playlist?0