Switch to unified view

a/doc/upmpdcli-config.txt b/doc/upmpdcli-config.txt
1
=== Upmpdcli general parameters 
1
=== Upmpdcli general parameters 
2
3
[[logfilename]]
4
logfilename:: Log file
5
name. Defaults to stderr. This can also be specified as -d
6
logfilename.
7
8
[[loglevel]]
9
loglevel:: Log
10
level. Can also be specified as -l loglevel.
11
12
[[pkgdatadir]]
13
pkgdatadir:: XML and other constant data storage
14
directory. Default: '$prefix/share/upmpcli' (e.g.:
15
'/usr/share/upmpdcli').
16
17
[[pidfile]]
18
pidfile:: Name of lock file used to store the
19
current process pid. Only used if the process is launched
20
by user root. Used by the init system, and to avoid multiple
21
instances. The only reason to change the value is if you actually want to
22
have several instances running (also change cachedir in this
23
case).
24
25
=== UPnP network parameters 
26
27
[[upnpiface]]
28
upnpiface:: Network interface to
29
use for UPnP. libupnp/pupnp only supports communicating on
30
a single interface and will use the first found, this allows forcing the
31
use of another interface.
32
33
[[upnpip]]
34
upnpip:: IP address to use for UPnP,
35
alternative to using an interface name. 
36
37
[[upnpport]]
38
upnpport:: Port number
39
used for UPnP. libupnp/pupnp defaults to using the first
40
free port after 49152. Note that clients do not need to know about the
41
value, which is automatically discovered.
42
43
=== Media Renderer parameters 
2
44
3
[[friendlyname]]
45
[[friendlyname]]
4
friendlyname:: "Friendly Name" for the
46
friendlyname:: "Friendly Name" for the
5
UPnP Media Renderer. This will be displayed by most Control
47
UPnP Media Renderer. This will be displayed by most Control
6
Points to identify the Renderer. Some OpenHome Control Points may display
48
Points to identify the Renderer. Some OpenHome Control Points may display
...
...
15
[[openhome]]
57
[[openhome]]
16
openhome:: Enable OpenHome services
58
openhome:: Enable OpenHome services
17
(0/1). This defaults to 1, as OpenHome queuing is superior
59
(0/1). This defaults to 1, as OpenHome queuing is superior
18
for most usages. There should be little reason to turn it
60
for most usages. There should be little reason to turn it
19
off.
61
off.
20
21
[[logfilename]]
22
logfilename:: Log file
23
name. Defaults to stderr. This can also be specified as -d
24
logfilename.
25
26
[[loglevel]]
27
loglevel:: Log
28
level. Can also be specified as -l loglevel.
29
62
30
[[checkcontentformat]]
63
[[checkcontentformat]]
31
checkcontentformat:: Check that
64
checkcontentformat:: Check that
32
input format is supported. Extract the protocolinfo
65
input format is supported. Extract the protocolinfo
33
information from the input metadata and check it against our supported
66
information from the input metadata and check it against our supported
...
...
41
probably permanent) *upmpdcli* limitations, the image file *must* be a
74
probably permanent) *upmpdcli* limitations, the image file *must* be a
42
64x64 32 bits-per-pixel png file. Default: '$pkgdatadir/icon.png'.
75
64x64 32 bits-per-pixel png file. Default: '$pkgdatadir/icon.png'.
43
The icon will only be read once, when upmpdcli starts
76
The icon will only be read once, when upmpdcli starts
44
up.
77
up.
45
78
46
[[pkgdatadir]]
47
pkgdatadir:: XML and other constant data storage
48
directory. Default: '$prefix/share/upmpcli' (e.g.:
49
'/usr/share/upmpdcli').
50
51
[[cachedir]]
79
[[cachedir]]
52
cachedir:: Directory used to store cached
80
cachedir:: Directory used to store cached
53
data Only used for the OpenHome queue metadata for now.
81
data Only used for the OpenHome queue metadata for now.
54
The default value is ~/.cache/upmpdcli for normal users or
82
The default value is ~/.cache/upmpdcli for normal users or
55
/var/cache/upmpdcli when upmpdcli is started as root.
83
/var/cache/upmpdcli when upmpdcli is started as root.
...
...
60
presentation page. The page will only be read once, when upmpdcli starts
88
presentation page. The page will only be read once, when upmpdcli starts
61
up. It can't presently be used for status updates (but I guess that you
89
up. It can't presently be used for status updates (but I guess that you
62
could put a redirect in there, to something more dynamic served by a real
90
could put a redirect in there, to something more dynamic served by a real
63
HTTP server). Default: '$pkgdatadir/presentation.html'.
91
HTTP server). Default: '$pkgdatadir/presentation.html'.
64
92
65
[[pidfile]]
66
pidfile:: Name of lock file used to store the
67
current process pid. Only used if the process is launched
68
by user root. Used by the init system, and to avoid multiple
69
instances. The only reason to change the value is if you actually want to
70
have several instances running (also change cachedir in this
71
case).
72
73
=== Tidal streaming service parameters 
74
75
[[tidaluser]]
76
tidaluser:: Tidal user name. Your Tidal login name.
77
78
[[tidalpass]]
79
tidalpass:: Tidal password. The password for your Tidal account.
80
81
[[tidalquality]]
82
tidalquality:: Tidal stream quality. 'low' and 'high' are aac
83
streams. 'lossless' is FLAC and will only work if your subscription
84
allows it.
85
86
=== Qobuz streaming service parameters 
87
88
[[qobuzuser]]
89
qobuzuser:: Qobuz user name. Your Qobuz login name.
90
91
[[qobuzpass]]
92
qobuzpass:: Qobuz password. The password for your Qobuz account.
93
94
[[qobuzformatid]]
95
qobuzformatid:: Qobuz stream quality. 5 for mp3/320, 7 for FLAC if
96
your subscription allows it.
97
98
=== Google Music streaming service parameters 
99
100
[[gmusicuser]]
101
gmusicuser:: Google Music user name. Your Google Music login name (probably a gmail address).
102
103
[[gmusicpass]]
104
gmusicpass:: Google Music password. The password for your Google Music account.
105
106
[[gmusicquality]]
107
gmusicquality:: Google Music stream quality. 'hi' for mp3/320, 'med'
108
for mp3/160, 'low' for mp3/128.
109
110
[[gmusicdeviceid]]
111
gmusicdeviceid:: Google Music device
112
id. Your system MAC address will be used by default, but
113
this will count against the maximum count of registered devices for this
114
account.  You can set the gmusicdeviceid value to the device ID from a
115
phone or tablet on which you also use Google Play Music.
116
117
=== Local Media Server parameters 
118
119
[[uprcluser]]
120
uprcluser:: Bogus user name variable. Used for consistency with other Media Server plugins to decide if
121
the service should be started (so, do set it if you want a Media Server).
122
123
124
[[uprclmediadirs]]
125
uprclmediadirs:: Media
126
directories This is a space-separated list of directories
127
to explore for music files. This is used directly as the recoll "topdirs"
128
value, so you can use double-quote quoting for paths with embedded
129
spaces.
130
131
[[uprclhostport]]
132
uprclhostport:: HTTP host and ports for
133
serving media files The Media Server HTTP server will run
134
on this address and port, which will also be inserted on the URLs we
135
produce. If the variable is not set, we will use port 9090 and the first
136
non-loopback ipv4 address in "ip addr" output, which may be right or
137
not. Example: 192.168.1.1:9090
138
139
[[uprclpaths]]
140
uprclpaths::  This is used
141
to translate real path to ones relative to the HTTP server doc tree. It
142
also performs a form of access control. If this is not set, uprcl will
143
use a null translation for each of the uprclmediadirs
144
entries.
145
146
[[uprclconfdir]]
147
uprclconfdir:: Recoll index
148
directory This is usually not defined and defaults to
149
/var/cache/upmpdcli/uprcl
150
151
[[uprclautostart]]
152
uprclautostart:: Initialize uprcl as soon as
153
upmpdcli starts This is useful because uprcl initialization
154
can take quite some time so it is better not to wait for the first
155
access. The general default is false for the autostart variables, so this
156
is normally explicitely set to true.
157
158
=== MPD parameters 
93
=== MPD parameters 
159
94
160
[[mpdhost]]
95
[[mpdhost]]
161
mpdhost:: Host MPD runs on. Defaults to localhost. This can also be specified as -h
96
mpdhost:: Host MPD runs on. Defaults to localhost. This can also be specified as -h
162
host
97
host
...
...
175
[[ownqueue]]
110
[[ownqueue]]
176
ownqueue:: Set if we own the MPD
111
ownqueue:: Set if we own the MPD
177
queue. If this is set (on by default), we own the MPD
112
queue. If this is set (on by default), we own the MPD
178
queue and will fearlessly clear it. Can also be specified as -q
113
queue and will fearlessly clear it. Can also be specified as -q
179
0|1.
114
0|1.
180
181
=== UPnP network parameters 
182
183
[[upnpiface]]
184
upnpiface:: Network interface to
185
use for UPnP. libupnp/pupnp only supports communicating on
186
a single interface and will use the first found, this allows forcing the
187
use of another interface.
188
189
[[upnpip]]
190
upnpip:: IP address to use for UPnP,
191
alternative to using an interface name. 
192
193
[[upnpport]]
194
upnpport:: Port number
195
used for UPnP. libupnp/pupnp defaults to using the first
196
free port after 49152. Note that clients do not need to know about the
197
value, which is automatically discovered.
198
115
199
=== Audio control hooks 
116
=== Audio control hooks 
200
117
201
[[onstart]]
118
[[onstart]]
202
onstart:: Command to run when playback is
119
onstart:: Command to run when playback is
...
...
332
interval (Seconds) between two cache saves. Increasing this
249
interval (Seconds) between two cache saves. Increasing this
333
may improve playlist load speed on a slow device. The default is to start
250
may improve playlist load speed on a slow device. The default is to start
334
a new save as soon as the previous one is done (if the list changed again
251
a new save as soon as the previous one is done (if the list changed again
335
inbetween).
252
inbetween).
336
253
254
=== Media Server general parameters 
255
256
[[msfriendlyname]]
257
msfriendlyname:: Friendly name for the
258
Media Server (if enabled). The default is to append
259
"-mediaserver" to the friendlyname value.
260
261
[[plgmicrohttpport]]
262
plgmicrohttpport:: IP port for the
263
tidal/qobuz/gmusic local HTTP service. The URLs for tracks
264
streamed from these services point to a local microhttpd server running on
265
this port (it uses redirection to the actual service URL when
266
actually streaming). The default is 49149.
267
268
=== Tidal streaming service parameters 
269
270
[[tidaluser]]
271
tidaluser:: Tidal user name. Your Tidal login name.
272
273
[[tidalpass]]
274
tidalpass:: Tidal password. The password for your Tidal account.
275
276
[[tidalquality]]
277
tidalquality:: Tidal stream quality. 'low' and 'high' are aac
278
streams. 'lossless' is FLAC and will only work if your subscription
279
allows it.
280
281
=== Qobuz streaming service parameters 
282
283
[[qobuzuser]]
284
qobuzuser:: Qobuz user name. Your Qobuz login name.
285
286
[[qobuzpass]]
287
qobuzpass:: Qobuz password. The password for your Qobuz account.
288
289
[[qobuzformatid]]
290
qobuzformatid:: Qobuz stream quality. 5 for mp3/320, 7 for FLAC if
291
your subscription allows it.
292
293
=== Google Music streaming service parameters 
294
295
[[gmusicuser]]
296
gmusicuser:: Google Music user name. Your Google Music login name (probably a gmail address).
297
298
[[gmusicpass]]
299
gmusicpass:: Google Music password. The password for your Google Music account.
300
301
[[gmusicquality]]
302
gmusicquality:: Google Music stream quality. 'hi' for mp3/320, 'med'
303
for mp3/160, 'low' for mp3/128.
304
305
[[gmusicdeviceid]]
306
gmusicdeviceid:: Google Music device
307
id. Your system MAC address will be used by default, but
308
this will count against the maximum count of registered devices for this
309
account.  You can set the gmusicdeviceid value to the device ID from a
310
phone or tablet on which you also use Google Play Music.
311
312
=== Local Media Server parameters 
313
314
[[uprcluser]]
315
uprcluser:: Bogus user name variable. Used for consistency with other Media Server plugins to decide if
316
the service should be started (so, do set it if you want a Media Server).
317
318
319
[[uprclmediadirs]]
320
uprclmediadirs:: Media
321
directories This is a space-separated list of directories
322
to explore for music files. This is used directly as the recoll "topdirs"
323
value, so you can use double-quote quoting for paths with embedded
324
spaces.
325
326
[[uprclhostport]]
327
uprclhostport:: HTTP host and ports for
328
serving media files The Media Server HTTP server will run
329
on this address and port, which will also be inserted on the URLs we
330
produce. If the variable is not set, we will use port 9090 and the first
331
non-loopback ipv4 address in "ip addr" output, which may be right or
332
not. Example: 192.168.1.1:9090
333
334
[[uprclpaths]]
335
uprclpaths::  This is used
336
to translate real path to ones relative to the HTTP server doc tree. It
337
also performs a form of access control. If this is not set, uprcl will
338
use a null translation for each of the uprclmediadirs
339
entries.
340
341
[[uprclconfdir]]
342
uprclconfdir:: Recoll index
343
directory This is usually not defined and defaults to
344
/var/cache/upmpdcli/uprcl
345
346
[[uprclautostart]]
347
uprclautostart:: Initialize uprcl as soon as
348
upmpdcli starts This is useful because uprcl initialization
349
can take quite some time so it is better not to wait for the first
350
access. The general default is false for the autostart variables, so this
351
is normally explicitely set to true.
352
337
=== Songcast Receiver parameters 
353
=== Songcast Receiver parameters 
338
354
339
[[sclogfilename]]
355
[[sclogfilename]]
340
sclogfilename:: Log file name for sc2mpd (default
356
sclogfilename:: Log file name for sc2mpd (default
341
stderr) The value *must not* be the same as the one used
357
stderr) The value *must not* be the same as the one used