Help with rc interface

*nix specific usage questions
artois_val
New Cone
New Cone
Posts: 6
Joined: 28 Jan 2007 23:16

Help with rc interface

Postby artois_val » 28 Jan 2007 23:22

Hello everyone,

Im trying to find a way to use vlc with the rc interface (-I rc) to navigate a dvd. The option listed by the "help" command is limited to what vlc can do. However, any way of to use all the keys listed in libvlc.h like the lircd interface ?

Thx

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 28 Jan 2007 23:48

not that i know. But it's a good idea.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

artois_val
New Cone
New Cone
Posts: 6
Joined: 28 Jan 2007 23:16

Arrg, rc no longer work as it did before...

Postby artois_val » 31 Jan 2007 02:37

Im trying to write a freevo plug-in to use vlc. Im using Mandriva 2007 , the vlc rpm that ship with it work without any probleme. I pass the "-I rc" and a video file and I can control it via rc's command.

However, when I try to use the vlc I compiled (0.8.6a) nothing happen, worst, when I use the --rc-host , I dont see the socket with netstat -a.

But if I start vlc at the command line, the rc interface work normaly. What that puzzle me is that the version distribued by Mandriva work but not the one I compiled, did I miss some configure flag ?

artois_val
New Cone
New Cone
Posts: 6
Joined: 28 Jan 2007 23:16

Postby artois_val » 05 Feb 2007 23:57

Code: Select all

else if( !strcmp( psz_cmd, "key" ) ) { msg_rc(_("commande key : %s"),psz_arg); vlc_value_t keyval; keyval.i_int = config_GetInt( p_intf, psz_arg ); var_Set( p_intf->p_vlc, "key-pressed", keyval ) }
I hacked a bit and I added this piece of code at line 840 (aprox).

Now I can send any vlc key (like the lircd module) with : key key-disc-menu

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 07 Feb 2007 17:54

I'll add this to the developement code once i get back from work.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Postby Jean-Baptiste Kempf » 08 Feb 2007 10:27

dionoea: did you do that ???
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 08 Feb 2007 13:42

I only get back from work once every 2 days :)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Postby Jean-Baptiste Kempf » 08 Feb 2007 14:00

I think that you are a liar prefering Heroes and 24 and secret project than helping us !

You'll die of being BAAAAAAAAAAAAAAAADDDDDDD


DAAAAAAAAAAAAAAAHAAAAAAAAAAAAAAAAAAAAAAA!

CAN YOU DANCE ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 10 Feb 2007 00:51

done.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 36 guests