Page 1 of 1

Using "key" command in command line interface

Posted: 29 Mar 2009 09:11
by Jeff
Hi,

I'm having a similar problem to this posting:

viewtopic.php?f=14&t=53013&p=173451&hil ... ce#p173451

Unfortunately, that specific problem wasn't answered. I'm also posting here because it doesn't appear to be a Windows-specific problem (I'm running on Linux).

My problem: If I try to use the "key" command in the TELNET command line interface, I get errors like:

[00000393] main interface error: option ... does not exist

on the window where I'm running VLC. For example, if I do something like:

key up

in the TELNET interface, then I get the response:

[00000393] main interface error: option ... does not exist

in the window where I ran VNC. I can navigate DVD menus just fine using keyboard arrow keys, but I can't seem to navigate via the command line interface.

Any suggestions would be (very) appreciated. Thanks!

Re: Using "key" command in command line interface

Posted: 31 Mar 2009 20:43
by Rémi Denis-Courmont
The legal values are

Code: Select all

key-toggle-fullscreen key-leave-fullscreen key-play-pause key-faster key-slower key-rate-normal key-rate-faster-fine key-rate-slower-fine key-next key-prev key-stop key-jump-extrashort key-jump+extrashort key-jump-short key-jump+short key-jump-medium key-jump+medium key-jump-long key-jump+long key-frame-next key-quit key-vol-up key-vol-down key-vol-mute key-audio-track key-audiodevice-cycle key-subtitle-track key-aspect-ratio key-crop key-toggle-autoscale key-incr-scalefactor key-decr-scalefactor key-deinterlace key-wallpaper key-random key-loop key-zoom-quarter key-zoom-half key-zoom-original key-zoom-double

Re: Using "key" command in command line interface

Posted: 01 Apr 2009 05:23
by Jeff
Oh. That really helps. Thanks so much! Just one more question:

How would I use the "key" command to navigate a DVD menu? Specifically, I'm looking for the arrow keys:

Up, Down, Right, Left, and Enter

When you're viewing a complete DVD (via DVD:///file/path on the command line), then you need to navigate the menus of the DVD with the arrow keys.

Are those keys available via the TELNET interface? If not, any suggestions on how to navigate a DVD menu via the TELNET interface?

Thanks so much (again)!

Re: Using "key" command in command line interface

Posted: 01 Apr 2009 19:46
by Rémi Denis-Courmont
I realize that the list above is incomplete. Anyway, just try:

Code: Select all

vlc --advanced --longhelp|grep -- --key-[code]

Re: Using "key" command in command line interface

Posted: 02 Apr 2009 07:31
by Jeff
That is EXACTLY what I needed.

Thanks so much for your help!