Debian Codegraph @

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

raw
1 %
2 % anyremote configuration file for Juk management (AT-mode)
3 %
4
5 % STATUS stable
6 % XTEST no
7 % SOUND app
8 % ENV no
9
10 GuiAppName=Juk
11 GuiAppBinary=juk
12 GuiAppRun=echo 'A=`dcop 2> /dev/null|grep juk`; if [ "x$A" == "x" ]; then echo NOK; else echo OK; fi'|bash -f -s
13 GuiAppIcon=juk.png
14 GuiAppType=Application
15 GuiAppProtocols=AT
16 GuiAppDesc=JuK is a free software audio player for KDE, part of the kdemultimedia package. JuK supports collections of MP3, Ogg Vorbis, and FLAC audio files. This configuration file is for Juk/KDE3.
17 GuiAppVersion=echo 'V=`juk -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 (Init)=Include($(CfgDir)/Utils/aliases-at.cfg);\
22 Make(var,TwoWayComm,by_value,false);\
23 Make(var,Device,by_value,/dev/rfcomm0);\
24 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);
25
26 (Connect)=Make(var,juk_volume,by_value,-1);\
27 Exec(echo 'A=`dcop|grep juk`; if [ "x$A" == "x" ]; then juk; fi'|bash -f -s);
28
29 Cancel=Exec(dcop juk MainApplication-Interface quit);
30
31 1=Exec(dcop juk Player volumeDown)
32 %2=Exec(dcop juk Player mute) -- does not unmute
33 2=Make(var,juk_volume,echo 'if [ "x$(juk_volume)" == "x-1" ]; then dcop juk Player volume;dcop juk Player setVolume 0; else dcop juk Player setVolume $(juk_volume); echo "-1"; fi;'|bash -f -s)
34 3=Exec(dcop juk Player volumeUp)
35
36 %4=Exec(dcop juk Player seekBack)
37 %6=Exec(dcop juk Player seekForward)
38
39 4=Exec(echo 'T=`dcop juk Player currentTime`;T2=`expr $T - 5`;dcop juk Player seek $T2'| bash -f -s);
40 5=Exec(dcop juk Player play);
41 6=Exec(echo 'T=`dcop juk Player currentTime`;T2=`expr $T + 5`;dcop juk Player seek $T2'| bash -f -s);
42
43 7=Exec(dcop juk Player back);
44 8=Exec(dcop juk Player stop);
45 9=Exec(dcop juk Player forward);
46
47 * *=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 "* 0 - Pause # - Quit" >> $F;kdialog -passivepopup "`cat $F`" 7' |bash -f -s)
48 * #=Exec(echo 'P=`dcop|grep juk`; if [ "x$P" == "x" ]; then juk; else dcop juk MainApplication-Interface quit; fi'|bash -f -s);
49 0=Exec(dcop juk Player playPause);
50 #=Exec(dcop juk MainApplication-Interface quit);
51
52 [End]