aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-04-13 21:01:19 +0200
committerMax Kellermann <max@duempel.org>2010-04-13 21:31:57 +0200
commit393bcd961ab750b2fdeba03e18f16b39ac82d38a (patch)
tree632e34a1bd208fc05869b7450e818ddf7e95fc93 /doc
parent4d1eedbaa2be7e9e59f2332d9bf8886b9b634070 (diff)
inotify: added setting "auto_update_depth"
Limits the depth of the watched directories. This is useful to keep resource usage down and speed up MPD startup.
Diffstat (limited to 'doc')
-rw-r--r--doc/mpd.conf.54
-rw-r--r--doc/mpdconf.example6
2 files changed, 10 insertions, 0 deletions
diff --git a/doc/mpd.conf.5 b/doc/mpd.conf.5
index 48b276d5..e0a30449 100644
--- a/doc/mpd.conf.5
+++ b/doc/mpd.conf.5
@@ -253,6 +253,10 @@ comments.
This specifies the wheter to support automatic update of music database when
files are changed in music_directory. The default is to disable autoupdate
of database.
+.TP
+.B auto_update_depth <N>
+Limit the depth of the directories being watched, 0 means only watch
+the music directory itself. There is no limit by default.
.SH REQUIRED AUDIO OUTPUT PARAMETERS
.TP
.B type <type>
diff --git a/doc/mpdconf.example b/doc/mpdconf.example
index 1a054709..3b69e9bb 100644
--- a/doc/mpdconf.example
+++ b/doc/mpdconf.example
@@ -118,6 +118,12 @@
# music_directory are changed.
#
#auto_update "yes"
+#
+# Limit the depth of the directories being watched, 0 means only watch
+# the music directory itself. There is no limit by default.
+#
+#auto_update_depth "3"
+#
###############################################################################