[Pkg-mpd-maintainers] Bug#970444: Can't connect to httpd stream on MPD
James Klaas
jklaas at appalachian.dyndns.org
Wed Sep 16 14:35:07 BST 2020
Package: mpd
Version: 0.21.5-3
I can no longer access the httpd mpd stream and I think this happened
after I upgraded to Buster.
I'm using the version of mpd.conf from the installation.
I set the music_directory entry and set audio_output to httpd stream.
Here's my audio_output section:
audio_output {
type "httpd"
name "My HTTP Stream"
encoder "vorbis" # optional, vorbis or lame
port "8000"
bind_to_address "0.0.0.0" # optional, IPv4 or IPv6
# quality "5.0" # do not define if bitrate
is defined
bitrate "128" # do not define if quality
is defined
format "44100:16:1"
# max_clients "0" # optional 0=no limit
}
If I try to connect to the httpd stream with curl for testing I get
the following:
curl http://192.168.47.122:8000
curl: (7) Failed to connect to 192.168.47.122 port 8000: Connection refused
I can connect to the 6600 port without issue:
curl http://192.168.47.122:6600
OK MPD 0.21.11
If I talk to the mpd server and ask for outputs, it says the stream is enabled:
mpc -h 192.168.47.122 outputs
Output 1 (My HTTP Stream) is enabled
More information about the Pkg-mpd-maintainers
mailing list