2004-02-24, 18:35
hi,
i want to have a dialog that appears after mediaplay has finished.
i tried this:
but the dialog comes first and after an selection the file plays.
i want that the mpg finishes and then the dialog appears.
thx for help
scooba77
i want to have a dialog that appears after mediaplay has finished.
i tried this:
Quote:import xbmc, xbmcgui
dialog = xbmcgui.dialog()
list = ['next','cancel']
xbmc.mediaplay("smb://192.168.66.7/videoz/01.mpg")
selected = dialog.select('select an item', list)
if selected == 0:
xbmc.mediaplay("smb://192.168.66.7/videoz/02.mpg")
but the dialog comes first and after an selection the file plays.
i want that the mpg finishes and then the dialog appears.
thx for help
scooba77