[mythtv-commits] mythtv commit: r25643 by wagnerrp

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sat Aug 14 07:57:52 UTC 2010

      Author: wagnerrp
        Date: 2010-08-14 07:57:52 +0000 (Sat, 14 Aug 2010)
New Revision: 25643
   Changeset: http://svn.mythtv.org/trac/changeset/25643




Adds special handling for jumppoints and keypresses in Frontend class.

Jumppoints are handled through Frontend().jump.
  fe = Frontend(...)
  fe.jump.<jumppoint> or fe.jump['<jumppoint>'] will jump to that point
    returning True or False depending on response from the frontend.
    Invalid jumppoints also return False.
  fe.jump.list() and fe.jump.dict() provide a list and discription of
    what jumppoints are available.

Keypressed are handled through Frontend().key in similar manner.
  fe = Frontend(...)
  fe.key.<keyname> or fe.jump['<keyname>'] will send the specified key
    to the frontend, returning True or False, and False for invalid keys.
  fe.key[<code>] also accepts numeric keycodes, and processes their meaning
    before sending to the frontend.
  fe.key.list() provides a list of available special keys, not including
    alphanumeric characters.

More information about the mythtv-commits mailing list