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()]
This commit is contained in:
committed by
Max Kellermann
parent
011855d22b
commit
5b089f85fd
@@ -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
|
||||
|
||||
@@ -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"
|
||||
################################################################
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user