2020-10-05, 04:12
Hello,
I want the dialog in this code to be displayed when media is NOT playing and when "Firstrun" is done. I think there's a problem with my code because the message is still displaying when media is playing. Can someone assist:
Thank you
I want the dialog in this code to be displayed when media is NOT playing and when "Firstrun" is done. I think there's a problem with my code because the message is still displaying when media is playing. Can someone assist:
Code:
if xbmc.getCondVisibility('String.IsEqual(Skin.String(firstrun),done)') or not xmbc.getCondVisibility('Player.HasMedia'):
try:
stat, file_name = init_update()
if stat:
resp = xbmcgui.Dialog().yesno("Auto Update", "Update downloaded successfully. Do you want to initiate update?","","","Remind in 24hrs","Update Now")
Thank you