1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2024-11-13 07:03:32 +01:00
dotfiles/mpd/mpd.conf

64 lines
1.2 KiB
Text
Raw Normal View History

2020-03-17 12:08:16 +01:00
pid_file "~/.config/mpd/pid"
state_file "~/.config/mpd/mpdstate"
playlist_directory "~/.config/mpd/playlists"
sticker_file "~/.config/mpd/sticker.sql"
log_file "~/.config/mpd/log"
2020-03-17 12:08:16 +01:00
# UNIX binding
bind_to_address "~/.config/mpd/socket"
# INET binding
#bind_to_address "localhost"
#port "6600"
2020-03-17 12:08:16 +01:00
# Select one of the two options below
2020-03-17 12:08:16 +01:00
## Use Remote Database and Files
#database {
# plugin "proxy"
# host "remote"
# port "6600"
#}
#music_directory "smb://remote"
### Use Local database
#db_file "~/.config/mpd/database"
2020-03-17 12:08:16 +01:00
#music_directory "~/Music"
# Enable Neighbour plugins
neighbors {
plugin "smbclient"
}
2020-03-17 12:08:16 +01:00
## Audio Outputs
2020-03-17 12:08:16 +01:00
audio_output {
type "pulse"
2020-04-16 00:28:13 +02:00
name "User MPD Pulse Audio"
2020-03-17 12:08:16 +01:00
device "pulse"
mixer_type "hardware"
}
2020-04-16 00:28:13 +02:00
audio_output {
type "httpd"
name "My HTTP Stream"
encoder "vorbis" # optional, vorbis or lame
port "8000"
bind_to_address "0.0.0.0" # optional, IPv4 or IPv6
# quality "5.0" # do not define if bitrate is defined
bitrate "128" # do not define if quality is defined
format "44100:16:1"
max_clients "0" # optional 0=no limit
}
2020-03-17 12:08:16 +01:00
audio_output {
type "fifo"
name "my_fifo"
path "~/.config/mpd/mpd.fifo"
2020-03-17 12:08:16 +01:00
format "44100:16:2"
}