Numerical dialog on top of xbmc.Player()?
#1
I'm using

Code:
xbmc.Player().play("http://server")

to play a stream.

I want the user to be able to push a button (for example, "s") and receive this dialog ON TOP of the xbmc.Player().

Code:
nr = xbmcgui.Dialog().numeric(0,"Enter a number")

Currently, my onAction looks like this:

Code:
def onAction(self, action):
        if action == 10: # ACTION_PREVIOUS_MENU
            self.close()
        elif action == 9: # ACTION_PARENT_DIR
            nr = xbmcgui.Dialog().numeric(0,"Enter a number")

When I press Backspace when the stream is playing, I get back to a black screen. When I press backspace one more time (at this black screen which is the window created by my script) I get the correct dialogbox.

Is there anyway to make the dialog box appear on top of the player instead? Also, if I pressed backspace and would like to go back to the player (which is still on in the background somehow), how would I do that?

Thanks in advance!
Reply

Logout Mark Read Team Forum Stats Members Help
Numerical dialog on top of xbmc.Player()?0