wernight / docker-mopidy

Containerized Mopidy MPD (Music Player Daemon) along with Spotify, Google Music... plugins.
https://hub.docker.com/r/wernight/mopidy/
MIT License
160 stars 86 forks source link

httpd output #14

Open 0xFEEDC0DE64 opened 6 years ago

0xFEEDC0DE64 commented 6 years ago

How to run the container without pulseaudio but with httpd instead?

Example config:

#
# An example of a httpd output (built-in HTTP streaming server):
#
audio_output {
    type        "httpd"
    name        "My HTTP Stream"
    encoder     "lame"          # optional, vorbis or lame
    port        "8000"
    bind_to_address "0.0.0.0"       # optional, IPv4 or IPv6
#   quality     "10.0"          # do not define if bitrate is defined
    bitrate     "256"           # do not define if quality is defined
    format      "44100:16:1"
    max_clients "0"         # optional 0=no limit
}
wernight commented 5 years ago

You can replace the config by mounting it.