This file is indexed.

/usr/share/anyremote/cfg-data/Server-mode/template-player.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
%
% anyRemote template configuration file for an player management (Server-mode)
% prerequisites: amixer/pactl utility
%

% STATUS testing
% XTEST no
% SOUND mixer
% ENV no
% DEF_PLAYER   
% ALL_IN_ONE 
% MEDIACENTER audio 

GuiAppName=Some player
GuiAppBinary=player.exe
GuiAppRun= P=`ps -ef|grep player.exe|grep -v grep|grep -v anyremote|grep -v edit`; if [ "x$P" = "x" ]; then echo NOK; else echo OK; fi
GuiAppIcon=some_player.png
GuiAppType=Application
GuiAppProtocols=Server
GuiAppDesc=anyRemote template configuration file for an player management

[Protocol]=Server

(Init)=\
	Include($(CfgDir)/Utils/aliases-server.cfg);\
	Macro(SETUP_DEFAULT_MIXER);\
	Make(var,player_name,by_value,Some player);\
	Include($(CfgDir)/Utils/aliases-server-player.cfg);
	
(Connect)=\
	Make(mode,some_player);

[Mode]=some_player : default_player

% (EnterMode) by Utils/aliases-server-player.cfg

APP_PRE_SETUP=\
	Exec(echo "add some specific actions, if needed");
	
APP_POST_SETUP=\
	Exec(echo "add some specific actions, if needed");

APP_MENU=\
	Set(menu,replace,Add,Some,Custom,Items,PowerMgmt);\
	Macro(ALLIN1MENU);\
	Macro(MEDIACENTER_MENU);

% PowerMgmt by Utils/aliases-server.cfg

Add=Exec(echo "Custom Action 1");
Some=Exec(echo "Custom Action 2");
Custom=Exec(echo "Custom Action 3");
Items=Exec(echo "Custom Action 4");

% Volume control and 0-9,*,# assignments by Utils/aliases-server-player.cfg

PLAY =Exec(echo play);
RWD  =Exec(echo rewind)
FF   =Exec(echo fastforward)
PREV =Exec(echo previous)
STOP =Exec(echo stop);
NEXT =Exec(echo next)
PAUSE=Exec(echo pause);

RUN_OR_QUIT=\
	Make(var,player_exec_cmd,\
	     P=`ps -ef|grep player.exe|grep -v grep|grep -v anyremote|grep -v edit`;\
	     if [ "x$P" = "x" ]; then echo RUN_IF_NEED else echo APP_QUIT; fi);\
	Macro($(player_exec_cmd));

RUN_IF_NEED=\
	Exec(P=`ps -ef|grep player.exe|grep -v grep|grep -v anyremote|grep -v edit`; if [ "x$P" = "x" ]; then echo "run player"; fi);


APP_QUIT=\
	Exec(echo "quit player");

[ModeEnd]

[End]