Created
April 15, 2015 12:55
-
-
Save jasperla/2124366c9f239137dc4f to your computer and use it in GitHub Desktop.
MPD Docker container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
music_directory "/audio" | |
playlist_directory "/var/mpd/playlists" | |
db_file "/var/mpd/mpd.db" | |
log_file "/var/log//mpd.log" | |
pid_file "/var/mpd/mpd.pid" | |
state_file "/var/mpd/mpdstate" | |
sticker_file "/var/mpd/sticker.sql" | |
user "mpd" | |
bind_to_address "any" | |
audio_output { | |
type "shout" | |
encoding "vorbis" | |
name "Shout Stream (ogg)" | |
host "icecast" | |
port "8000" | |
mount "/mpd.ogg" | |
password "hackme" | |
quality "10" # highest | |
format "44100:16:1" | |
} | |
audio_output { | |
type "shout" | |
encoding "mp3" | |
name "Shout Stream (mp3)" | |
host "icecast" | |
port "8000" | |
mount "/mpd.mp3" | |
password "hackme" | |
quality "0" # highest | |
format "44100:16:1" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
mkdir -p /var/mpd/playlists | |
chown -R mpd /var/mpd/ | |
mpd --no-daemon --stdout /etc/mpd.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment