You are not logged in.
Sorry to bother you guys with this, but I have searched a while on google and the forums and come up empty.
I'm trying to add some music to my database with mpd and ncmpcpp. I start mpd and it starts fine, and start ncmpcpp and it starts fine, and hit the 'u' key to update. Then I look at my library. It has all the folders that are in my music folder, but none of the .mp3 files are listed. So I started mpd with
mpd --verbose --stdout --no-daemonAnd hit the 'u' key in ncmpcpp again, and for every file in my music folder, mpd says such things as
update: ignoring unrecognized file Snow Patrol/Chocolate.mp3I am running mpd as a user (not as root or as a daemon) and even then I checked all the permissions on all the relevant files and directories and they all seem to be good.
I searched a lot and didn't find this error. Has anyone else had this problem and fixed it?
Last edited by kens (2011-11-16 22:25:47)
Offline
See if this helps: http://forums.gentoo.org/viewtopic-t-89 … art-0.html
Offline
I tried exactly that (copy/pasted into mpd.conf) but it didnt help. And by the way my mpd isnt crashing at all, just not adding those files.
Last edited by kens (2011-11-16 06:48:01)
Offline
It does seem codec related. You have got lame installed, haven't you?
Offline
Does one have to install lame manually? If so then no, I didnt know you have to. Having the codec would help a little I think :-) I thought I followed the directions on the wiki but I guess not. If thats all it is then thanks very much, I'll try it as soon as I can. (I knew the newbie section was the right place to go:-)
Last edited by kens (2011-11-16 07:07:55)
Offline
I installed lame (pacman -S lame) but still no luck, I'm getting the same error. Was there anything else I have to do to get it working?
EDIT: I also tried updating with mpc instead of ncmcpp but I get the same problem.
Last edited by kens (2011-11-16 17:10:46)
Offline
Here's the output of mpd --version:
mpd (MPD: Music Player Daemon) 0.16.5
Copyright (C) 2003-2007 Warren Dukes <warren.dukes@gmail.com>
Copyright (C) 2008-2010 Max Kellermann <max@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.
Supported decoders:
[mad] mp3 mp2
[vorbis] ogg oga
[oggflac] ogg oga
[flac] flac
[sndfile] wav aiff aif au snd paf iff svx sf voc w64 pvf xi htk caf sd2
[audiofile] wav au aiff aif
[faad] aac
[mp4ff] m4a m4b mp4
[mpcdec] mpc
[wavpack] wv
[modplug] 669 amf ams dbm dfm dsm far it med mdl mod mtm mt2 okt s3m stm ult umx xm
[ffmpeg] 16sv 3g2 3gp 4xm 8svx aa3 aac ac3 afc aif aifc aiff al alaw amr anim apc ape asf atrac au aud avi avm2 avs bap bfi c93 cak cin cmv cpk daud dct divx dts dv dvd dxa eac3 film flac flc fli fll flx flv g726 gsm gxf iss m1v m2v m2t m2ts m4a m4b m4v mad mj2 mjpeg mjpg mka mkv mlp mm mmf mov mp+ mp1 mp2 mp3 mp4 mpc mpeg mpg mpga mpp mpu mve mvi mxf nc nsv nut nuv oga ogm ogv ogx oma ogg omg psp pva qcp qt r3d ra ram rl2 rm rmvb roq rpl rvc shn smk snd sol son spx str swf tgi tgq tgv thp ts tsp tta xa xvid uv uv2 vb vid vob voc vp6 vmd wav wma wmv wsaud wsvga wv wve
Supported outputs:
shout null fifo alsa ao oss pulse jack httpd recorder
Supported encoders:
null vorbis lame wave flac
Supported protocols:
file:// http:// mms:// mmsh:// mmst:// mmsu:// gopher:// rtp:// rtsp:// rtmp:// rtmpt:// rtmps:// It seems to support mp3 but it's still giving the "ignoring unrecognized file" thing.
Offline
Did you restart the daemon after installing lame?
Otherwise, post your .conf - there may be a clue there...
Offline
Yes I restarted it, and even restarted my whole computer, and still the same problem. Here is my mpd.conf with comments removed (it's in /home/kens/.mpd/mpd.conf):
music_directory "/home/kens/Music"
playlist_directory "/home/kens/.mpd/playlists"
db_file "/home/kens/.mpd/mpd.db"
log_file "/home/kens/.mpd/mpd.log"
pid_file "/home/kens/.mpd/mpd.pid"
state_file "/home/kens/.mpd/mpdstate"
input {
plugin "curl"
# proxy "proxy.isp.com:8080"
# proxy_user "user"
# proxy_password "password"
}Offline
Apparently something is wrong with those mp3 files because I tried with some other ones I know to be correct, and it worked. Deadbeef can't play the malfunctioning ones either. Too weird. I guess it's resolved then.
Last edited by kens (2011-11-16 22:25:09)
Offline