Answer the question
In order to leave comments, you need to log in
What is the correct way to start the second instance of mpd?
Good day to all!
I want to run mpd in duplicate through different configs to play different music on different outputs. The problem is that when you run the second config, there are no problems, except for one, there is no sound from any output
The config itself:
music_directory "/home/test/mpd/music"
playlist_directory "/home/test/mpd/playlists"
db_file "/home/test/mpd/tag_cache"
log_file "/home/test/mpd/mpd.log"
#pid_file "/run/mpd/pid"
state_file "/home/test/mpd/state"
sticker_file "/home/test/mpd/sticker.sql"
user "test"
bind_to_address "localhost"
port "6601"
auto_update "yes"
input {
plugin "curl"
# proxy "proxy.isp.com:8080"
# proxy_user "user"
# proxy_password "password"
}
audio_output {
type "alsa"
name "My ALSA Device"
device "hw:0,0" # optional
format "44100:16:2"
mixer_type "software" # optional
mixer_device "default" # optional
mixer_control "PCM" # optional
mixer_index "0" # optional
}
audio_output {
type "alsa"
name "USB"
device "hw:1,0" # optional
mixer_type "software" # optional
}
id3v1_encoding "UTF-8"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question