You are not logged in.
Pages: 1
according to wiki,i set up /etc/mpd.conf
music_directory "~/music"
playlist_directory “/var/lib/mpd/playlists”
db_file “/var/lib/mpd/mpd.db”
log_file “/var/log/mpd/mpd.log”
error_file “/var/log/mpd/mpd.error”
pid_file “/var/run/mpd/mpd.pid”
state_file “/var/lib/mpd/mpdstate”
user “mpd”and also as wiki says:
# mkdir /var/lib/mpd/music
# ln -s ~/music /var/lib/mpd/music/
# sudo systemctl start mpd
#systemctl status mpd
mpd.service - Music Player Daemon
Loaded: loaded (/usr/lib/systemd/system/mpd.service; disabled)
Active: active (running) since Thu, 2012-11-08 15:23:09 CST; 6s ago
Main PID: 2803 (mpd)
CGroup: name=systemd:/system/mpd.service
└ 2803 /usr/bin/mpd --no-daemon
looks start up normally.
#mpc update
Updating DB (#1) ...
volume:100% repeat: off random: off single: off consume: off
so does the db update
#mpc ls
or
#mpc ls |mpc add
no song added,empty.
i‘ve checked /var/lib/mpd/mpd.db,only 344kb size :
info_begin
format: 1
mpd_version: 0.17.2
fs_charset: UTF-8
tag: Artist
tag: ArtistSort
tag: Album
tag: AlbumArtist
tag: AlbumArtistSort
tag: Title
tag: Track
tag: Name
tag: Genre
tag: Date
tag: Composer
tag: Performer
tag: Disc
tag: MUSICBRAINZ_ARTISTID
tag: MUSICBRAINZ_ALBUMID
tag: MUSICBRAINZ_ALBUMARTISTID
tag: MUSICBRAINZ_TRACKID
info_endSo the mpd db is empty,cannot get updated.
what can i do ?
Last edited by frat (2012-11-08 13:36:55)
Offline
"Remember to set permissions accordingly on the directories being linked. "
Offline
what kind of permissions should i set accordingly on the directories being linked?
Offline
what kind of permissions should i set accordingly on the directories being linked?
The ones outlined in the wiki...
Also, please edit your first post and use code tags:
https://wiki.archlinux.org/index.php/Fo … s_and_Code
Offline
chown to mpd? it's quite confusing in the wiki.
Offline
I guess your files belong to your every day user?
why not use the setup script linked in the wiki and run mpd as user... makes things so much easier
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
Pages: 1