Continuous playback for add-on generated directory listing
#1
My add-on generates a directory listing of YouTube videos. After a video completes, the user is taken back to the directory listing. Clicking the "next" button during playback brings up the "Can't find a next item to play" playlist error.

Is there a way to make the next video in the my add-on's listing play automatically after the current one finishes?
Reply
#2
Haven't used a playlist before but from the docs at http://mirrors.xbmc.org/docs/python-docs...l#PlayList I imagine it would look something like this:

Code:
import xbmc
playlist = xbmc.Playlist()
# Add all the urls using playlist.add(some_url)
player = xbmc.Player()
player.playPlaylist(playlist)
Reply
#3
Thank you, you got me on the right path with this one.
Reply

Logout Mark Read Team Forum Stats Members Help
Continuous playback for add-on generated directory listing0