% % anyremote configuration file for Freevo. (AT-mode) % prerequisites xterm % % STATUS stable % XTEST yes % SOUND app % ENV no GuiAppName=Freevo GuiAppBinary=freevo GuiAppRun=echo 'A=`ps -ef|grep freevo|grep main.py|grep -v grep`; if [ "x$A" == "x" ]; then echo NOK; else echo OK; fi'|bash -f -s GuiAppIcon=freevo.png GuiAppType=Application GuiAppProtocols=AT GuiAppDesc=Freevo is a Home theatre platform. It allows you to manage your entire digital media collection - music, videos, photos etc. [Protocol]=AT (Init)=Include($(CfgDir)/Utils/aliases-server.cfg);\ Make(var,TwoWayComm,by_value,false);\ Macro(CHECK_RFCOMM_DEVICE); (Connect)=Make(mode,freevo); FREEVO_MUTE =Emulate(key,F3) FREEVO_VOLUMEDOWN=Emulate(key,n) FREEVO_VOLUMEUP =Emulate(key,m) FREEVO_FULLSCREEN=Emulate(key,z) FREEVO_RUN =Exec(echo 'P=`ps -ef|grep freevo| grep main.py|grep -v grep`; if [ "x$P" == "x" ]; then xterm -geometry "1x1+0+0" -e freevo& fi' |bash -f -s) [Mode]=freevo (EnterMode)=Macro(FREEVO_RUN); 1=Macro(FREEVO_RUN); 2=Emulate(key,Up) 3=Macro(FREEVO_FULLSCREEN) 4=Emulate(key,Left) 5=Emulate(key,Return) 6=Emulate(key,Right) 8=Emulate(key,Down) * *=Exec(echo 'F="$HOME/.anyRemote/anyrem.hlp";echo "1 run freevo" > $F;echo "3 fullscreen" >> $F;echo "Move cursor by 2,4,6,8" >> $F;echo "5 select/enter" >> $F;echo "# - return back" >> $F;kdialog -passivepopup "`cat $F`" 7' |bash -f -s) * 1=Macro(FREEVO_VOLUMEDOWN) * 2=Macro(FREEVO_MUTE) * 3=Macro(FREEVO_VOLUMEUP) #=Emulate(key,Escape); [ModeEnd] [End]