2009-02-04, 14:27
Not sure if this is a bug or me approaching it in the wrong way.
In a Plugin, if I add a single video source (could be url or local filename) to a new xbmc video playlist, it plays fine when play() called.
But, if I add several video files to the Playlist, it hangs when calling play(). The last output to the log is a reference to
INFO: Loading skin file: DialogProgress.xml
From a script playing multiple files, first added to a playlist, works as expected.
This happens on latest xbox and windows xbmc.
So.
1) Initialise with:
xbmcPlaylist = xbmc.PlayList(xbmc.PLAYLIST_VIDEO)
xbmcPlaylist.clear()
2) Add several sources using:
xbmcPlaylist.add(source, li)
3) Playback:
xbmc.Player(xbmc.PLAYER_CORE_MPLAYER).play(xbmcPlaylist)
Any ideas ?
In a Plugin, if I add a single video source (could be url or local filename) to a new xbmc video playlist, it plays fine when play() called.
But, if I add several video files to the Playlist, it hangs when calling play(). The last output to the log is a reference to
INFO: Loading skin file: DialogProgress.xml
From a script playing multiple files, first added to a playlist, works as expected.
This happens on latest xbox and windows xbmc.
So.
1) Initialise with:
xbmcPlaylist = xbmc.PlayList(xbmc.PLAYLIST_VIDEO)
xbmcPlaylist.clear()
2) Add several sources using:
xbmcPlaylist.add(source, li)
3) Playback:
xbmc.Player(xbmc.PLAYER_CORE_MPLAYER).play(xbmcPlaylist)
Any ideas ?