2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 13:23:02 +01:00

update mpd

This commit is contained in:
kev
2021-02-09 16:58:42 +08:00
parent 6ba60fe6b2
commit b4bc83b24c
12 changed files with 68 additions and 2609 deletions

51
mpd/data/config/mpd.conf Normal file
View File

@@ -0,0 +1,51 @@
music_directory "/var/lib/mpd/music"
playlist_directory "/var/lib/mpd/playlists"
db_file "/var/lib/mpd/database"
log_file "/var/log/mpd/mpd.log"
pid_file "/var/run/mpd.pid"
state_file "/var/lib/mpd/state"
sticker_file "/var/lib/mpd/sticker.sql"
input {
plugin "alsa"
}
input {
plugin "curl"
}
audio_output {
type "alsa"
name "My ALSA Device"
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 "pulse"
# name "My Pulse Output"
# server "172.17.0.1"
# sink "bluez_sink.E8_07_BF_46_F4_B1"
#}
#audio_output {
# type "shout"
# encoding "ogg"
# name "My Shout Stream"
# host "icecast"
# port "8000"
# mount "/mpd.ogg"
# password "hackme"
# bitrate "128"
# format "44100:16:1"
#}

BIN
mpd/data/music/test.ogg Normal file

Binary file not shown.

View File

@@ -0,0 +1,3 @@
#EXTM3U
#EXTINF:-1,microphone
alsa://plughw:1,0