Debian Codegraph @

cfg-data/obsoleted/AT-mode/kplayer-kde3.cfg

raw
1 %
2 % anyremote configuration file for kplayer management.
3 %
4
5 % STATUS stable
6 % TODO how to start playing and choose the playlist ?
7 % XTEST no
8 % SOUND app
9 % ENV no
10
11 GuiAppName=Kplayer
12 GuiAppBinary=kplayer
13 GuiAppRun=echo 'A=`dcop 2> /dev/null|grep kplayer`; if [ "x$A" == "x" ]; then echo NOK; else echo OK; fi'|bash -f -s
14 GuiAppIcon=kplayer.png
15 GuiAppType=Application
16 GuiAppProtocols=AT
17 GuiAppDesc=KPlayer is a KDE multimedia player.
18 GuiAppVersion=echo 'V=`kplayer -v|grep KDE|tr -d " "|cut -f 2 -d ":"|cut -f 1 -d "."`; if [ "x$V" == "x3" ]; then echo OK; else echo NOK; fi'|bash -f -s
19
20 [Protocol]=AT
21
22 % aliased keys
23 Answer=Make(disconnect);
24 Cancel=Exec(dcop kplayer MainApplication-Interface quit);
25
26 (Init)=Include($(CfgDir)/Utils/aliases-at.cfg);\
27 Make(var,TwoWayComm,by_value,false);\
28 Make(var,Device,by_value,/dev/rfcomm0);\
29 Exec(echo 'V=`amarok -v|grep KDE|tr -d " "|cut -f 2 -d ":"|cut -f 1 -d "."`; if [ "x$V" == "x4" ]; then $(CfgDir)/Utils/message.sh "ERROR: this configuration file is for KDE3"; fi'|bash -f -s);
30
31 (Connect)=Exec(echo 'P=`dcop|grep kplayer`; if [ "x$P" == "x" ]; then kplayer& fi' |bash -f -s)
32
33 1=Exec(dcop kplayer kplayer-mainwindow#1 activateAction audio_volume_down)
34 2=Exec(dcop kplayer kplayer-mainwindow#1 activateAction audio_mute)
35 3=Exec(dcop kplayer kplayer-mainwindow#1 activateAction audio_volume_up)
36
37 4=Exec(dcop kplayer kplayer-mainwindow#1 activateAction player_backward)
38 5=Exec(dcop kplayer kplayer-mainwindow#1 activateAction player_next;dcop kplayer kplayer-mainwindow#1 activateAction player_play)
39 6=Exec(dcop kplayer kplayer-mainwindow#1 activateAction player_forward)
40
41 7=Exec(dcop kplayer kplayer-mainwindow#1 activateAction player_previous)
42 8=Exec(dcop kplayer kplayer-mainwindow#1 activateAction player_stop)
43 9=Exec(dcop kplayer kplayer-mainwindow#1 activateAction player_next)
44
45 * *=Exec(echo 'F="$HOME/.anyRemote/anyrem.hlp";echo "1 - Vol- 2 - Mute 3 - Vol+" > $F;echo "4 - Rew 5 - Play 6 - FF" >> $F;echo "7 - Prew 8 - Stop 9 - Next" >> $F;echo "* * - Help 0 - Pause # - Kill" >> $F;kdialog -passivepopup "`cat $F`" 7' |bash -f -s)
46 * #=Exec(echo 'P=`dcop|grep kplayer`; if [ "x$P" == "x" ]; then kplayer; dcop kplayer kplayer-mainwindow#1 activateAction view_full_screen; else dcop kplayer MainApplication-Interface quit; fi' |bash -f -s)
47 0=Exec(dcop kplayer kplayer-mainwindow#1 activateAction player_pause)
48 #=Exec(dcop kplayer MainApplication-Interface quit )
49
50 [End]