2009-03-27, 13:29
Hi,
when playing a movie or tv stream from a custom python script with xbmc.Player(), I would like to be able to catch some keyboard events ?
The pb is that the python script seems to be under the Player, and can't handle any event.
How can I proceed ?
I would like to play the next/prev item of my movie list (constructed with a WindowXML GUI), or to play a specific item when pressing some particular keyboard keys, and when already playing a file. In fact like using a TV remote (zapping with direct channel acces by their number, even if a channel is already playing)
Thanks in advance.
when playing a movie or tv stream from a custom python script with xbmc.Player(), I would like to be able to catch some keyboard events ?
The pb is that the python script seems to be under the Player, and can't handle any event.
How can I proceed ?
I would like to play the next/prev item of my movie list (constructed with a WindowXML GUI), or to play a specific item when pressing some particular keyboard keys, and when already playing a file. In fact like using a TV remote (zapping with direct channel acces by their number, even if a channel is already playing)
Thanks in advance.