MiniDLNA server configuration file
reads configuration options from the
system-wide configuration file
, or the file specified with
on the command line. The file contains
keyword-argument pairs, one per line. Lines starting with
’ and empty lines are interpreted as
The possible keywords and their meanings are as follows:
- List of filenames to check for when searching for album art
cache, separated by forward slashes
/’). This option can be specified
more than once.
- Path to the directory
minidlnad should use to store its database
and album art cache. Uses /var/lib/minidlna
- Support for streaming .jpg and .mp3 files to a TiVo
supporting HMO. Set to “yes” to enable support for streaming
JPEG and mp3 files to a TiVo supporting HMO. Set to “no”
- Customize the name that the
minidlnad server sends to clients. Defaults
to “hostname: username”.
- Always set SortCriteria to this value, regardless of the
SortCriteria passed by the clien t. ( E.g.
- Set to “yes” to enable inotify monitoring of
the files under media_dir to automatically
discover new files. Set to “no” to disable inotify.
- Comma separated list of network interfaces to bind to.
Default is empty which means bind to all.
- Path to the directory where the log file should be stored.
Defaults to /var/log.
- Defines the type of messages that should be logged, and
down to which level of importance they should be considered.
The possible types are “artwork”, “database”,
“general”, “http”, “inotify”,
“metadata”, “scanner”, “ssdp”
The levels are “off”, “fatal”,
“error”, “warn”, “info” and
“debug”, listed here in order of decreasing importance.
“off” turns off logging messages entirely,
“fatal” logs the most critical messages only, and so on down
to “debug” that logs every single messages.
The types are comma-separated, followed by an equal sign
=’), followed by a level that
applies to the preceding types. This can be repeated, separating each of
these constructs with a comma.
which logs every type of message at the “warn” level.
- Specify maximum number of simultaneous connections. Note:
many clients open several simultaneous connections while streaming.
- Path to the directory containing the media files the
minidlnad server should share. Use this
option several times if you have more than one directory to share. To
restrict a path to one specific media type, you can use the following
syntax: the letter ‘
P’, followed by a comma
,’) followed by the path. The
meaning of the first letter is as follows:
For example, if you want to include only video files located in
/srv/multimedia/videos directory, and only music in /srv/multimedia/music,
then you would use
A’ for audio
V’ for video
P’ for image
Another example would be
Or, if you did not care what type it finds, then you could use
You can mix it up, find anything in music, but only Videos, in videos and
- Merge all media_dir base contents into the root container.
The default value is no.
- Path to the MiniSSDPd socket, if you want to use
minidlnad together with MiniSSDPd. Defaults
- Set the model name reported to clients. Defaults to
“Windows Media Connect compatible (MiniDLNA)”.
- Set the model number reported to clients. Defaults to the
version number of minidlnad.
- Network interface(s) to bind to (e.g. eth0), comma
delimited. This option can be specified more than once. If unspecified or
empty, minidlnad binds to all the valid
network interfaces (except loopback).
- Set the notify interval, in seconds. The default is 895
- Port number for HTTP traffic (descriptions, SOAP, media
transfe). This option is mandatory, unless the port number is specified on
the command-line using -p (see
- Define the URL presented to clients (e.g.
“http://example.com:80”). The default is
- Use a different container as the root of the tree exposed
to clients. The possible values
If you specify ‘
.’ to use the
standard container (this is the default);
B’ to use the
“Browse Directory” container;
M’ to use the
V’ to use the
P’ to use the
B’ and the client
device is audio only, then “Music/Folders” will be used as
the root container.
- Set the serial number reported to clients. Defaults to MAC
address od network interface.
- Set to “yes” to strictly adhere to DLNA
standards. This will allow server-side downscaling of very large JPEG
images, which may hurt JPEG serving performance on (at least) Sony DLNA
products. Set to “no” otherwise.
- Which method to use for registering in TiVo. By default
“bonjour” is used. You can switch to legacy
- Specify the user name or UID to run as. Beware that if you
are using the init script to start minidlnad,
then this option has no effect and you should set
- Specify device's UPnP UUID minidlna should use. By default
MAC address is used to build uniq UUID.
- Set to “yes” to allow symlinks that point
outside user-defined media_dir. By default,
wide symlinks are not followed.
- System-wide default configuration file.