Just a note, I'm using streaming output directly through MPD now. (on Karmic)
Here's how.
In a terminal:
Code:
sudo apt-get build-dep mpd && apt-get source mpd
This will install the build-depends as well as download and extract the source archive for the ubuntu .deb.
Go into the extracted source dir and go into the debian/rules file.
You want the 'DEB_CONFIGURE_USER_FLAGS' bit to say:
Code:
DEB_CONFIGURE_USER_FLAGS += $(WITH_TREMOR) --enable-sqlite --enable-un --enable-ao --enable-lame-encoder
Update for Maverick. (note the end)
Code:
DEB_CONFIGURE_USER_FLAGS += $(WITH_TREMOR) --enable-sqlite --enable-un --enable-ao --enable-lame
Side note: While cd'd into mpd's extracted source folder, doing a "./configure --help" will show you all kinds of other options you can add/remove.
Then back in the root dir of the source folder do:
That should build you the same .deb you get from the repos but with .mp3 output enabled.
My /etc/mpd.conf bit for streaming looks like:
Code:
#
audio_output {
type "httpd"
name "MetalMusicAddict's Jukebox"
encoder "lame" # optional, vorbis or lame
port "8000"
quality "6.0" # do not define if bitrate is defined
# bitrate "192" # do not define if quality is defined
format "44100:16:2"
}
#
If you try this make sure to turn off IceCast and pin your compiled package in Synaptic.