mirror of
https://github.com/kastdeur/dotfiles.git
synced 2024-12-22 09:13:33 +01:00
[MPD]: added HTTP output
This commit is contained in:
parent
bbeecc239e
commit
4a1ee2deb0
1 changed files with 13 additions and 1 deletions
14
mpd/mpd.conf
14
mpd/mpd.conf
|
@ -38,11 +38,23 @@ neighbors {
|
||||||
## Audio Outputs
|
## Audio Outputs
|
||||||
audio_output {
|
audio_output {
|
||||||
type "pulse"
|
type "pulse"
|
||||||
name "User Pulse Audio"
|
name "User MPD Pulse Audio"
|
||||||
device "pulse"
|
device "pulse"
|
||||||
mixer_type "hardware"
|
mixer_type "hardware"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
audio_output {
|
||||||
|
type "httpd"
|
||||||
|
name "My HTTP Stream"
|
||||||
|
encoder "vorbis" # 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
|
||||||
|
}
|
||||||
|
|
||||||
audio_output {
|
audio_output {
|
||||||
type "fifo"
|
type "fifo"
|
||||||
name "my_fifo"
|
name "my_fifo"
|
||||||
|
|
Loading…
Reference in a new issue