ncmpcpp 超时;mpd 不工作

ncmpcpp 超时;mpd 不工作

在我运行更新之前,Ncmpcpp 运行良好,但现在它显示“连接时超时”错误,因此我无法使用它。我尝试运行 mpd,但出现此错误:

socket: Failed to bind to '127.0.0.1:6600': Address already in use

这是我的 mpd 配置文件:

music_directory     "~/Music"
playlist_directory      "~/Playlists"
db_file         "~/.local/share/mpd/mpd.db"
log_file            "~/.local/share/mpd/mpd.log"
pid_file            "~/.local/share/mpd/mpd.pid"
state_file          "~/.local/share/mpd/mpd.state"
sticker_file            "~/.local/share/mpd/sticker.sql"

bind_to_address     "localhost"
log_level           "default"
port                "6600"
restore_paused "yes"
metadata_to_use "artist,album,title,track,name,genre,date"
auto_update "yes"

input {
    plugin "curl"
}

audio_output {
    type        "pulse"
    name        "pulse audio"
}

audio_output {
    type        "fifo"
    name        "mpd_fifo"
    path        "/tmp/mpd.fifo"
    format      "44100:16:2"
    host        "localhost"
}

这是我的 ncmpcpp 配置文件的重要部分:

ncmpcpp_directory = ~/.config/ncmpcpp
lyrics_directory = ~/.lyrics
mpd_music_dir = ~/Music/library
mpd_host = localhost
mpd_port = 6600
mpd_connection_timeout = 5

有人能帮我吗?有什么指导吗?

相关内容