Page 1 of 1

Help with rc interface

Posted: 28 Jan 2007 23:22
by artois_val
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

Posted: 28 Jan 2007 23:48
by dionoea
not that i know. But it's a good idea.

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

Posted: 31 Jan 2007 02:37
by artois_val
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 ?

Posted: 05 Feb 2007 23:57
by artois_val

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

Posted: 07 Feb 2007 17:54
by dionoea
I'll add this to the developement code once i get back from work.

Posted: 08 Feb 2007 10:27
by Jean-Baptiste Kempf
dionoea: did you do that ???

Posted: 08 Feb 2007 13:42
by dionoea
I only get back from work once every 2 days :)

Posted: 08 Feb 2007 14:00
by Jean-Baptiste Kempf
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 ?

Posted: 10 Feb 2007 00:51
by dionoea
done.