This file is indexed.

/usr/share/anyremote/cfg-data/Server-mode/deadbeef.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
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
%
% anyremote configuration file for deadbeef management. (Server-mode)
% 
% thanks s_erge http://forum.ubuntu.ru
%

% STATUS stable
% XTEST no
% ENV no
% SOUND app
% FBROWSER v.3i
% DEF_PLAYER   
% ALL_IN_ONE 
% MEDIACENTER audio 

GuiAppName=DeaDBeeF
GuiAppBinary=deadbeef
GuiAppRun=echo 'A=`ps -ef|grep deadbeef|grep -v grep|grep anyremote`; if [ "x$A" = "x" ]; then echo NOK; else echo OK; fi'|sh -s
GuiAppIcon=deadbeef.png
GuiAppType=Application
GuiAppProtocols=Server
GuiAppDesc=A music player.

[Protocol]=Server

(Init)=\
	Include($(CfgDir)/Utils/aliases-server.cfg);\
	Include($(CfgDir)/Utils/aliases-server-fbrowser-v3i.cfg);\
	Macro(SETUP_DEFAULT_MIXER);\
	Macro(FBROWSER_IC_INIT);\
	Make(var,player_name,by_value,DeaDBeeF);\
	Include($(CfgDir)/Utils/aliases-server-player.cfg);

(Exit)=\
	Macro(FBROWSER_IC_EXIT);

(Connect)=\
	Make(mode,deadbeef);

[Mode]=deadbeef : default_player

(EnterMode)=\
	Macro(SETUP_DEFAULT_POWER_MANAGEMENT);\
	Macro(RUN_IF_NEED);\
	Macro(SETUP_DEFAULT_PLAYER_NO_FF_FWD);\
	Macro(APP_MENU);

APP_MENU=\
	Set(menu,replace,File Browser,PowerMgmt);\
	Macro(ALLIN1MENU);\
	Macro(MEDIACENTER_MENU);
	
% PowerMgmt by Utils/aliases-server.cfg
File Browser=\
	Timer(DEADBEEF_TITLE,cancel);\
	Make(mode,deadbeef_file_browser);

DEADBEEF_TITLE=\
	Make(var,d_song,deadbeef --nowplaying "%b - %t" 2> /dev/null);\
	Make(var,d_author,deadbeef --nowplaying "%a" 2> /dev/null);\
	Set(title,$(d_song));\
	Set(status,$(d_author));

% Possible variant
%1=Emulate(key,AudioLowerVolume)
%2=Emulate(key,AudioMute)
%3=Emulate(key,AudioRaiseVolume)
%DEADBEEF_GETVOL=Make(var,aplayer_volume,deadbeef --status|grep volume|tr -d " "|cut -f 2 -d ":");

PLAY=\
	Exec(deadbeef --play-pause 2> /dev/null);\
	Macro(DEADBEEF_TITLE);\
	Timer(DEADBEEF_TITLE,$(UpdateTimeout),0);

RWD=\
	Macro(none);

FF=\
	Macro(none)

PREV=\
	Exec(deadbeef --prev 2> /dev/null);\
	Macro(DEADBEEF_TITLE);

NEXT=\
	Exec(deadbeef --next 2> /dev/null);\
	Macro(DEADBEEF_TITLE);

PAUSE=\
	Exec(deadbeef --toggle-pause 2> /dev/null);

STOP=\
	Exec(deadbeef --stop 2> /dev/null);

% Override
* *=Macro(DEFAULT_HELP_NO_FF_FWD);

RUN_IF_NEED=\
	Exec(ID=`id -u`;P=`ps -fu $ID|grep deadbeef|grep -v grep|grep -v anyremote|grep -v edit`; \
	     if [ "x$P" = "x" ]; then deadbeef & fi);\
	Exec($(CfgDir)/Utils/run-or-switch-to.sh -switch deadbeef);
	
RUN_OR_QUIT=\
	Timer(DEADBEEF_TITLE,cancel);\
	Exec(ID=`id -u`;P=`pgrep -u $ID deadbeef`; \
	     if [ "x$P" = "x" ]; then  deadbeef & else deadbeef --quit 2> /dev/null; fi);\
	Set(title,);\
	Set(status,);

APP_QUIT=\
	Exec(deadbeef --quit 2> /dev/null);\
	Timer(DEADBEEF_TITLE,cancel);\
	Set(title,);\
	Set(status,);

[ModeEnd]

[Mode]=deadbeef_file_browser

(EnterMode)=\
	Macro(FBROWSER_IC_FILL_LIST);\
	Macro(UpdateMenu);
	
GoTo($$)=\
	Macro(FBROWSER_IC_GO_TO);
	
Go Home($$)=\
	Macro(FBROWSER_IC_GO_HOME);
	
UpdateMenu=\
	Set(menu,add,GoTo,Add,Play,Go Home);

Add($$)=\
 	Exec(deadbeef --queue "$(fbrowser_dir)"/$(Param));

Play($$)=\
 	Exec(deadbeef "$(fbrowser_dir)"/$(Param));

Back($$)=\
        Make(mode,deadbeef);

%Push($$) use from aliases-server-fbrowser-v3i.cfg

[ModeEnd]

[End]