MINIDLNA.CONF(5) | 5 (file formats manual) | MINIDLNA.CONF(5) |
minidlna.conf
—
MiniDLNA server configuration file
/etc/minidlna.conf |
minidlnad(1) reads configuration options from
the system-wide configuration file
/etc/minidlna.conf, or the file specified with
-f
on the command line. The file contains
keyword-argument pairs, one per line. Lines starting with
‘#
’ and empty lines are interpreted as
comments.
The possible keywords and their meanings are as follows:
album_art_names
/
’).
This option can be specified more than once.db_dir
minidlnad
should use to
store its database and album art cache. Uses
/var/lib/minidlna by default.enable_tivo
friendly_name
minidlnad
server sends
to clients. Defaults to “hostname: username”.force_sort_criteria
inotify
media_dir
to automatically discover new files. Set
to “no” to disable inotify.network_interface
log_dir
log_level
The possible types are “artwork”, “database”, “general”, “http”, “inotify”, “metadata”, “scanner”, “ssdp” and “tivo”.
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.
Defaults to “general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn” which logs every type of message at the “warn” level.
max_connections
media_dir
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 ‘A
’,
‘V
’ or
‘P
’, followed by a comma
(‘,
’) followed by the path. The
meaning of the first letter is as follows:
A
’ for audio files;V
’ for video files;P
’ for image files.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
media_dir=V,/srv/multimedia/videos
media_dir=A,/srv/multimedia/music
Another example would be
media_dir=V,/srv/multimedia/videos
media_dir=V,/srv/multimedia/movies
media_dir=A,/srv/multimedia/music
Or, if you did not care what type it finds, then you could use
media_dir=/srv/multimedia/videos
media_dir=/srv/multimedia/movies
media_dir=/srv/multimedia/music
You can mix it up, find anything in music, but only Videos, in
videos and movies
media_dir=V,/srv/multimedia/videos
media_dir=V,/srv/multimedia/movies
media_dir=/srv/multimedia/music
merge_media_dirs
minissdpdsocket
minidlnad
together with MiniSSDPd. Defaults to
/run/minissdpd.sock.model_name
model_number
minidlnad
.network_interface
minidlnad
binds to all the valid network
interfaces (except loopback).notify_interval
port
-p
(see
minidlnad(1)).presentation_url
/
’.root_container
.
’ to use the standard
container (this is the default);B
’ to use the “Browse
Directory” container;M
’ to use the
“Music” container;V
’ to use the
“Video” container;P
’ to use the
“Pictures” container.B
’ and the client
device is audio only, then “Music/Folders” will be used as
the root container.serial
strict_dlna
tivo_discovery
user
minidlnad
, then this option
has no effect and you should override default user in
minidlna.service for systemd or set
USER
in
/etc/default/minidlna for sysV init.uuid
wide_links
media_dir.
By default, wide symlinks
are not followed.June 7, 2013 | Debian |