Debian Codegraph @

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

raw
1 %
2 % anyremote configuration file for amarok management.
3 %
4
5 % STATUS stable
6 % XTEST no
7 % SOUND app
8 % ENV no
9
10 GuiAppName=Amarok
11 GuiAppBinary=amarok
12 GuiAppRun=echo 'A=`dcop 2> /dev/null|grep amarok`; if [ "x$A" == "x" ]; then echo NOK; else echo OK; fi'|bash -f -s
13 GuiAppIcon=amarok.png
14 GuiAppType=Application
15 GuiAppProtocols=AT
16 GuiAppDesc=Amarok is the music player for Linux and Unix with an intuitive interface. Amarok makes playing the music you love easier than ever before - and looks good doing it. This configuration file is for Amarok/KDE3.
17 GuiAppVersion=echo 'V=`amarok -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
18
19 [Protocol]=AT
20
21 Answer=SendCKPD(E);Make(disconnect);
22 Cancel=Exec(dcop amarok MainApplication-Interface quit);SendCKPD(E);
23
24 (Init)=Include($(CfgDir)/Utils/aliases-at.cfg);\
25 Make(var,TwoWayComm,by_value,false);\
26 Make(var,Device,by_value,/dev/rfcomm0);\
27 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);
28
29 (Connect)=Exec(echo 'A=`dcop|grep amarok`; if [ "x$A" == "x" ]; then amarok 2> /dev/null; fi' | bash -f -s);\
30 Make(var,am_volume,dcop amarok player getVolume);\
31
32 1=Exec(dcop amarok player volumeDown)
33 %2=Exec(dcop amarok player mute) -- only mutes with amarok 1.4.8
34 2=Make(var,am_volume,echo 'if [ "x$(am_volume)" == "x-1" ]; then dcop amarok player getVolume;dcop amarok player setVolume 0; else dcop amarok player setVolume $(am_volume); echo "-1"; fi;'|bash -f -s)
35 3=Exec(dcop amarok player volumeUp)
36
37 4=Exec(dcop amarok player seekRelative -10)
38 5=Exec(dcop amarok player play)
39 6=Exec(dcop amarok player seekRelative 10)
40
41 7=Exec(dcop amarok player prev)
42 8=Exec(dcop amarok player stop)
43 9=Exec(dcop amarok 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 # - Quit" >> $F;kdialog -passivepopup "`cat $F`" 7' |bash -f -s)
46 * #=Exec(echo 'P=`dcop|grep amarok`; if [ "x$P" == "x" ]; then amarok 2> /dev/null; else dcop amarok MainApplication-Interface quit; fi'|bash -f -s);
47 0=Exec(dcop amarok player pause)
48 #=Exec(dcop amarok MainApplication-Interface quit)
49
50 CHANNELUP=Macro(9)
51 CHANNELDOWN=Macro(7)
52 ZOOM=Macro(5)
53
54 [End]