Media Player and keyboard event

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
olivelemalin Offline
Junior Member
Posts: 47
Joined: Feb 2009
Reputation: 0
Post: #1
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)

Thanks in advance.
find quote