playlist support
#1
Hi,
I would like to create a playlist, seems like the code works but when it runs, it bufferize the first url and then it freeze (like it is busy downloading or something)

Code:
playlist = xbmc.PlayList( xbmc.PLAYLIST_VIDEO )
playlist.clear()

listitem1 = xbmcgui.ListItem('RTBF-1-3')
listitem1.setInfo('video', {'Title': 'RTBF-1-3h', 'Genre': 'News'})
playlist.add( URL[0], listitem1 )

listitem2 = xbmcgui.ListItem('RTBF-2-3')
listitem2.setInfo('video', {'Title': 'RTBF-2-3h', 'Genre': 'News'})
playlist.add( URL[1], listitem2 )

listitem3 = xbmcgui.ListItem('RTBF-3-3')
listitem3.setInfo('video', {'Title': 'RTBF-3-3h', 'Genre': 'News'})
playlist.add( URL[2], listitem3 )

xbmcPlayer = xbmc.Player().play(playlist)

Can you tell what I am missing?
Should I create a file playlist before playing it?

thanks,
Reply
#2
anyone an idea about the problem?
Reply

Logout Mark Read Team Forum Stats Members Help
playlist support0