Debian Codegraph @

cfg-data/obsoleted/AT-mode/xineForDvd.cfg

raw
1 %
2 % anyremote configuration file for xine management.
3 % prerequisites: amixer/pactl utility
4 %
5 % based on cfg-file from Domjan Svilkovic
6 %
7
8 % STATUS unknown
9 % XTEST yes
10 % SOUND mixer
11 % ENV no
12
13 GuiAppName=XineDVD
14 GuiAppBinary=xine
15 GuiAppRun=echo 'A=`ps -ef|grep xine|grep -v xinetd|grep -v grep|grep -v edit`; if [ "x$A" == "x" ]; then echo NOK; else echo OK; fi' | bash -f -s
16 GuiAppIcon=xine.png
17 GuiAppType=Example
18 GuiAppProtocols=AT
19 GuiAppDesc=Xine is a free multimedia player. It plays back CDs, DVDs, and VCDs. This configuration file tuned to play DVD with xine.
20
21 [Protocol]=AT
22
23 (Init)=Include($(CfgDir)/Utils/aliases-at.cfg);\
24 Macro(SETUP_DEFAULT_MIXER);\
25 Make(var,TwoWayComm,by_value,false);\
26 Macro(CHECK_RFCOMM_DEVICE);
27
28 Answer=SendCKPD(E);Make(disconnect);
29 Cancel=Exec(killall xine);SendCKPD(E);
30
31 (Connect)=Exec(xine dvd://1 --fullscreen)
32
33 1=Macro(DEFAULT_VOLUME_DOWN)
34 2=Macro(DEFAULT_TOGGLE_MUTE)
35 3=Macro(DEFAULT_VOLUME_UP)
36
37 4=Emulate(key,Down)
38 5=Emulate(key,Return)
39 6=Emulate(key,Up)
40
41 7=Emulate(key,Left)
42 8=Emulate(keydown,Shift_L,key,S,keyup,Shift_L)
43 9=Emulate(key,Right'=)
44
45 * *=Exec(echo 'F="$HOME/.anyRemote/anyrem.hlp";echo "1 - Vol- 2 - Mute 3 - Vol+" > $F;echo "4 - Slower 5 - Play 6 - FF" >> $F;echo "7 - Prew 8 - Stop 9 - Next" >> $F;echo "* - Help 0 - Pause # - Quit" >> $F;echo "* N - start from chapter N (1-9)" >> $F);\
46 Macro(SHOW_HELP);
47
48 * 1=Exec(xine dvd://1 --fullscreen)
49 * 2=Exec(xine dvd://2 --fullscreen)
50 * 3=Exec(xine dvd://3 --fullscreen)
51 * 4=Exec(xine dvd://4 --fullscreen)
52 * 5=Exec(xine dvd://5 --fullscreen)
53 * 6=Exec(xine dvd://6 --fullscreen)
54 * 7=Exec(xine dvd://7 --fullscreen)
55 * 8=Exec(xine dvd://8 --fullscreen)
56 * 9=Exec(xine dvd://9 --fullscreen)
57
58 0=Emulate(key,space)
59 #=Exec(killall xine)
60
61 [End]