minidlna.conf(5)
π minidlna.conf(5) π
hiii bestie, welcome to the minidlna.conf(5) manual page (yes, that's the File Formats Manual section, we're fancy here) β¨ this is the group chat briefing on how to configure your DLNA server, and honestly? it's giving main character energy.
π NAME π
minidlna β the config file situation for your very own media server π
β¨ DESCRIPTION β¨
okay so minidlna is a light weight but very functional DLNA server. no cap. and here's the slay part: in most cases, the defaults do not need modifications β she just works π
the global configuration file lives at /etc/minidlna.conf, but lowkey if you're a local user without system root access, you can still run minidlna with your own configuration file. icon behavior π«Ά
πΈ OPTIONS πΈ
these are the user configurable options in /etc/minidlna.conf. heads up though β minidlna runs by default as user nobody, so make sure your system permissions are set correctly: read access to media, and write access to the cache and log dirs. do not skip this, fr fr π
friendly_nameβ the name you want your media server to be seen as. EG:
friendly_name=Home Media Server
portβ port for HTTP (descriptions, SOAP, media transfer) traffic etc, defaults to8200. there should be no need to change this tbh.network_interfaceβ network interfaces to serve, comma delimited. maximum is8interfaces. defaults to all.strict_dlnaβ set this 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. so like, tradeoffs πnotify_intervalβ notify interval in seconds. the default is895seconds.minissdpdsocketβ specify the path to the MiniSSDPd socket, EG:
minissdpdsocket=/var/run/minissdpd.sock
serialβ serial number the daemon will report to clients in its XML description. defaults to12345678modelβ model number the daemon will report to clients in its XML description. defaults to1media_dirβ path to the directory containing the media filesminidlnashould share. use this option multiple times if you have more than one directory to share π¦
Example:
media_dir=/opt/multimedia/videos
media_dir=/opt/multimedia/movies
π restricting a media_dir to a specific media type π
you can also restrict an entry to a specific media type β you do this by using the following syntax: the letter 'A', 'V' or 'P', followed by a comma (,), followed by the path. the meaning of that 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 /opt/multimedia/videos directory, and only music in /opt/multimedia/music, then you would use:
media_dir=V,/opt/multimedia/videos
media_dir=A,/opt/multimedia/music
another example would be:
media_dir=V,/opt/multimedia/videos
media_dir=V,/opt/multimedia/movies
media_dir=A,/opt/multimedia/music
or, if you did not care what type it finds, then you could use:
media_dir=/opt/multimedia/videos
media_dir=/opt/multimedia/movies
media_dir=/opt/multimedia/music
and yes you can mix it up β find anything in music, but only Videos, in videos and movies:
media_dir=V,/opt/multimedia/videos
media_dir=V,/opt/multimedia/movies
media_dir=/opt/multimedia/music
π the rest of the options π
presentation_urlβ default presentation url is http address on port80. EG:
presentation_url=http://www.mediaserver.lan/index.php
db_dirβ whereminidlnastores the data files, including Album cache files. by default this is/var/cache/minidlnalog_dirβ path to the directory where the log fileupnp-av.logshould be stored, this defaults to/var/loglog_levelβ set this to change the verbosity of the information that is logged. each section can use a different level:off,fatal,error,warn,info, ordebug
Example:
log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn
inotifyβ set to'yes'to enable inotify monitoring of the files undermedia_dirto automatically discover new files. set to'no'to disable inotify.album_art_namesβ this should be a list of file names to check for when searching for album art, and names should be delimited with a forward slash (/).
Example:
album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg
/albumart.jpg/Album.jpg/album.jpg/Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg
enable_tivoβ set this to yes to enable support for streaming.jpgand.mp3files to a TiVo supporting HMO, default is no.tivo_discoveryβ set this to'beacon'to use the legacy TiVo broadcast discovery method. defaults to using Bonjour if Avahi support is available.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 root container and you wont see Videos. π
force_sort_criteriaβ always force SortCriteria to this value, regardless of the SortCriteria passed by the client. you may prepend the sort criteria with"!"to alter the titles of the objects so that they will be alphanumerically sorted in the order you specify here, to work around clients that do their own alphanumeric sorting.
Example:
force_sort_criteria=+upnp:class,+upnp:originalTrackNumber,+dc:title
wide_linksβ set to'yes'to allow symlinks that point outside user-definedmedia_dirs. by default, wide symlinks are not followed.enable_subtitlesβ set to'no'to disable subtitle support on unknown clients. by default, subtitles are enabled for unknown or generic clients.
π VERSION π
this manpage corresponds to minidlna version 1.3.0 β periodt.
π§ AUTHOR π§
minidlna developed by Justin Maggard β https://sourceforge.net/projects/minidlna/
man page written by Noel Butler <noelb@ausics.net>
β LICENSE β
GPL β that's the whole section, she's concise π
π¦ FILES π¦
/etc/minidlna.conf
π₯ SEE ALSO π₯
minidlna(8)
okay that's the whole page bestie, you're officially minidlna-conf-literate π muah π
written up in October 2012 for the minidlna.conf(5) page in the File Formats Manual β go forth and configure, you gorgeous nerd πβ¨
π¦ where this page comes from
- alpine 3.24: minidlna-doc 1.3.3-r3 Β· GPL-2.0-or-later AND BSD-3-Clause
- arch rolling: minidlna 1.3.3-7 Β· GPL
- epel 10: minidlna 1.3.3-13.el10_1 Β· BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-only AND GPL-2.0-or-later
- epel 9: minidlna 1.3.3-14.el9 Β· BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-only AND GPL-2.0-or-later
- fedora 43: minidlna 1.3.3-14.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-only AND GPL-2.0-or-later
- fedora 44: minidlna 1.3.3-16.fc44 Β· BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-only AND GPL-2.0-or-later
- nixos 26.05: minidlna 1.3.3
- nixpkgs unstable: minidlna 1.3.3
- opensuse-leap 16.0: minidlna 1.3.3-bp160.1.21 Β· GPL-2.0-or-later
- opensuse-leap 16.0: minidlna 1.3.3-bp160.1.21 Β· GPL-2.0-or-later
- opensuse-leap 16.0: minidlna 1.3.3-bp160.1.21 Β· GPL-2.0-or-later
- opensuse-leap 16.0: minidlna 1.3.3-bp160.1.21 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms