You are not logged in.

#1 2012-07-18 18:29:40

icetonic
Member
From: Germany
Registered: 2008-10-21
Posts: 104

MPD http stream does not work anymore?

Recently I wanted to use my built-in MPD http stream again.. But it seems that the latest update (0.17) broke it...

Before it worked without any problems, now all I get on any client opening the stream is "white noise" or something similar... At least not music. The stream works technically, though. No suspicious messages in the log, no problems with the connection itself... just instead of music I get that noise hmm

Has anyone experienced similar problems yet/knows how to fix it?

Thanks in advance!

Update: Oh, sorry, I think that belongs more into the Multimedia/Games subforum ...

Last edited by icetonic (2012-07-18 18:32:01)

Offline

#2 2012-07-18 19:56:28

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,725
Website

Re: MPD http stream does not work anymore?

Works fine here, I was streaming from my home PC during my dinner break at work.

Are you running mpd as a system daemon, or a user daemon? What does your relevant config look like in mpd.conf/.mpdconf?

Here's mine for comparison (running as my user):

audio_output {
	type		"httpd"
	name		"My HTTP Stream"
	encoder		"lame"		# 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
}

Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2012-07-18 20:05:38

icetonic
Member
From: Germany
Registered: 2008-10-21
Posts: 104

Re: MPD http stream does not work anymore?

#HTTP Stream
audio_output {
        type            "httpd"
        name            "Music Stream"
        encoder         "lame"          # optional, vorbis or lame
        port            "8000"
#       bind_to_address "0.0.0.0"
#       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
}

Before I had the format option enabled, tried it without, exactly like you, still noise ...

MPD is running as system daemon... And, as I said, a few weeks ago (last time I tried) it worked fine that way oO

Offline

#4 2012-07-18 20:23:04

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,725
Website

Re: MPD http stream does not work anymore?

Can you connect to the stream through something like mplayer2? (which is how I listen to my mpd remotely)

e.g.

mplayer -nocache http://localhost:8000

If so, does it correctly identify the stream as "Music Stream"?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2012-07-19 14:02:55

icetonic
Member
From: Germany
Registered: 2008-10-21
Posts: 104

Re: MPD http stream does not work anymore?

Yeah.. As I said, the stream connects fine, even the current song name ist correct, but instead of music that noise... Same thing, both locally and remotely...

and I tried both lame and vorbis as encoder, no differrence hmm

Last edited by icetonic (2012-07-19 14:07:18)

Offline

#6 2012-07-19 22:12:55

Illuna
Member
Registered: 2011-10-17
Posts: 3

Re: MPD http stream does not work anymore?

Pretty sure you are encountering this bug.
And from this post, there are two workarounds.

Offline

#7 2012-07-20 12:37:33

icetonic
Member
From: Germany
Registered: 2008-10-21
Posts: 104

Re: MPD http stream does not work anymore?

Thanks! mpd-git works fine... smile I should have come up with this myself -.-

Offline

Board footer

Powered by FluxBB