You are not logged in.

#1 2023-02-17 02:27:39

AzmuthForger
Member
Registered: 2023-01-09
Posts: 13

mpd failed to bind to "127.0.0.1" ; socket already in use

Hey there I recently started using mpd and I have config like this
music_directory            "~/Music"
playlist_directory      "~/.config/mpd/playlists"
db_file                 "~/.config/mpd/database"

auto_update "yes"
bind_to_address "127.0.0.1"
port "6600"
restore_paused "yes"
max_output_buffer_size "16384"

audio_output {
       type     "pipewire"
       name     "Pipewire Sound Server"
}

audio_output {
       type     "fifo"
       name     "Visualizer feed"
       path     "/tmp/mpd.fifo"
       format   "44100:16:2"
}


Please tell me how to fix this

Offline

#2 2023-02-17 07:01:54

dxg4268
Member
Registered: 2023-02-17
Posts: 3

Re: mpd failed to bind to "127.0.0.1" ; socket already in use

3 files are needed to be created in $HOME/.config/mpd/
mpd.conf, mpd.db, mpd.log
use touch command to create db and log files...
as for the above config, use a different port, such as 6601
And please post the output of :
systemctl status mpd

Have you started mpd daemon? If yes then how have you done it?

Offline

Board footer

Powered by FluxBB