A
A
Arseniy Latypov2020-05-01 14:43:03
linux
Arseniy Latypov, 2020-05-01 14:43:03

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"

The test user is in the audio group, distributed all the rights to the folders in accordance with the default
ones. I start broadcasting via mpc
. Tell me, please, what could be the problem? where to dig?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
ISE73, 2020-06-03
@ISE73

The first MPD exclusively takes the sound device.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question