Thank you for your donation!

Idea: Enable HTTPD streaming output in GUI (aka web radio)
Hello. I was thinking about enabling the HTTPD streaming directly from the web UI.

I mean the web radio feature of mpd, the one where you add an httpd output in the mpd.conf and it'll stream at the port you specify.

more info here:

I'd like to have it exposed in UI, so that I can turn on/off without manual editing the mpd.conf.

Quote:HTTP streaming
Since version 0.15 there is a built-in HTTP streaming daemon/server that comes with MPD.
To activate this server simply set it as output device in mpd.conf:

audio_output {
type "httpd"
name "My HTTP Stream"
encoder "vorbis" # optional
port "8000"
# quality "5.0" # do not define if bitrate is defined
bitrate "128" # do not define if quality is defined
format "44100:16:1"
always_on       "yes" # prevent MPD from disconnecting all listeners when playback is stopped.
tags            "yes" # httpd supports sending tags to listening streams.

Yes its doable but whats the usage scenario?

Enjoy the Music! | Twitter Feed | Git Repo
off the top of my mind

- Web radio 
open the port on the router and you can listen it from anywhere, just by pointing the browser to the stream's url; can set it to lossy and downsample etc)

- local stream
Can also be used to stream moode's audio to other PCs in the house even when the main rig is off, WHILE still being able to use moode's UI to control it.

e.g. the raspberry is hardwired in the living room to a big system. Can go to the other room, on my computer, point it to the url and I can continue to listen moode's music through the pc speakers or headphones.

official docs for all the available settings/encoders/options
This would be a great addition...I'd used this prior to moving to Moode just using MPD and it's really useful
It's on the TODO list but not getting much priority due to work load for moOde 5. Eventually it will be implemented :-)
Enjoy the Music! | Twitter Feed | Git Repo

Forum Jump: