| 1 |
% |
| 2 |
% anyremote configuration file for Freevo. (AT-mode) |
| 3 |
% prerequisites xterm |
| 4 |
% |
| 5 |
|
| 6 |
% STATUS stable |
| 7 |
% XTEST yes |
| 8 |
% SOUND app |
| 9 |
% ENV no |
| 10 |
|
| 11 |
GuiAppName=Freevo |
| 12 |
GuiAppBinary=freevo |
| 13 |
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 |
| 14 |
GuiAppIcon=freevo.png |
| 15 |
GuiAppType=Application |
| 16 |
GuiAppProtocols=AT |
| 17 |
GuiAppDesc=Freevo is a Home theatre platform. It allows you to manage your entire digital media collection - music, videos, photos etc. |
| 18 |
|
| 19 |
[Protocol]=AT |
| 20 |
|
| 21 |
(Init)=Include($(CfgDir)/Utils/aliases-server.cfg);\ |
| 22 |
Make(var,TwoWayComm,by_value,false);\ |
| 23 |
Macro(CHECK_RFCOMM_DEVICE); |
| 24 |
|
| 25 |
(Connect)=Make(mode,freevo); |
| 26 |
|
| 27 |
FREEVO_MUTE =Emulate(key,F3) |
| 28 |
FREEVO_VOLUMEDOWN=Emulate(key,n) |
| 29 |
FREEVO_VOLUMEUP =Emulate(key,m) |
| 30 |
FREEVO_FULLSCREEN=Emulate(key,z) |
| 31 |
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) |
| 32 |
|
| 33 |
[Mode]=freevo |
| 34 |
|
| 35 |
(EnterMode)=Macro(FREEVO_RUN); |
| 36 |
|
| 37 |
1=Macro(FREEVO_RUN); |
| 38 |
2=Emulate(key,Up) |
| 39 |
3=Macro(FREEVO_FULLSCREEN) |
| 40 |
|
| 41 |
4=Emulate(key,Left) |
| 42 |
5=Emulate(key,Return) |
| 43 |
6=Emulate(key,Right) |
| 44 |
|
| 45 |
8=Emulate(key,Down) |
| 46 |
|
| 47 |
* *=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) |
| 48 |
* 1=Macro(FREEVO_VOLUMEDOWN) |
| 49 |
* 2=Macro(FREEVO_MUTE) |
| 50 |
* 3=Macro(FREEVO_VOLUMEUP) |
| 51 |
#=Emulate(key,Escape); |
| 52 |
|
| 53 |
[ModeEnd] |
| 54 |
|
| 55 |
|
| 56 |
[End] |