Closed volumio closed 7 years ago
MPD forks are not supported. Try vanilla MPD, and if that still doesn't work, report with a link to the file which fails to be parsed.
Compiled mpd 0.20.6 vanilla on debian jessie i386 with this configure params:
./configure --enable-systemd-daemon --enable-alsa --with-zeroconf=avahi --enable-upnp --enable-neighbor-plugins --enable-aac --enable-ffmpeg --disable-sidplay --disable-mikmod --disable-wildmidi --disable-jack --disable-haiku --disable-twolame-encoder --disable-sndio --disable-ao --disable-oss --disable-openal
What I get is:
Music Player Daemon 0.20.6
Copyright (C) 2003-2007 Warren Dukes <warren.dukes@gmail.com>
Copyright 2008-2017 Max Kellermann <max.kellermann@gmail.com>
This is free software; see the source for copying conditions. There is NO
warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Database plugins:
simple proxy upnp
Storage plugins:
local smbclient nfs curl
Neighbor plugins:
smbclient upnp
Decoders plugins:
[mad] mp3 mp2
[mpg123] mp3
[vorbis] ogg oga
[oggflac] ogg oga
[flac] flac
[opus] opus ogg oga
[sndfile] wav aiff aif au snd paf iff svx sf voc w64 pvf xi htk caf sd2
[audiofile] wav au aiff aif
[dsdiff] dff
[dsf] dsf
[faad] aac
[mpcdec] mpc
[wavpack] wv
[modplug] 669 amf ams dbm dfm dsm far it med mdl mod mtm mt2 okt s3m stm ult umx xm
[fluidsynth] mid
[adplug] amd d00 hsc laa rad raw sa2
[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 opus psp pva qcp qt r3d ra ram rl2 rm rmvb roq rpl rvc shn smk snd sol son spx str swf tak tgi tgq tgv thp ts tsp tta xa xvid uv uv2 vb vid vob voc vp6 vmd wav webm wma wmv wsaud wsvga wv wve
[gme] ay gbs gym hes kss nsf nsfe sap spc vgm vgz
[pcm]
Filters:
libsamplerate soxr
Tag plugins:
id3tag
Output plugins:
shout null fifo alsa roar pulse httpd recorder
Encoder plugins:
null vorbis opus lame wave flac
Archive plugins:
[bz2] bz2
[iso] iso
Input plugins:
file alsa archive curl ffmpeg smbclient nfs mms cdio_paranoia
Playlist plugins:
extm3u m3u pls xspf asx rss soundcloud flac cue embcue
Protocols:
file:// http:// https:// mms:// mmsh:// mmst:// mmsu:// gopher:// rtp:// rtsp:// rtmp:// rtmpt:// rtmps:// smb:// nfs:// cdda:// alsa://
Other features:
avahi epoll icu inotify ipv6 systemd tcp un
Same mpd.conf as before. Still can't parse .aif metadata
You can get 5 files here: http://repo.volumio.org/?dir=Volumio2/mpd-aif-test (ripped from itunes)
As a trial I also tried to selectively disable decoders in mpd.conf, enabling each one alone:
decoder {
plugin "ffmpeg"
enabled "yes"
}
decoder {
plugin "sndfile"
enabled "no"
}
decoder {
plugin "audiofile"
enabled "no"
}
Same result.
Thanks
@MaxKellermann FIY, I've been able to partially solve the issue (can get metadata out of some .aif files, but not other) by adding this to mpd.conf
decoder {
plugin "ffmpeg"
enabled "yes"
analyzeduration "1000000000"
probesize "1000000000"
}
Seems that default non-ffmpeg metadata handlers do not get well along with .aif
(all tests with vanilla mpd compiled on jessie)
Confirm that it's fixed. That's delivering at its finest!
Starting since mpd 0.20.6 (but I am not sure if this is the version that breaks this, my latest working has been 0.19.9) I am unable to get metadata of .aif files. Browsing the db shows no metadata attached to such files. This is my mpd --version output (on jessie)
And this is mpd.conf
Compliled as per: https://github.com/volumio/volumio-mpd/tree/0.20.6
To exclude it was something related with my build, I installed sid's .deb package and I get the same result. Any comment\pointer will be appreciated, I can help testing if needed