mirror of
https://github.com/casjaysdevdocker/ympd
synced 2025-09-18 03:57:40 -04:00
🦈🏠🐜❗ Initial Commit ❗🐜🦈🏠
This commit is contained in:
124
config/mpd.conf
Normal file
124
config/mpd.conf
Normal file
@@ -0,0 +1,124 @@
|
||||
###############################################################################
|
||||
music_directory "/music"
|
||||
playlist_directory "/playlists"
|
||||
state_file "/var/lib/mpd/state"
|
||||
db_file "/var/lib/mpd/database.db"
|
||||
sticker_file "/var/lib/mpd/sticker.sql"
|
||||
log_file "/var/log/mpd/mpd.log"
|
||||
pid_file "/run/mpd/pid"
|
||||
bind_to_address "/run/mpd/socket"
|
||||
###############################################################################
|
||||
user "root"
|
||||
group "root"
|
||||
bind_to_address "any"
|
||||
port "6600"
|
||||
log_level "default"
|
||||
gapless_mp3_playback "yes"
|
||||
restore_paused "yes"
|
||||
save_absolute_paths_in_playlists "no"
|
||||
metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
|
||||
auto_update "yes"
|
||||
auto_update_depth "5"
|
||||
###############################################################################
|
||||
follow_outside_symlinks "yes"
|
||||
follow_inside_symlinks "yes"
|
||||
###############################################################################
|
||||
zeroconf_enabled "yes"
|
||||
zeroconf_name "%h"
|
||||
###############################################################################
|
||||
#password "password@read,add,control,admin"
|
||||
#default_permissions "read,add,control,admin"
|
||||
###############################################################################
|
||||
#database {
|
||||
#plugin "proxy"
|
||||
#host "other.mpd.host"
|
||||
#port "6600"
|
||||
#}
|
||||
###############################################################################
|
||||
input {
|
||||
plugin "curl"
|
||||
#proxy "proxy.isp.com:8080"
|
||||
#proxy_user "user"
|
||||
#proxy_password "password"
|
||||
}
|
||||
###############################################################################
|
||||
audio_output {
|
||||
type "alsa"
|
||||
name "speakers"
|
||||
}
|
||||
|
||||
audio_output {
|
||||
#type "shout"
|
||||
#encoder "vorbis" # optional
|
||||
#name "My Shout Stream"
|
||||
#host "localhost"
|
||||
#port "8000"
|
||||
#mount "/mpd.ogg"
|
||||
#password "hackme"
|
||||
#quality "5.0"
|
||||
#bitrate "128"
|
||||
#format "44100:16:1"
|
||||
#protocol "icecast2" # optional
|
||||
#user "source" # optional
|
||||
#description "My Stream Description" # optional
|
||||
#url "http://example.com" # optional
|
||||
#genre "jazz" # optional
|
||||
#public "no" # optional
|
||||
#timeout "2" # optional
|
||||
#mixer_type "software" # optional
|
||||
#}
|
||||
###############################################################################
|
||||
#audio_output {
|
||||
# type "recorder"
|
||||
# name "My recorder"
|
||||
# encoder "vorbis" # optional, vorbis or lame
|
||||
# path "/var/lib/mpd/recorder/mpd.ogg"
|
||||
## quality "5.0" # do not define if bitrate is defined
|
||||
# bitrate "128" # do not define if quality is defined
|
||||
# format "44100:16:1"
|
||||
#}
|
||||
###############################################################################
|
||||
audio_output {
|
||||
type "httpd"
|
||||
name "HTTP Stream"
|
||||
encoder "lame" #to support safari on ios
|
||||
port "8000"
|
||||
bitrate "128"
|
||||
format "44100:16:1"
|
||||
always_on "yes"
|
||||
tags "yes"
|
||||
}
|
||||
###############################################################################
|
||||
audio_output {
|
||||
type "pulse"
|
||||
name "pulse"
|
||||
#server "remote_server"
|
||||
#sink "remote_server_sink"
|
||||
#media_role "media_role"
|
||||
}
|
||||
#
|
||||
###############################################################################
|
||||
#audio_output {
|
||||
# type "osx"
|
||||
# name "My OS X Device"
|
||||
# device "Built-in Output" # optional
|
||||
# channel_map "-1,-1,0,1" # optional
|
||||
#}
|
||||
###############################################################################
|
||||
#audio_output {
|
||||
#type "pipe"
|
||||
#name `"my pipe"
|
||||
#command "aplay -f cd 2>/dev/null"
|
||||
#command "AudioCompress -m | aplay -f cd 2>/dev/null"
|
||||
#command "nc example.org 8765"
|
||||
# format "44100:16:2"
|
||||
#}
|
||||
###############################################################################
|
||||
#replaygain "album"
|
||||
#replaygain_preamp "0"
|
||||
#replaygain_missing_preamp "0"
|
||||
#replaygain_limit "yes"
|
||||
#volume_normalization "no"
|
||||
###############################################################################
|
||||
filesystem_charset "UTF-8"
|
||||
###############################################################################
|
Reference in New Issue
Block a user