Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streaming flac doesn't work and mpd tries to connect without a password first? #2171

Open
d3xt3r01 opened this issue Dec 21, 2024 · 0 comments

Comments

@d3xt3r01
Copy link

d3xt3r01 commented Dec 21, 2024

Bug report

Describe the bug

mpd seems to try to connect to icecast without authentication first, icecast says it needs a password and then the connection works.
Flac doesn't seem to work. the other outputs Vorbis/opus work.

Expected Behavior

Use the password if provided without trying without a password
stream to work

Actual Behavior

mpd seems to try to connect to icecast without authentication first, icecast says it needs a password and then the connection works.
stream doesn't work.

Version

Music Player Daemon 0.23.15 (0.23.15)
Copyright 2003-2007 Warren Dukes <[email protected]>
Copyright 2008-2021 Max Kellermann <[email protected]>
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

Storage plugins:
 local


Decoders plugins:
 [mad] mp3 mp2
 [mpg123] mp3
 [vorbis] ogg oga
 [oggflac] ogg oga
 [flac] flac
 [opus] opus ogg oga
 [audiofile] wav au aiff aif
 [dsdiff] dff
 [dsf] dsf
 [hybrid_dsd] m4a
 [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 rtp:// rtsp:// rtsps://
 [pcm]

Filters:


Tag plugins:
 id3tag

Output plugins:
 shout null fifo alsa pulse httpd

Encoder plugins:
 null vorbis opus lame wave flac

Archive plugins:
 [bz2] bz2

Input plugins:
 file io_uring archive alsa qobuz curl ffmpeg

Playlist plugins:
 extm3u m3u pls soundcloud flac cue embcue

Protocols:
 file:// alsa:// ftp:// ftps:// gopher:// hls+http:// hls+https:// http:// https:// mmsh:// mmst:// qobuz:// rtmp:// rtmpe:// rtmps:// rtmpt:// rtmpte:// rtmpts:// rtp:// rtsp:// rtsps:// srtp://

Other features:
 dbus epoll icu inotify ipv6 tcp un

Configuration

audio_output {
        type            "shout"
        encoder         "flac"
        name            "icecast2flac"
        host            "192.168.1.2"
        port            "8383"
        mount           "/mpd.flac"
        user            "source"
        password        "flac"
        format          "48000:24:2"
        protocol        "icecast2"
        description     "MPD d3x - High-Quality FLAC Stream"
        public          "no"
}

Log

mpd --no-daemon --verbose doesn't say anything

Icecast log

[2024-12-21  12:08:43] INFO connection/_handle_source_request Source logging in at mountpoint "/mpd.flac" from 192.168.1.2
[2024-12-21  12:08:43] INFO connection/_handle_source_request Source (/mpd.flac) attempted to login with invalid or missing password
[2024-12-21  12:08:43] INFO connection/_handle_source_request Source logging in at mountpoint "/mpd.flac" from 192.168.1.2
[2024-12-21  12:08:43] INFO source/source_main listener count on /mpd.flac now 0
[2024-12-21  12:08:54] WARN source/get_next_buffer Disconnecting source due to socket timeout
[2024-12-21  12:08:54] INFO source/source_shutdown Source from 192.168.1.2 at "/mpd.flac" exiting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant