How to load Cast Information on re-open of Information screen
#1
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:

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
Reply

Logout Mark Read Team Forum Stats Members Help
How to load Cast Information on re-open of Information screen0