Enhanced VLC lirc control
Posted: 07 Jan 2007 23:18
Hello,
I needed to use VLC + lirc + rc interface commad (goto X), because I needed to press a button 5 and jump into position 5 in my playlist
I use irexec + netcat to control VLC with IR remote
the idea:
I wrote a short howto http://www.natur.cuni.cz/~kuda/howtos/vlc_lirc.html
One can use any of vlc rc commands this way. I hope someone will find it helpful.
Albert
I needed to use VLC + lirc + rc interface commad (goto X), because I needed to press a button 5 and jump into position 5 in my playlist
I use irexec + netcat to control VLC with IR remote
the idea:
Code: Select all
vlc -I rc --rc-host localhost:12345 /home/ondra/playlist.m3u
and
cat play1.sh
#!/bin/bash
echo "goto 0" | netcat localhost 12345 -q 1
and
.lircrc
...
begin
prog = irexec
button = 1
config = /home/ondra/.vlc/play1.sh &\n
end
...
One can use any of vlc rc commands this way. I hope someone will find it helpful.
Albert