/usr/share/anyremote/cfg-data/AT-mode/gmusicbrowser.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 58 | %
% anyremote configuration file for Gmusicbrowser (http://squentin.free.fr/gmusicbrowser/gmusicbrowser.html)
% management (AT-mode)
%
% prerequisites: amixer/pactl utility
%
% STATUS stable
% XTEST no
% SOUND mixer
% ENV no
% DEF_PLAYER
GuiAppName=Gmusicbrowser
GuiAppBinary=gmusicbrowser
GuiAppRun= P=`ps -ef|grep gmusicbrowser|grep -v grep|grep -v anyremote|grep -v nedit`; if [ "x$P" = "x" ]; then echo NOK; else echo OK; fi
GuiAppIcon=gmusicbrowser.png
GuiAppType=Application
GuiAppProtocols=AT
GuiAppDesc=An open-source jukebox for large collections of mp3/ogg/flac/mpc files, written in perl.
[Protocol]=AT
(Init)=\
Include($(CfgDir)/Utils/aliases-at.cfg);\
Macro(SETUP_DEFAULT_MIXER);\
Make(var,TwoWayComm,by_value,false);\
Macro(CHECK_RFCOMM_DEVICE);
(Connect)=\
Make(mode,gmusicbrowser);
[Mode]=gmusicbrowser : default_player_at
RUN_IF_NEED=\
Exec(P=`ps -ef|grep gmusicbrowser|grep -v grep|grep -v anyremote|grep -v edit`; if [ "x$P" = "x" ]; then gmusicbrowser& fi);
RUN_OR_QUIT=\
Exec(P=`ps -ef|grep gmusicbrowser|grep -v grep|grep -v anyremote|grep -v edit`; if [ "x$P" = "x" ]; then gmusicbrowser& else gmusicbrowser -cmd Quit; fi)
QUIT=\
Exec(P=`ps -ef|grep gmusicbrowser|grep -v grep|grep -v anyremote|grep -v edit`; if [ "x$P" != "x" ]; then gmusicbrowser -cmd Quit; fi);
%1=Exec(gmusicbrowser -cmd DecVolume);
%2=Exec(gmusicbrowser -cmd TogMute); -- this do not works
%3=Exec(gmusicbrowser -cmd IncVolume);
PLAY=Exec(gmusicbrowser -cmd PlayPause);
RWD=Exec(gmusicbrowser -cmd "Rewind 10");
FF=Exec(gmusicbrowser -cmd "Forward 10");
PREV=Exec(gmusicbrowser -cmd PrevSongInPlaylist);
NEXT=Exec(gmusicbrowser -cmd NextSongInPlaylist);
PAUSE=Exec(gmusicbrowser -cmd PlayPause);
STOP=Exec(gmusicbrowser -cmd Stop);
[ModeEnd]
[End]
|