configuration: add mpd_password option (#407)

Although this can already be set via mpd_host, having a separate option
is cleaner, and doesn't require setting the host when ncmpcpp already
detects it correctly.
This commit is contained in:
V
2021-01-24 19:15:59 +01:00
committed by GitHub
parent 5dfbd3f23a
commit d9c55771bb
5 changed files with 11 additions and 0 deletions

View File

@@ -27,6 +27,8 @@
#
#mpd_port = 6600
#
#mpd_password = ""
#
#mpd_connection_timeout = 5
#
## Needed for tag editor and file operations to work.

View File

@@ -74,6 +74,9 @@ Connect to MPD running on specified host/unix socket. When HOST starts with a '/
.B mpd_port = PORT
Connect to MPD on the specified port. Note: MPD_PORT environment variable overrides this setting.
.TP
.B mpd_password = PASSWORD
Use PASSWORD to authenticate to MPD.
.TP
.B mpd_music_dir = PATH
Search for files in specified directory. This is needed for tag editor to work.
.TP