The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Idea: Enable HTTPD streaming output in GUI (aka web radio)
#1
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:
https://wiki.archlinux.org/index.php/Mus..._streaming

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.
Configuration
To activate this server simply set it as output device in mpd.conf:

Code:
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.
}
Reply


Messages In This Thread
Enable HTTPD streaming output in GUI (aka web radio) - by challenge - 04-19-2018, 02:45 PM

Forum Jump: