From 7b7d1c831fa1041cb752a8ec429b7efbbf0f1948 Mon Sep 17 00:00:00 2001 From: kev Date: Thu, 18 Aug 2016 00:54:11 +0800 Subject: [PATCH] mpd httpd output --- mpd/README.md | 10 ++++++++++ mpd/arm/docker-compose.yml | 1 + mpd/arm/mpd.conf | 11 +++++++++++ mpd/docker-compose.yml | 1 + mpd/mpd.conf | 11 +++++++++++ 5 files changed, 34 insertions(+) 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"