1minidlna.conf(5) File Formats Manual minidlna.conf(5)
2
3
4
6 minidlna
7
9 minidlna is a light weight but very functional DLNA server. In most
10 cases, the defaults do not need modifications. The global configuration
11 file is /etc/minidlna.conf but local users without system root access
12 can run minidlna with their own configuration file.
13
14
16 The following are user configurable options in /etc/minidlna.conf.
17 minidlna runs by default as user nobody, so make sure system permis‐
18 sions are set correctly for read access to media and write access to
19 cache and log dirs.
20
21
22 friendly_name
23 The name you want your media server seen as, EG:
24 friendly_name=Home Media Server
25
26
27 port
28 Port for HTTP (descriptions, SOAP, media transfer) traffic etc, defaults to 8200.
29 There should be no need to change this.
30
31
32 network_interface
33 Network interfaces to serve, comma delimited. Maximum is 8 in‐
34 terfaces. Defaults to all.
35
36
37 strict_dlna
38 Set this to strictly adhere to DLNA standards.
39 This will allow server-side downscaling of very large JPEG images,
40 which may hurt JPEG serving performance on (at least) Sony DLNA products.
41
42
43 notify_interval
44 Notify interval in seconds. The default is 895 seconds.
45
46
47
48 minissdpdsocket
49 Specify the path to the MiniSSDPd socket,
50 EG: minissdpdsocket=/var/run/minissdpd.sock
51
52
53 serial
54 Serial number the daemon will report to clients in its XML description.
55 Defaults to 12345678
56
57
58 model
59 Model number the daemon will report to clients in its XML description.
60 Defaults to 1
61
62
63 media_dir
64 Path to the directory containing the media files minidlna should share.
65 Use this option multile times if you have more than one directory to share.
66
67 Example:
68 media_dir=/opt/multimedia/videos
69 media_dir=/opt/multimedia/movies
70
71 You can also restrict an entry to a specific media type, you do this by
72 using the following syntax:
73 the letter 'A', 'V' or 'P', followed by a comma (',') followed by the path.
74 The meaning of the first letter is as follows:
75 'A' for audio files
76 'V' for video files
77 'P' for image files
78
79 For example, if you want to include only video files located
80 in /opt/multimedia/videos directory, and only music
81 in /opt/multimedia/music, then you would use
82 media_dir=V,/opt/multimedia/videos
83 media_dir=A,/opt/multimedia/music
84
85 Another example would be
86 media_dir=V,/opt/multimedia/videos
87 media_dir=V,/opt/multimedia/movies
88 media_dir=A,/opt/multimedia/music
89
90 Or, if you did not care what type it finds, then you could use
91 media_dir=/opt/multimedia/videos
92 media_dir=/opt/multimedia/movies
93 media_dir=/opt/multimedia/music
94
95 You can mix it up, find anything in music, but only Videos, in videos and movies
96 media_dir=V,/opt/multimedia/videos
97 media_dir=V,/opt/multimedia/movies
98 media_dir=/opt/multimedia/music
99
100
101
102 presentation_url
103 Default presentation url is http address on port 80
104 EG: presentation_url=http://www.mediaserver.lan/index.php
105
106
107 db_dir Where minidlna stores the data files, including Album cache
108 files, by default this is /var/cache/minidlna
109
110
111 log_dir
112 Path to the directory where the log file upnp-av.log should be
113 stored, this defaults to /var/log
114
115
116 log_level
117 Set this to change the verbosity of the information that is
118 logged each section can use a different level: off, fatal, er‐
119 ror, warn, info, or debug
120
121 Example
122 log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn
123
124
125 inotify
126 Set to 'yes' to enable inotify monitoring of the files under me‐
127 dia_dir to automatically discover new files. Set to 'no' to dis‐
128 able inotify.
129
130
131 album_art_names
132 This should be a list of file names to check for when searching
133 for album art and names should be delimited with a forward slash
134 ("/").
135
136 Example
137 album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg
138 /albumart.jpg/Album.jpg/album.jpg/Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg
139
140
141
142 enable_tivo
143 Set this to yes to enable support for streaming .jpg and .mp3
144 files to a TiVo supporting HMO, default is no.
145
146
147 tivo_discovery
148 Set this to 'beacon' to use the legacy TiVo broadcast discovery
149 method. Defaults to using Bonjour if Avahi support is available.
150
151
152 root_container
153 Use a different container as the root of the tree exposed to
154 clients.
155 The possible values are:
156 '.' to use the standard container (this is the default)
157 'B' to use the "Browse Directory" container;
158 'M' to use the "Music" container;
159 'V' to use the "Video" container;
160 'P' to use the "Pictures" container.
161 If you specify 'B' and the client device is audio only, then
162 "Music/Folders" will be used as root container and you wont see Videos.
163
164
165 force_sort_criteria
166 Always force SortCriteria to this value, regardless of the
167 SortCriteria passed by the client.
168 You may prepend the sort criteria with "!" to alter the titles of the objects so that they
169 will be alphanumerically sorted in the order you specify here, to work around clients that do
170 their own alphanumeric sorting.
171
172 Example
173 force_sort_criteria=+upnp:class,+upnp:originalTrackNumber,+dc:title
174
175
176
177 wide_links
178 Set to 'yes' to allow symlinks that point outside user-defined
179 media_dirs. By default, wide symlinks are not followed.
180
181
182 enable_subtitles
183 Set to 'no' to disable subtitle support on unknown clients. By
184 default, subtitles are enabled for unknown or generic clients.
185
186
187
188
190 This manpage corresponds to minidlna version 1.3.0
191
192
194 minidlna developed by Justin Maggard https://sourceforge.net/projects/minidlna/
195 man page written by Noel Butler <noelb@ausics.net>
196
197
199 GPL
200
201
203 /etc/minidlna.conf
204
205
207 minidlna(8)
208
209
210
211
212 October 2012 minidlna.conf(5)