/usr/share/anyremote/cfg-data/AT-mode/banshee.cfg is in anyremote-data 6.3.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | %
% anyremote configuration file for Banshee management (AT-mode)
% prerequisites: amixer/pactl utility
%
% STATUS stable
% XTEST yes
% SOUND mixer
% ENV no
% DEF_PLAYER
GuiAppName=Banshee
GuiAppBinary= B=`which banshee 2> /dev/null`;if [ "x$B" = "x" ]; then echo banshee-1; else echo banshee; fi
GuiAppRun= P=`ps -ef|grep banshee|grep -v grep|grep -v anyremote|grep -v nedit`; if [ "x$P" = "x" ]; then echo NOK; else echo OK; fi
GuiAppIcon=media-player-banshee.png
GuiAppType=Application
GuiAppProtocols=AT
GuiAppDesc=Music management and playback for Gnome
[Protocol]=AT
(Init)=\
Include($(CfgDir)/Utils/aliases-at.cfg);\
Macro(SETUP_DEFAULT_MIXER);\
Make(var,TwoWayComm,by_value,false);\
Macro(CHECK_RFCOMM_DEVICE);\
Make(var, banshee_exec, which banshee 2> /dev/null);\
Make(var, banshee_exec, if [ "x$(banshee_exec)" = "x" ]; then which banshee-1; else echo $(banshee_exec); fi);
(Connect)=\
Make(mode,banshee);
[Mode]=banshee : default_player_at
RUN_IF_NEED=\
Exec(P=`ps -ef|grep banshee|grep -v grep|grep -v anyremote|grep -v nedit`; if [ "x$P" = "x" ]; then $(banshee_exec) > /dev/null& fi);
RUN_OR_QUIT=\
Exec(P=`ps -ef|grep banshee|grep -v grep|grep -v anyremote|grep -v nedit`; if [ "x$P" = "x" ]; then $(banshee_exec) > /dev/null& else killall -r "banshee.*" ; fi);
QUIT=\
Exec(killall -r "banshee.*");
%InCall($$)=Exec($(banshee_exec) --pause);Make(remote,off);
%EndCall($$)=Make(remote,on);Exec($(banshee_exec) --toggle-playing)
PLAY=Exec($(banshee_exec) --toggle-playing);
RWD=Emulate(keydown,Control_L,key,Left,keyup,Control_L);
FF=Emulate(keydown,Control_L,key,Right,keyup,Control_L);
PREV=Exec($(banshee_exec) --previous);
NEXT=Exec($(banshee_exec) --next);
STOP=Exec($(banshee_exec) --pause);
PAUSE=Exec($(banshee_exec) --pause);
[ModeEnd]
[End]
|