1 .\" Man page for minidlna.conf
3 .\" This man page is based on the comments in the default configuration file
4 .\" shipped with the minidlna source. Consequently, it is licensed under the
7 .\" Copyright (C) 2009 Justin Maggard <jmaggard@users.sourceforge.net>
8 .\" Copyright (C) 2010-2011 BenoƮt Knecht <benoit.knecht@fsfe.org>
10 .\" This package is free software; you can redistribute it and/or modify
11 .\" it under the terms of the GNU General Public License version 2 as
12 .\" published by the Free Software Foundation.
14 .\" This package is distributed in the hope that it will be useful,
15 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
16 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 .\" GNU General Public License for more details.
19 .\" You should have received a copy of the GNU General Public License
20 .\" along with this program. If not, see <http://www.gnu.org/licenses/>
22 .\" On Debian systems, the complete text of the GNU General
23 .\" Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
25 .Dt MINIDLNA.CONF \&5 "File Formats Manual"
29 .Nd MiniDLNA server configuration file
31 .Nm /etc/minidlna.conf
34 reads configuration options from the system-wide configuration file
35 .Pa /etc/minidlna.conf ,
36 or the file specified with
38 on the command line. The file contains keyword-argument pairs, one per line.
41 and empty lines are interpreted as comments.
44 keywords and their meanings are as follows:
46 .It Cm album_art_names
47 List of filenames to check for when searching for album art cache, separated by
50 This option can be specified more than once.
54 should use to store its database and album art cache. Uses
60 to enable support for streaming JPEG and mp3 files to a TiVo supporting HMO.
65 Customize the name that the
67 server sends to clients. Defaults to
68 .Dq hostname:\ username .
72 to enable inotify monitoring of the files under
74 to automatically discover new files. Set to
81 .Pq e.g. Dq 198.51.100.1/24 .
82 If omitted, the mask defaults to /24. This option can be specified more than
83 once. If unspecified or empty,
85 binds to the network interfaces given in
86 .Cm network_interface ;
87 if it is also unspecified or empty, it binds to all the valid network
91 Path to the directory where the log file should be stored. Defaults to
94 Defines the type of messages that should be logged, and down to which level of
95 importance they should be considered.
97 The possible types are
117 listed here in order of decreasing importance.
119 turns off logging messages entirely,
121 logs the most critical messages only, and so on down to
123 that logs every single messages.
125 The types are comma-separated, followed by an equal sign
127 followed by a level that applies to the preceding types. This can be repeated,
128 separating each of these constructs with a comma.
131 .Dq general,\:artwork,\:database,\:inotify,\:scanner,\:metadata,\:http,\:\
133 which logs every type of message at the
137 Path to the directory containing the media files the
139 server should share. Use this option several times if you have more than one
140 directory to share. To restrict a path to one specific media type, you can use
141 the following syntax: the letter
148 followed by the path. The meaning of the first letter is as follows:
149 .Bl -bullet -offset indent -compact
160 For example, if you want to include only video files located under the
161 .Pa /opt/media/videos
162 directory, you would use
163 .Cm media_dir=V,/opt/media/videos .
165 After making changes to this option, you need to rebuild the database.
166 If you use an init script to start/stop
183 .It Cm minissdpdsocket
184 Path to the MiniSSDPd socket, if you want to use
186 together with MiniSSDPd. Defaults to
187 .Pa /run/minissdpd.sock .
189 Set the model name reported to clients.
191 .Dq Windows Media Connect compatible (MiniDLNA) .
193 Set the model number reported to clients. Defaults to the version number of
195 .It Cm network_interface
196 Network interface(s) to bind to
198 comma delimited. This option can be specified more than once. If unspecified or empty,
200 binds to the IPs given in
202 if it is also unspecified or empty, it binds to all the valid network
204 .Pq except loopback .
205 .It Cm notify_interval
206 Set the notify interval, in seconds. The default is 895 seconds.
208 Port number for HTTP traffic
209 .Pq descriptions, SOAP, media transfe .
210 This option is mandatory, unless the port number is specified on the
212 .Fl p Pq see Xr minidlna 1 .
213 .It Cm presentation_url
214 Define the URL presented to clients
215 .Pq e.g. Dq http://example.com:80 .
218 .It Cm root_container
219 Use a different container as the root of the tree exposed to clients. The
221 .Bl -bullet -offset indent -compact
224 to use the standard container (this is the default);
248 and the client device is audio only, then
250 will be used as the root container.
252 Set the serial number reported to clients. Defaults to
257 to strictly adhere to DLNA standards. This will allow server-side downscaling
258 of very large JPEG images, which may hurt JPEG serving performance on (at
259 least) Sony DLNA products. Set to
265 .It Pa /etc/minidlna.conf
266 System-wide default configuration file.