This file is indexed.

/usr/share/anyremote/cfg-data/Server-mode/vlc.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
%
% anyremote configuration file for VLC (http://www.videolan.org/doc/play-howto/en/apb.html)
% management. (Server-mode)
%
% Thanks to Eric (petesahat at sf.net) for the patch
%
% prerequisites: amixer/pactl utility
% 

% STATUS stable
% TODO open DVD works strange
% XTEST yes
% SOUND mixer
% ENV no
% FBROWSER v.3i
% IPC app
% DEF_VIDEO_PLAYER   
% ALL_IN_ONE 
% MEDIACENTER video

GuiAppName=VLC
GuiAppBinary=vlc
GuiAppRun= P=`ps -ef|grep vlc|grep -v grep|grep -v anyremote|grep -v edit`; if [ "x$P" = "x" ]; then echo NOK; else echo OK; fi
GuiAppIcon=vlc.png
GuiAppType=Application
GuiAppProtocols=Server
GuiAppDesc=VLC media player is a highly portable multimedia player for various audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...) as well as DVDs, VCDs, and various streaming protocols. Control it through http interface.

[Protocol]=Server

(Init)=\
	Include($(CfgDir)/Utils/aliases-server.cfg);\
	Macro(SETUP_DEFAULT_MIXER);\
	Macro(TEST_QDBUS);\
        Include($(CfgDir)/Utils/aliases-server-fbrowser-v3i.cfg);\
	Macro(FBROWSER_IC_INIT);\
	Include($(CfgDir)/Utils/aliases-server-video-player.cfg);\
	Make(var,app_name,by_value,VLC);\
	Make(var,open_file,by_value,);\
	Make(var,vlc_dbus,by_value,qdbus org.mpris.MediaPlayer2.vlc /org/mpris/MediaPlayer2);\
	Make(var,do_app_init,by_value,1);\
	Make(var,vlc_dbus_layout,\
	     V=`$(CfgDir)/Utils/registry.sh $(TmpDir) get vlc_dbus_layout`;\
	     if [ "x$V" = "x" ]; then echo "3x4"; else echo $V; fi);\
	Make(var,app_manage_mode,by_value,vlc_dbus_$(vlc_dbus_layout));

(Exit)=\
	Macro(FBROWSER_IC_EXIT);\
	Exec($(CfgDir)/Utils/registry.sh $(TmpDir) set vlc_dbus_layout $(vlc_dbus_layout));

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

[Mode]=vlc_dbus_init : default_video_player_init

APP_IS_RUN=\
	Make(var,app_run,\
	     ID=`id -u`;P=`ps -fu $ID|grep vlc|grep -v grep|grep -v anyremote|grep -v edit`;\
	     if [ "x$P" = "x" ]; then echo 0; else echo 1; fi);

[ModeEnd]

[Mode]=vlc_dbus_general

APP_START_IF=\
	Set(title,$(open_file));\
	Exec(ID=`id -u`;\
	     P=`ps -fu $ID|grep vlc|grep -v grep|grep -v anyremote|grep -v edit`;\
	     if [ "x$P" = "x" ]; then \
	         cd "$(fbrowser_dir)"; vlc --control dbus $(open_file) 2> /dev/null& \
	     fi);

% Application window should be present in output of "wmctrl -l"
APP_RAISE=\
	Exec($(CfgDir)/Utils/run-or-switch-to.sh -switch vlc);

APP_QUIT=\
	Exec($(vlc_dbus) org.mpris.MediaPlayer2.Quit;sleep 1;V=`pgrep vlc`;if [ "x$V" != "x" ]; then pkill vlc; fi);

APP_FULLSCREEN=\
	Emulate(key,f);

PLAY =Exec($(vlc_dbus) org.mpris.MediaPlayer2.Player.Play);
PREV =Exec($(vlc_dbus) org.mpris.MediaPlayer2.Player.Previous);
NEXT =Exec($(vlc_dbus) org.mpris.MediaPlayer2.Player.Next);
RWD  =Emulate(keydown,Alt_L,key,Left,keyup,Alt_L);
FF   =Emulate(keydown,Alt_L,key,Right,keyup,Alt_L);
STOP =Exec($(vlc_dbus) org.mpris.MediaPlayer2.Player.Stop);
PAUSE=Exec($(vlc_dbus) org.mpris.MediaPlayer2.Player.Pause)

Open DVD=\
	Macro(APP_QUIT);\
	Exec(vlc --control dbus dvdsimple://);

Alt-F4=\
	Emulate(keydown,Alt_L,key,F4,keyup,Alt_L);

% no working setpos method
%VLC_GET_POS=\
%	Make(var,vlc_pos,qdbus org.mpris.MediaPlayer2.vlc /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Position);

Layout 3x4=\
	Make(mode,vlc_dbus_3x4);

Layout 5x1=\
	Make(mode,vlc_dbus_5x1);

[ModeEnd]

[Mode]=vlc_dbus_3x4 : vlc_dbus_general, default_video_player

APP_POST_SETUP=\
	Make(var,vlc_dbus_layout,by_value,3x4);\
	Make(var,app_manage_mode,by_value,vlc_dbus_$(vlc_dbus_layout));

APP_MENU=\
	Set(menu,replace,Open DVD,Alt-F4,Layout 5x1,PowerMgmt);\
	Macro(ALLIN1MENU);\
	Macro(MEDIACENTER_MENU);

% PowerMgmt by Utils/aliases-server.cfg

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

[Mode]=vlc_dbus_5x1 : vlc_dbus_general,default_video_player_5x1 

APP_POST_SETUP=\
	Make(var,vlc_dbus_layout,by_value,5x1);\
	Make(var,app_manage_mode,by_value,vlc_dbus_$(vlc_dbus_layout));

APP_MENU=\
	Set(menu,replace,Help,Mute,Quit,Files,Open DVD,Alt-F4,Layout 3x4,IMDB,PowerMgmt);\
	Macro(ALLIN1MENU);\
	Macro(MEDIACENTER_MENU);

[ModeEnd]

[End]