1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00

mpd httpd output

This commit is contained in:
kev 2016-08-18 00:54:11 +08:00
parent 27d3179c71
commit 7b7d1c831f
5 changed files with 34 additions and 0 deletions

View File

@ -13,7 +13,9 @@ mpd:
image: vimagick/mpd
ports:
- "6600:6600"
- "8800:8800"
volumes:
- ./mpd.conf:/etc/mpd.conf
- ./music:/var/lib/mpd/music
- ./playlists:/var/lib/mpd/playlists
devices:
@ -35,9 +37,17 @@ $ docker-compose up -d
- Android: https://play.google.com/store/apps/details?id=com.namelessdev.mpdroid
- Desktop: http://rybczak.net/ncmpcpp/
```yaml
Host: x.x.x.x
Port: 6600
Streaming host: x.x.x.x
Streaming port: 8800
```
## Read More
- <https://wiki.archlinux.org/index.php/Music_Player_Daemon>
- <https://wiki.archlinux.org/index.php/Music_Player_Daemon/Tips_and_tricks>
- <https://wiki.archlinux.org/index.php/Streaming_With_Icecast>
- <https://stmllr.net/blog/streaming-audio-with-mpd-and-icecast2-on-raspberry-pi/>

View File

@ -2,6 +2,7 @@ mpd:
image: easypi/mpd-arm
ports:
- "6600:6600"
- "8800:8800"
volumes:
- ./mpd.conf:/etc/mpd.conf
- ./music:/var/lib/mpd/music

View File

@ -16,6 +16,17 @@ audio_output {
mixer_type "software"
}
audio_output {
type "httpd"
name "My HTTP Stream"
encoder "vorbis"
port "8800"
bitrate "128"
format "44100:16:1"
always_on "yes"
tags "yes"
}
audio_output {
type "shout"
encoding "ogg"

View File

@ -2,6 +2,7 @@ mpd:
image: vimagick/mpd
ports:
- "6600:6600"
- "8800:8800"
volumes:
- ./mpd.conf:/etc/mpd.conf
- ./music:/var/lib/mpd/music

View File

@ -16,6 +16,17 @@ audio_output {
mixer_type "software"
}
audio_output {
type "httpd"
name "My HTTP Stream"
encoder "vorbis"
port "8800"
bitrate "128"
format "44100:16:1"
always_on "yes"
tags "yes"
}
audio_output {
type "shout"
encoding "ogg"