LControl - Config examples
Simple example
Creates one button with label "Xine" to table.
[configure]
host=192.168.1.2
port=12345
[programs]
xine=
[buttons]
# name=xine
# label=Xine
xine=Xine
Another example
Now we have to menus with different buttons.
[configure]
host=192.168.1.2
port=12345
[programs]
xine=
[xine]
play=
pause=
stop=
[buttons]
xine=Xine
play=Play
pause=Pause
stop=Stop
Add empty buttons
[configure]
host=192.168.1.2
port=12345
[programs]
xine=
[xine]
play=
empty=
empty=
empty=
pause=
empty=
empty=
empty=
stop=
[buttons]
xine=Xine
play=Play
pause=Pause
stop=Stop
empty=
More programs
More programs and using same or different buttons.
[configure]
host=192.168.1.2
port=12345
[programs]
xine=
xmms=
[xine]
play=
pause=
stop=
[xmms]
play=
pause2=
stop=
[buttons]
xine=Xine
xmms=XMMS
play=Play
pause=Pause
pause2=Pause
stop=Stop
Complex example
[configure]
host=192.168.1.2
port=12345
[programs]
xine=
xmms=
shutdown=
[xine]
file=
dvd=
dvb=
# dvd
[dvd]
menu=
play=
pause=
stop=
back=
forwd=
prev=
next=
# navigation
empty=
up=
empty=
info=
left=
select=
right=
empty=
empty=
down=
empty=
empty=
audioplus=
empty=
empty=
subtitleplus=
# empty line
audiominus=
empty=
empty=
subtitleminus=
empty=
fullscreen=
deinterlace=
[dvb]
channelplus=
subtitleplus=
audioplus=
up=
channelminus=
subtitleminus=
audiominus=
select=
empty=
empty=
empty=
down=
empty=
empty=
empty=
empty=
empty=
empty=
empty=
empty=
empty=
empty=
empty=
empty=
empty=
empty=
empty=
empty=
empty=
fullscreen=
deinterlace=
[file]
play=
pause=
stop=
empty=
empty=
empty=
empty=
empty=
back=
empty=
empty=
forwd=
empty=
empty=
empty=
empty=
prev=
empty=
empty=
next=
empty=
empty=
empty=
empty=
empty=
empty=
empty=
empty=
empty=
fullscreen=
deinterlace=
[buttons]
xine=Xine
xmms=XMMS
file=File
dvd=DVD
dvb=DVB
shutdown=Power OFF
menu=Menu
play=Play
pause=Pause
stop=Stop
up=Up
down=Down
left=Left
right=Right
select=Select
fullscreen=Fullscreen
deinterlace=Deinterlace
channelplus=Channel +
channelminus=Channel -
subtitleplus=Subtitle +
subtitleminus=Subtitle -
audioplus=Audio +
audiominus=Audio -
back=Backward
forwd=Forward
next=Next
prev=Previous
info=Info
empty=