You are not logged in.

#1 2016-05-20 15:10:48

anselm
Banned
Registered: 2016-05-11
Posts: 120

MPD (Music Player Daemon) doesn't source to IceCast

I try to stream an .ogg file with IceCast and MPD. Unfortunately it doesn't work. I also tried "oggfwd", with it sourcing to the IceCast server worked, and I was able to listen by an embedded HTML5 player, as well as on the IceCast admin page.
My MPD config file:

music_directory		"~/music"
playlist_directory		"~/.mpd/playlists"
db_file			"~/.mpd/database"
log_file			"~/.mpd/log.txt"
pid_file			"~/.mpd/pid"
state_file			"~/.mpd/state"
sticker_file		"~/.mpd/sticker.sql"

bind_to_address "127.0.0.1"
port				"6600"
log_level			"verbose"
input {
        plugin "curl"
}

audio_output {
	type		"shout"
	name		"My Shout Stream"
	host		"localhost"
	port		"8000"
	mount		"/mpd.ogg"
	password	    "*******"
	bitrate		"64"
	format		"44100:16:1"
}

volume_normalization		"no"
filesystem_charset		"UTF-8"

I simply start MPD with:

mpd /home/me/.config/mpd/mpd.conf

Its output:

path: SetFSCharset: fs charset is: UTF-8
libsamplerate: libsamplerate converter 'Fastest Sinc Interpolator'
vorbis: Xiph.Org libVorbis 1.3.5
opus: libopus 1.1.2
sndfile: libsndfile-1.0.26
db: reading DB
curl: version 7.48.0
curl: with OpenSSL/1.0.2h
avahi: Initializing interface
avahi: Client changed to state 101
avahi: Client is CONNECTING
state_file: Loading state file /home/me/.mpd/state

I placed an ogg file to my ~/music directory, and it is added to the MPD's database.
However when I open the IceCast page, "XXX.XXX.XXX.XXX:8000/mpd.ogg" it shows no source. What can I do to make MPD with IceCast working?

Offline

Board footer

Powered by FluxBB