"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "gxine-0.5.903/doc/Keybindings-HOWTO" of archive gxine-0.5.903.tar.gz:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 GXINE KEYBINDINGS TINY-HOWTO
    2 ----------------------------
    3 
    4 To edit gxine's vdr keybindings:
    5 
    6 1. Select Keybindings from the File menu
    7 2. Click on the New button, or select an existing keybinding and click
    8    the "Edit" button.
    9 3. Enter a Description, e.g. "Red"
   10 4. Enter the Command, e.g."vdr('RED');"
   11 5. Enter the Accelerator Key to bind it to, e.g. "r"
   12 
   13 Here is the list of VDR-specific commands that can be bound to keys:
   14 
   15   AUDIO
   16   BACK
   17   BLUE
   18   CHANNELMINUS
   19   CHANNELPLUS
   20   CHANNELS
   21   COMMANDS
   22   FASTFWD
   23   FASTREW
   24   GREEN
   25   MUTE
   26   PAUSE
   27   PLAY
   28   POWER
   29   RECORD
   30   RECORDINGS
   31   RED
   32   SCHEDULE
   33   SETUP
   34   STOP
   35   TIMERS
   36   USER1
   37   USER2
   38   USER3
   39   USER4
   40   USER5
   41   USER6
   42   USER7
   43   USER8
   44   USER9
   45   VOLMINUS
   46   VOLPLUS
   47   YELLOW
   48 
   49 Most of these are already in the default gxine keybindings.
   50 
   51 Other gxine commands can be found by running gxine_client and typing
   52 "help();" or "event();".
   53 
   54 Here's a list, correct as of 5 April 2007:
   55 
   56 Available commands (gxine Javascript interface):
   57 
   58   Engine control:
   59     exit ()
   60     callback (Javascript)
   61     play ([mrl] [, pos, time])  /* time in milliseconds */
   62     get_time ()  /* stream time index */
   63     get_pos ()  /* stream position (%) */
   64     has_time ()  /* whether the stream has a time index */
   65     pause ([bool])
   66     stop ()
   67     eject ()
   68     play_pause ([bool])
   69     snapshot ([file name [, scale, blend]])
   70     set_vis (string)  /* visualisation name */
   71     event         /* stream_end=JS */
   72 
   73   Dialogue boxes:
   74     js_console_show ()
   75     about_show ()
   76     startup_cmds_show ()
   77     log_show ()
   78     preferences_show ()
   79     playlist_show ()
   80     settings_show ()
   81     settings_revert ()
   82     settings_reset ()
   83     settings_clear ()
   84     mm_add_show ()
   85     mm_manage_show ()
   86     keybindings_show ()
   87     keypad_show ()
   88     deinterlace_show ()
   89     postproc_video_show ()
   90     postproc_audio_show ()
   91     stream_info_show ([bool])
   92 
   93   Playlist control:
   94     playlist_clear ()
   95     playlist_flush ()
   96     playlist_load (file)
   97     playlist_add (MRL[, title])
   98     playlist_delete (int)
   99     playlist_play (int)  /* playlist entry number */
  100     playlist_get_item ()
  101 
  102   File access:
  103     open_show ()
  104     open_mrl_show ()
  105     import_mediamarks ()
  106 
  107   Properties:
  108     xine_cfg_get ()
  109     xine_cfg_set ()
  110     set_video_size (int)
  111     is_live_stream ()
  112     vo_zoom.x     /* v=int, min, max; video zoom (within window) */
  113     vo_zoom.y     /* v=int, min, max; video zoom (within window) */
  114     vo_fullscreen.sticky          /* v=bool, toggle(); forced stickiness in full-screen mode */
  115     toolbar.fs.at_top     /* v=bool, toggle(): full-screen toolbar position */
  116     toolbar.wm.snap       /* v=bool, toggle(): windowed-mode toolbar attachment */
  117     toolbar.fs    /* v=bool, toggle(): full-screen toolbar visibility */
  118     toolbar.wm    /* v=bool, toggle(): windowed-mode toolbar visibility */
  119     playlist.repeat       /* v=bool, toggle() */
  120     playlist.repeat_track         /* v=bool, toggle() */
  121     playlist.random       /* v=bool, toggle() */
  122     av_speed      /* v=int, min, max; playback speed */
  123     vo_aspect     /* v=int; aspect ratio */
  124     vo_subtitle   /* v=int, min, max; subtitle channel */
  125     vo_zoom       /* v=int, min, max; video zoom (within window) */
  126     ao_mute       /* v=bool, toggle(): audio mute */
  127     vo_auto_resize        /* v=bool, toggle(): auto-resize video on frame shape change */
  128     vo_auto_rescale       /* v=bool, toggle(): double size of low-resolution video */
  129     vo_fullscreen         /* v=bool, toggle(): full-screen mode */
  130     vo_deinterlace        /* v=bool, toggle(): enable deinterlacing */
  131     ao_postproc   /* v=bool, toggle(): audio post-processing; chain=string: plugin chain */
  132     vo_postproc   /* v=bool, toggle(): video post-processing; chain=string: plugin chain */
  133     wm_unblank    /* v=bool, toggle(): unblanking in windowed mode */
  134     toolbar
  135     ao_volume     /* v=int, min, max; revert(), reset() */
  136     ao_compressor         /* v=int, min, max; revert(), reset() */
  137     ao_amplifier          /* v=int, min, max; revert(), reset() */
  138     av_sync       /* v=int, min, max; revert(), reset() */
  139     spu_sync      /* v=int, min, max; revert(), reset() */
  140     vo_hue        /* v=int, min, max; revert(), reset() */
  141     vo_saturation         /* v=int, min, max; revert(), reset() */
  142     vo_contrast   /* v=int, min, max; revert(), reset() */
  143     vo_brightness         /* v=int, min, max; revert(), reset() */
  144     eq_30         /* v=int, min, max; revert(), reset() */
  145     eq_60         /* v=int, min, max; revert(), reset() */
  146     eq_125        /* v=int, min, max; revert(), reset() */
  147     eq_250        /* v=int, min, max; revert(), reset() */
  148     eq_500        /* v=int, min, max; revert(), reset() */
  149     eq_1K         /* v=int, min, max; revert(), reset() */
  150     eq_2K         /* v=int, min, max; revert(), reset() */
  151     eq_4K         /* v=int, min, max; revert(), reset() */
  152     eq_8K         /* v=int, min, max; revert(), reset() */
  153     eq_16K        /* v=int, min, max; revert(), reset() */
  154     playlist
  155 
  156   Input event generation (DVD menus etc.):
  157     input_up ()
  158     input_down ()
  159     input_left ()
  160     input_right ()
  161     input_select ()
  162     input_menu (int)  /* range is 1 to 7 */
  163     input_menu1 ()
  164     input_menu2 ()
  165     input_menu3 ()
  166     input_previous ()
  167     input_next ()
  168     event (string)  /* event; returns true if sent */
  169 
  170   External program support:
  171     vdr (string)  /* VDR event; returns true if sent */
  172 
  173 
  174 Events
  175 
  176   LEFT
  177   MENU1
  178   MENU2
  179   MENU3
  180   MENU4
  181   MENU5
  182   MENU6
  183   MENU7
  184   NEXT
  185   NUMBER_0
  186   NUMBER_1
  187   NUMBER_10_ADD
  188   NUMBER_2
  189   NUMBER_3
  190   NUMBER_4
  191   NUMBER_5
  192   NUMBER_6
  193   NUMBER_7
  194   NUMBER_8
  195   NUMBER_9
  196   PREVIOUS
  197   RIGHT
  198   SELECT
  199   UP
  200   0
  201   1
  202   10
  203   2
  204   3
  205   4
  206   5
  207   6
  208   7
  209   8
  210   9
  211   -
  212 
  213 
  214 VDR events
  215 
  216 VDR_*
  217   AUDIO
  218   BACK
  219   BLUE
  220   CHANNELMINUS
  221   CHANNELPLUS
  222   CHANNELPREV
  223   CHANNELS
  224   COMMANDS
  225   FASTFWD
  226   FASTREW
  227   GREEN
  228   INFO
  229   MUTE
  230   PAUSE
  231   PLAY
  232   POWER
  233   RECORD
  234   RECORDINGS
  235   RED
  236   SCHEDULE
  237   SETUP
  238   STOP
  239   TIMERS
  240   USER1
  241   USER2
  242   USER3
  243   USER4
  244   USER5
  245   USER6
  246   USER7
  247   USER8
  248   USER9
  249   VOLMINUS
  250   VOLPLUS
  251   YELLOW
  252 
  253 INPUT_*:
  254   ANGLE_NEXT
  255   ANGLE_PREVIOUS
  256   DOWN
  257   LEFT
  258   MENU1
  259   MENU2
  260   MENU3
  261   MENU4
  262   MENU5
  263   MENU6
  264   MENU7
  265   NEXT
  266   NUMBER_0
  267   NUMBER_1
  268   NUMBER_10_ADD
  269   NUMBER_2
  270   NUMBER_3
  271   NUMBER_4
  272   NUMBER_5
  273   NUMBER_6
  274   NUMBER_7
  275   NUMBER_8
  276   NUMBER_9
  277   PREVIOUS
  278   RIGHT
  279   SELECT
  280   UP
  281   0
  282   1
  283   10
  284   2
  285   3
  286   4
  287   5
  288   6
  289   7
  290   8
  291   9
  292   -