我在我的覆盆子运行的pidora上安装了MPD。
我自己编译,所以可能有问题。
我配置了mpd,因为它是在普通的wiki页面中编写的:
这是我的.mpdconf
music_directory "/var/lib/mpd/music"
playlist_directory "/var/lib/mpd/playlists"
db_file "~/.mpd/database"
user "mpd"
group "audio"
bind_to_address "10.0.0.200"
port "6600"
auto_update "yes"
audio_output {
type "alsa"
name "My ALSA Device"
device "hw:0,0" # optional
}
我用GMPC打开了流,它在数据库中显示歌曲。 Buf $ mpc stats返回0首歌曲。
如果我想为每个mpc添加一首歌曲
MPD_HOST=10.0.0.200 mpc --verbose --wait load o\'brother/Disillusion/Parasitical.ogg
它只打印
client: [5] opened from 10.0.0.200:37865
client: [5] process command list
client: process command "load "o'brother/Disillusion/Parasitical.ogg""
playlist: No such playlist
client: command returned 2