aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorRaphaƫl Rigo <devel-mpd@syscall.eu>2008-11-28 10:57:39 +0100
committerMax Kellermann <max@duempel.org>2008-11-28 10:57:39 +0100
commit5b089f85fd6cf3139768f450b8c18fe9d9211b73 (patch)
tree2cd22bb8954a9b03a7298a48beb7766c06c5ec9a /doc
parent011855d22bbf9bc8e1589fd16e386fb181724ad3 (diff)
downloadmpd-5b089f85fd6cf3139768f450b8c18fe9d9211b73.tar.gz
mpd-5b089f85fd6cf3139768f450b8c18fe9d9211b73.tar.xz
mpd-5b089f85fd6cf3139768f450b8c18fe9d9211b73.zip
update: added options which control symlink behaviour
The configuration options "follow_outside_symlinks" and "follow_inside_symlinks" let the user control whether MPD should follow symbolic links in the music directory. [mk: converted variables to "bool"; moved configuration to update_global_init()]
Diffstat (limited to '')
-rw-r--r--doc/mpd.conf.511
-rw-r--r--doc/mpdconf.example2
2 files changed, 13 insertions, 0 deletions
diff --git a/doc/mpd.conf.5 b/doc/mpd.conf.5
index 60fd8ebcc..4427b9798 100644
--- a/doc/mpd.conf.5
+++ b/doc/mpd.conf.5
@@ -35,6 +35,17 @@ This specifies the directory where music is located.
.B playlist_directory <directory>
This specifies the directory where saved playlists are stored.
.TP
+.B follow_outside_symlinks <yes or no>
+Control if MPD will follow symbolic links pointing outside the music dir.
+You must recreate the database after changing this option.
+The default is "no".
+.TP
+.B follow_inside_symlinks <yes or no>
+Control if MPD will follow symbolic links pointing outside the music dir, potentially
+adding duplicates to the database.
+You must recreate the database after changing this option.
+The default is "yes".
+.TP
.B db_file <file>
This specifies where the db file will be stored.
.TP
diff --git a/doc/mpdconf.example b/doc/mpdconf.example
index bb42b3f17..151c9464f 100644
--- a/doc/mpdconf.example
+++ b/doc/mpdconf.example
@@ -7,6 +7,8 @@ playlist_directory "~/.mpd/playlists"
db_file "~/.mpd/mpd.db"
log_file "~/.mpd/mpd.log"
error_file "~/.mpd/mpd.error"
+#follow_outside_symlinks "no"
+#follow_inside_symlinks "yes"
################################################################