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:
parent
27d3179c71
commit
7b7d1c831f
@ -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/>
|
||||
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
@ -2,6 +2,7 @@ mpd:
|
||||
image: vimagick/mpd
|
||||
ports:
|
||||
- "6600:6600"
|
||||
- "8800:8800"
|
||||
volumes:
|
||||
- ./mpd.conf:/etc/mpd.conf
|
||||
- ./music:/var/lib/mpd/music
|
||||
|
11
mpd/mpd.conf
11
mpd/mpd.conf
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user