Hi, all.

I spent a lot of time trying to get mpd work, googled solutions don't help
and the problem is still not resolved.

# mpd --version
*Code:*
mpd (MPD: Music Player Daemon) 0.17.3

Copyright (C) 2003-2007 Warren Dukes <warren.du...@gmail.com>
Copyright (C) 2008-2012 Max Kellermann <m...@duempel.org>
This is free software; see the source for copying conditions.  There is NO
warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Decoders plugins:
 [dsdiff] dff
 [dsf] dsf
 [pcm]

Output plugins:
 null fifo alsa oss httpd recorder

Encoder plugins:
 null wave

Input plugins:
 file curl soup

Playlist plugins:
 extm3u m3u xspf pls asx rss cue cue

Protocols:
 file:// http://


# cat /etc/mpd.conf
*Code:*
music_directory "/var/lib/mpd/music"
playlist_directory "/var/lib/mpd/playlists"
db_file "/var/lib/mpd/mpd.db"
log_file "/var/log/mpd/mpd.log"
pid_file "/run/mpd/mpd.pid"
state_file "/var/lib/mpd/mpdstate"

user "mpd"
group "audio"
bind_to_address "0.0.0.0"
port "6600"
log_level "verbose"


# ls -la /var/lib/mpd/music
*Code:*
total 11484
drwxr-xr-x 2 mpd mpd     4096 Mar 21 03:18 .
drwxr-xr-x 4 mpd mpd     4096 Mar 20 18:50 ..
-rwxrwxrwx 1 mpd mpd 11731576 Mar 20 13:27 test.mp3


# mpc update
# cat /var/lib/mpd/mpd.db
*Code:*
info_begin
format: 1
mpd_version: 0.17.3
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_end
playlist_begin: test.mp3
mtime: 1363771665
playlist_end

# mpc ls
*Code:*
test.mp3


# mpc ls | mpc add
*Quote:*
error adding test.mp3: Not found

# cat /var/log/mpd/mpd.log
*Code:*
Mar 21 04:00 : client: [18] opened from 127.0.0.1:42247
Mar 21 04:00 : client: [18] process command list
Mar 21 04:00 : client: command_process_list: process command "add
"test.mp3""
Mar 21 04:00 : client: No such directory
Mar 21 04:00 : client: command_process_list: command returned -1
Mar 21 04:00 : client: [18] process command list returned -1
Mar 21 04:00 : client: [18] closed


What is going wrong?

-- 
Best regards,
Nikolay Korotkiy
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team

Reply via email to