| 1 |
% |
| 2 |
% anyremote configuration file for Moovida (former Elisa) media center (http://elisa.fluendo.com/). (AT-mode) |
| 3 |
% |
| 4 |
|
| 5 |
% STATUS stable |
| 6 |
% XTEST yes |
| 7 |
% SOUND app |
| 8 |
% ENV no |
| 9 |
|
| 10 |
GuiAppName=Moovida/Elisa |
| 11 |
GuiAppBinary=echo 'B=`which moovida 2> /dev/null`;if [ "x$B" == "x" ]; then echo elisa; else echo moovida; fi'|bash -f -s |
| 12 |
GuiAppRun=echo 'A=`ps -ef|grep -e "moovida\|elisa"|grep -v grep`; if [ "x$A" == "x" ]; then echo NOK; else echo OK; fi' | bash -f -s |
| 13 |
GuiAppIcon=elisa.png |
| 14 |
GuiAppType=Application |
| 15 |
GuiAppProtocols=AT |
| 16 |
GuiAppDesc=The Moovida (former Elisa) Media Center has many advanced features that will make your media center experience unique. It features an intuitive interface with a professional look and feel which can be easily used with a standard TV remote control. |
| 17 |
|
| 18 |
|
| 19 |
[Protocol]=AT |
| 20 |
|
| 21 |
(Init)=Make(var,TwoWayComm,by_value,false);\ |
| 22 |
Macro(CHECK_RFCOMM_DEVICE);\ |
| 23 |
Make(var,exec_name,echo 'B=`which moovida 2> /dev/null`;if [ "x$B" == "x" ]; then echo elisa; else echo moovida; fi'|bash -f -s) |
| 24 |
(Connect)=Make(mode,elisa); |
| 25 |
|
| 26 |
[Mode]=elisa |
| 27 |
|
| 28 |
(EnterMode)=Macro(ELISA_RUN) |
| 29 |
(ExitMode)=Make(none) |
| 30 |
|
| 31 |
ELISA_RUN=Exec(echo 'P=`ps -ef|grep $(exec_name)|grep -v grep|grep -v edit|grep -v anyremote`; if [ "x$P" == "x" ]; then xterm -e $(exec_name)& fi' |bash -f -s); |
| 32 |
ELISA_RUN_STOP=Exec(echo 'P=`ps -ef|grep $(exec_name)|grep -v grep|grep -v edit|grep -v anyremote`; if [ "x$P" == "x" ]; then xterm -e $(exec_name)& else killall $(exec_name); fi' |bash -f -s); |
| 33 |
|
| 34 |
1=Emulate(key,f); |
| 35 |
2=Emulate(key,Up); |
| 36 |
3=Make(none) |
| 37 |
|
| 38 |
4=Emulate(key,Left); |
| 39 |
5=Emulate(key,Return); |
| 40 |
6=Emulate(key,Right); |
| 41 |
|
| 42 |
7=Emulate(key,x); |
| 43 |
8=Emulate(key,Down); |
| 44 |
9=Emulate(key,c); |
| 45 |
|
| 46 |
* *=Exec(echo 'F="$HOME/.anyRemote/anyrem.hlp";echo "Move cursor by 2,4,6,8">$F;echo "Volume up/down by 2,8">>$F;echo "1 - toggle fullscreen">>$F;echo "5 - action (play/pause etc.)">>$F;echo "7 - Previous">>$F;echo "9 - Next">>$F;echo "0 - Show/hide menu">>$F;echo "* # - Run/Quit">>$F;echo "* * - Help">>$F);\ |
| 47 |
Macro(SHOW_HELP); |
| 48 |
* #=Macro(ELISA_RUN_STOP) |
| 49 |
0=Emulate(key,BackSpace); |
| 50 |
#=Emulate(key,q); |
| 51 |
|
| 52 |
[ModeEnd] |
| 53 |
|
| 54 |
%%%%%%%%%%%%%% |
| 55 |
% |
| 56 |
% Key aliases |
| 57 |
% |
| 58 |
%%%%%%%%%%%%%% |
| 59 |
|
| 60 |
% Motorola - Red and Green buttons |
| 61 |
S=Macro(Answer); |
| 62 |
E=Macro(Cancel); |
| 63 |
|
| 64 |
% SE's - SwitchOff and C buttons |
| 65 |
c=Macro(Answer); |
| 66 |
L=Macro(Cancel); |
| 67 |
p=Macro(Cancel); |
| 68 |
|
| 69 |
% Sagem - Red and Green buttons |
| 70 |
83=Macro(Answer); |
| 71 |
69=Macro(Cancel); |
| 72 |
|
| 73 |
% Sockets & Sagem |
| 74 |
42=Macro(*) |
| 75 |
35=Macro(#) |
| 76 |
48=Macro(0) |
| 77 |
49=Macro(1) |
| 78 |
50=Macro(2) |
| 79 |
51=Macro(3) |
| 80 |
52=Macro(4) |
| 81 |
53=Macro(5) |
| 82 |
54=Macro(6) |
| 83 |
55=Macro(7) |
| 84 |
56=Macro(8) |
| 85 |
57=Macro(9) |
| 86 |
|
| 87 |
[End] |