summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2012-10-11 18:09:46 +0200
committerLars-Dominik Braun <lars@6xq.net>2012-10-21 20:55:29 +0200
commit962dee5cdd3b468318916d9c8862bc4c3653c402 (patch)
tree310896a514914d98e9bf2226aae8fe40f40c3050 /contrib
parent5fd56271bfb4a407fffcd8633b54501e42415ead (diff)
downloadpianobar-windows-962dee5cdd3b468318916d9c8862bc4c3653c402.tar.gz
pianobar-windows-962dee5cdd3b468318916d9c8862bc4c3653c402.tar.bz2
pianobar-windows-962dee5cdd3b468318916d9c8862bc4c3653c402.zip
New setting: Read password from external command
Closes #314.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/config-example2
-rw-r--r--contrib/pianobar.16
2 files changed, 8 insertions, 0 deletions
diff --git a/contrib/config-example b/contrib/config-example
index f52d3a0..dbc8cc5 100644
--- a/contrib/config-example
+++ b/contrib/config-example
@@ -5,6 +5,8 @@
# User
#user = your@user.name
#password = password
+# or
+#password_command = gpg --decrypt ~/password
# Proxy (for those who are not living in the USA)
#control_proxy = http://127.0.0.1:9090/
diff --git a/contrib/pianobar.1 b/contrib/pianobar.1
index 4cc6d00..53bb301 100644
--- a/contrib/pianobar.1
+++ b/contrib/pianobar.1
@@ -297,6 +297,12 @@ Icon for loved songs.
Your pandora.com password. Plain-text.
.TP
+.B password_command = gpg --decrypt ~/password
+Use output of command as password. This setting is overridden by specifying a
+password with
+.B password.
+
+.TP
.B proxy = http://user:password@host:port/
Use a http proxy. Note that this setting overrides the http_proxy environment
variable. Only "Basic" http authentication is supported.