diff options
author | Max Kellermann <max@duempel.org> | 2009-04-25 13:35:04 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-04-25 13:35:04 +0200 |
commit | 11bcd7f01387440f87f19435f3fa41ede43f5c18 (patch) | |
tree | 14d53526ed34c34e7e380b421bff8c9d882e5cdc /doc | |
parent | bd014483c229c2eb58bdfb029b6ac06790b198a9 (diff) | |
download | mpd-11bcd7f01387440f87f19435f3fa41ede43f5c18.tar.gz mpd-11bcd7f01387440f87f19435f3fa41ede43f5c18.tar.xz mpd-11bcd7f01387440f87f19435f3fa41ede43f5c18.zip |
curl: moved proxy settings to "input" block
The old global settings "http_proxy_host", "http_proxy_port",
"http_proxy_user" and "http_proxy_password" continue to work.
Diffstat (limited to '')
-rw-r--r-- | doc/mpd.conf.5 | 12 | ||||
-rw-r--r-- | doc/mpdconf.example | 26 | ||||
-rw-r--r-- | doc/user.xml | 30 |
3 files changed, 45 insertions, 23 deletions
diff --git a/doc/mpd.conf.5 b/doc/mpd.conf.5 index c66937513..f6ac80f63 100644 --- a/doc/mpd.conf.5 +++ b/doc/mpd.conf.5 @@ -210,16 +210,8 @@ The default is 10%, a little over 1 second of CD-quality audio with the default buffer size. .TP .B http_proxy_host <hostname> -Use to specify the proxy host used for HTTP connections. -.TP -.B http_proxy_port <port> -The port that the HTTP proxy host uses. -.TP -.B http_proxy_user <username> -If the HTTP proxy server requires authentication, this specifies the username. -.TP -.B http_proxy_password <password> -If the HTTP proxy server requires authentication, this specifies the password. +This setting is deprecated. Use the "proxy" setting in the "curl" +input block. See MPD user manual for details. .TP .B connection_timeout <seconds> If a client does not send any new data in this time period, the connection is diff --git a/doc/mpdconf.example b/doc/mpdconf.example index e231296fe..abaef1c1c 100644 --- a/doc/mpdconf.example +++ b/doc/mpdconf.example @@ -149,6 +149,19 @@ ############################################################################### +# Input ####################################################################### +# + +input { + plugin "curl" +# proxy "proxy.isp.com:8080" +# proxy_user "user" +# proxy_password "password" +} + +# +############################################################################### + # Audio Output ################################################################ # # MPD supports various audio output types, as well as playing through multiple @@ -325,19 +338,6 @@ ############################################################################### -# HTTP Streaming Proxy ######################################################## -# -# This setting specifies the HTTP proxy to use for playing HTTP streams. These -# settings will be disabled by default. -# -#http_proxy_host "proxy.isp.com" -#http_proxy_port "8080" -#http_proxy_user "user" -#http_proxy_password "password" -# -############################################################################### - - # Resource Limitations ######################################################## # # These settings are various limitations to prevent MPD from using too many diff --git a/doc/user.xml b/doc/user.xml index 3925aa2b8..2fb27fc4d 100644 --- a/doc/user.xml +++ b/doc/user.xml @@ -303,6 +303,36 @@ cd mpd-0.14.2</programlisting> <para> Opens remote files or streams over HTTP. </para> + + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>Setting</entry> + <entry>Description</entry> + </row> + </thead> + <tbody> + <row> + <entry> + <varname>proxy</varname> + </entry> + <entry> + Sets the address of the HTTP proxy server. + </entry> + </row> + <row> + <entry> + <varname>proxy_user</varname>, + <varname>proxy_password</varname> + </entry> + <entry> + Configures proxy authentication. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> </section> <section> |