diff --git a/mpd/README.md b/mpd/README.md index 887fa14..6bcaabb 100644 --- a/mpd/README.md +++ b/mpd/README.md @@ -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 - +- - - diff --git a/mpd/arm/docker-compose.yml b/mpd/arm/docker-compose.yml index 5b7bdce..730ef06 100644 --- a/mpd/arm/docker-compose.yml +++ b/mpd/arm/docker-compose.yml @@ -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 diff --git a/mpd/arm/mpd.conf b/mpd/arm/mpd.conf index 73df3f9..abca178 100644 --- a/mpd/arm/mpd.conf +++ b/mpd/arm/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" diff --git a/mpd/docker-compose.yml b/mpd/docker-compose.yml index 0f8bc93..0979bad 100644 --- a/mpd/docker-compose.yml +++ b/mpd/docker-compose.yml @@ -2,6 +2,7 @@ mpd: image: vimagick/mpd ports: - "6600:6600" + - "8800:8800" volumes: - ./mpd.conf:/etc/mpd.conf - ./music:/var/lib/mpd/music diff --git a/mpd/mpd.conf b/mpd/mpd.conf index 73df3f9..abca178 100644 --- a/mpd/mpd.conf +++ b/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"