2013-09-14, 22:00
Hi,
I would be very grateful of some assistance.
I have been working on an add-on, and I have a small bug.
If we start at the "Movie Information" Dialog and have code to
1) Close the dialogs
2) Play a video file
3) Re-open the dialogs
I find that it displays all the information expect from the previous selection except the Cast List.
If I exit out of the information dialog and then go back in it re-appears again.
My code is along these lines:
Any help would be great!
Thanks, Rob
I would be very grateful of some assistance.
I have been working on an add-on, and I have a small bug.
If we start at the "Movie Information" Dialog and have code to
1) Close the dialogs
2) Play a video file
3) Re-open the dialogs
I find that it displays all the information expect from the previous selection except the Cast List.
If I exit out of the information dialog and then go back in it re-appears again.
My code is along these lines:
Code:
infoDialogId = xbmcgui.getCurrentWindowDialogId();
listingWindow = xbmcgui.getCurrentWindowId()
xbmc.executebuiltin("Dialog.Close(all, true)")
# Switch the to root location as this can trigger some running plugins to stop
xbmc.executebuiltin("xbmc.ActivateWindow(home)")
# PLAY VIDEO
xbmc.executebuiltin("xbmc.ActivateWindow(" + str(listingWindow) + ")")
xbmc.executebuiltin("xbmc.ActivateWindow(" + str(infoDialogId) + ")")
Any help would be great!
Thanks, Rob