Using "key" command in command line interface

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Jeff
New Cone
New Cone
Posts: 3
Joined: 29 Mar 2009 08:56

Using "key" command in command line interface

Postby Jeff » 29 Mar 2009 09:11

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!

Rémi Denis-Courmont
Developer
Developer
Posts: 15336
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Using "key" command in command line interface

Postby Rémi Denis-Courmont » 31 Mar 2009 20:43

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
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Jeff
New Cone
New Cone
Posts: 3
Joined: 29 Mar 2009 08:56

Re: Using "key" command in command line interface

Postby Jeff » 01 Apr 2009 05:23

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)!

Rémi Denis-Courmont
Developer
Developer
Posts: 15336
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Using "key" command in command line interface

Postby Rémi Denis-Courmont » 01 Apr 2009 19:46

I realize that the list above is incomplete. Anyway, just try:

Code: Select all

vlc --advanced --longhelp|grep -- --key-[code]
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Jeff
New Cone
New Cone
Posts: 3
Joined: 29 Mar 2009 08:56

Re: Using "key" command in command line interface

Postby Jeff » 02 Apr 2009 07:31

That is EXACTLY what I needed.

Thanks so much for your help!


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 73 guests