Closed pdgendt closed 7 years ago
I don't see how I can help you with this problem. This is a communication failure between libCURL and the HTTP server. Apparently, the server has closed the socket prematurely, and CURL complains about that. I don't know why the server has done that, and why this is related to redirecting servers. And I cannot reproduce it.
A stream URL (redirect) with the following headers:
Isn't evaluated again when the redirected URL is expired. This is a particular issue if you paused playback for some time.
Error in log:
Oct 12 11:47 : exception: CURL failed: Recv failure: Connection reset by peer
MPD version
``` Music Player Daemon 0.20.9 Copyright (C) 2003-2007 Warren Dukes
Copyright 2008-2017 Max Kellermann
This is free software; see the source for copying conditions. There is NO
warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Database plugins:
simple proxy upnp
Storage plugins:
local curl
Decoders plugins:
[mad] mp3 mp2
[mpg123] mp3
[vorbis] ogg oga
[oggflac] ogg oga
[flac] flac
[sndfile] wav aiff aif au snd paf iff svx sf voc w64 pvf xi htk caf sd2
[audiofile] wav au aiff aif
[faad] aac
[wavpack] wv
[ffmpeg] 16sv 3g2 3gp 4xm 8svx aa3 aac ac3 adx afc aif aifc aiff al alaw amr anim apc ape asf atrac au aud avi avm2 avs bap bfi c93 cak cin cmv cpk daud dct divx dts dv dvd dxa eac3 film flac flc fli fll flx flv g726 gsm gxf iss m1v m2v m2t m2ts m4a m4b m4v mad mj2 mjpeg mjpg mka mkv mlp mm mmf mov mp+ mp1 mp2 mp3 mp4 mpc mpeg mpg mpga mpp mpu mve mvi mxf nc nsv nut nuv oga ogm ogv ogx oma ogg omg opus psp pva qcp qt r3d ra ram rl2 rm rmvb roq rpl rvc shn smk snd sol son spx str swf tak tgi tgq tgv thp ts tsp tta xa xvid uv uv2 vb vid vob voc vp6 vmd wav webm wma wmv wsaud wsvga wv wve
[pcm]
Filters:
libsamplerate soxr
Tag plugins:
id3tag
Output plugins:
null fifo alsa ao jack recorder
Encoder plugins:
null vorbis wave flac
Input plugins:
file alsa curl ffmpeg mms
Playlist plugins:
extm3u m3u pls xspf asx rss flac cue embcue
Protocols:
file:// http:// https:// mms:// mmsh:// mmst:// mmsu:// gopher:// rtp:// rtsp:// rtmp:// rtmpt:// rtmps:// alsa://
Other features:
epoll icu inotify ipv6 tcp un
```
MPD config
``` port "6600" bind_to_address "0.0.0.0" bind_to_address "/var/lib/mpd/socket" music_directory "/mnt/music" playlist_directory "/var/lib/mpd/playlists" db_file "/var/lib/mpd/mpd.db" log_file "/var/lib/mpd/log" state_file "/var/lib/mpd/state" sticker_file "/var/lib/mpd/sticker" input { plugin "curl" verify_peer "no" verify_host "no" } decoder { plugin "vorbis" enabled "no" } auto_update "yes" zeroconf_enabled "no" filesystem_charset "UTF-8" id3v1_encoding "UTF-8" samplerate_converter "soxr very high" audio_output { type "jack" name "out" client_name "mpd" server_name "default" destination_ports "system:playback_1,system:playback_2" format "48000:*:2" } ```