ncmpcpp 找不到我的音乐

ncmpcpp 找不到我的音乐

我终于让 ncmpcpp 和 MPD 工作了,但 ncmpcpp 找不到我的音乐。我多次重启 MPD,安装 mpc 并运行mpc update,在 ncmpcpp 中按下 U,重启我的机器,尝试使用外部硬盘上的音乐,尝试使用符号链接,并尝试使用内置硬盘上的音乐,但都不起作用。我的 mpd 配置如下。

user               "tay"
bind_to_address    "localhost"
port               "6601" #6600 is already taken by something
#music_directory    "/media/tay/External/Music"
music_directory    "/home/tay/Desktop/Avenged Sevenfold"
playlist_directory "/home/tay/.mpd/playlists"
db_file            "/home/tay/.mpd/mpd.db"
log_file           "/home/tay/.mpd/mpd.log"
pid_file           "/home/tay/.mpd/mpd.pid"
state_file         "/home/tay/.mpd/mpdstate"

audio_output {  
    type  "pulse"
    name  "MPD"
} 

# Symbolic link behavior ######################################################
#
# If this setting is set to "yes", MPD will discover audio files by following 
# symbolic links outside of the configured music_directory.
#
follow_outside_symlinks "yes"
#
# If this setting is set to "yes", MPD will discover audio files by following
# symbolic links inside of the configured music_directory.
#
follow_inside_symlinks      "yes"
#

答案1

/home/USERNAME/.mpd/mpd.conf通过将音乐文件夹拖到终端窗口并将输出复制/粘贴到,确保音乐文件夹/目录的路径正确music_directory ""

music_directory    "/home/tay/Desktop/Avenged Sevenfold"

被设置为你的活动路径,但看起来,

music_directory    "/media/tay/External/Music"

是正确的,由于 ,它处于非活动状态#

  1. 删除其中一条music_directory路径,因为你有两条
  2. 确保它是 ative,也就是说没有#并且你的路径是正确的
  3. 再次更新您的数据库,按下umpc 内部。

如果这对您不起作用,请发布您在此过程中可能收到的任何错误消息。

相关内容