1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2025-06-18 05:06:38 +02:00

Introduced mpDris2 client for local MPD

This commit is contained in:
Eric-Teunis de Boone 2020-03-17 13:22:31 +01:00
parent 10189191f7
commit 0ca7a16d52
5 changed files with 61 additions and 20 deletions

View file

@ -1,16 +1,20 @@
# INET binding
bind_to_address "localhost"
port "6600"
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"
# UNIX binding
bind_to_address "~/.mpd/socket"
bind_to_address "~/.config/mpd/socket"
# INET binding
#bind_to_address "localhost"
#port "6600"
# Select one of the two options
## Use Local database
db_file "~/.mpd/database"
music_directory "~/Music"
# Select one of the two options below
## Use Remote Database and Files
#database {
@ -18,16 +22,20 @@ music_directory "~/Music"
# host "remote"
# port "6600"
#}
#music_directory "smb://remote"
### Use Local database
#db_file "~/.config/mpd/database"
#music_directory "~/Music"
pid_file "~/.mpd/pid"
state_file "~/.mpd/mpdstate"
playlist_directory "~/.mpd/playlists"
sticker_file "~/.mpd/sticker.sql"
log_file "~/.mpd/log"
# Enable Neighbour plugins
neighbors {
plugin "smbclient"
}
# Audio Outputs
## Audio Outputs
audio_output {
type "pulse"
name "User Pulse Audio"
@ -38,6 +46,6 @@ audio_output {
audio_output {
type "fifo"
name "my_fifo"
path "/tmp/mpd.fifo"
path "~/.config/mpd/mpd.fifo"
format "44100:16:2"
}