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