NAME¶
minidlna.conf —
MiniDLNA server
configuration file
SYNOPSIS¶
DESCRIPTION¶
minidlna(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
- List of filenames to check for when searching for album art
cache, separated by forward slashes
(‘
/
’).
- db_dir
- Path to the directory minidlna should use
to store its database and album art cache. Uses
/var/lib/minidlna by default.
- enable_tivo
- Set to ‘
yes
’ to enable
support for streaming JPEG and mp3 files to a TiVo supporting HMO. Set to
‘no
’ otherwise.
- friendly_name
- Customize the name that the minidlna
server sends to clients.
- inotify
- Set to ‘
yes
’ to enable
inotify monitoring of the files under media_dir to
automatically discover new files. Set to
‘no
’ to disable inotify.
- listening_ip
- IPv4 address minidlna should listen
on.
- log_dir
- Path to the directory where the log file should be stored.
Defaults to /var/log.
- log_level
- Defines down to which level of importance messages should
be logged. Must be one of “off”, “fatal”,
“error”, “warn”, “info” or
“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.
- media_dir
- Path to the directory containing the media files the
minidlna 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 under the
/opt/media/videos directory, you would use
media_dir=V,/opt/media/videos.
After making changes to this option, you need to rebuild the database. If
you use an init script to start/stop minidlna, then you
should run (as root) service minidlna
force-reload. Otherwise, just add -R
to your usual minidlna command line
(minidlna [...]
-R).
- minissdpdsocket
- Path to the MiniSSDPd socket, if you want to use
minidlna together with MiniSSDPd. Defaults to
/run/minissdpd.sock.
- model_name
- Set the model name reported to clients. Defaults to
“Windows Media Connect compatible (MiniDLNA)”.
- model_number
- Set the model number reported to clients.
- network_interface
- Network interface to bind to.
- notify_interval
- Set the notify interval, in seconds. The default is 895
seconds.
- port
- Port for HTTP traffic. Defaults to port 80.
- presentation_url
- Define the presentation URL.
- root_container
- Use a different container as the root of the tree exposed
to clients. The possible values are:
- ‘
.
’
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.
If you specify ‘B
’ and the client device
is audio only, then “Music/Folders” will be used as the root
container.
- serial
- Set the serial number reported to clients.
- strict_dlna
- 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.
FILES¶
- /etc/minidlna.conf
- System-wide default configuration file.
SEE ALSO¶
minidlna(1)