I'm not sure if this is an mpd or a sonata problem: After a recent > mpd --create-db sonata is not able to display the length of .ogg files (%L in the playlist format), it just shows a question mark instead. The length of .mp3 files is determined correctly. The fact that the error first showed up after 'mpd --create-db' suggests it's a bug in mpd, but on the other hand, sonata's progress bar works correctly (so the length of the songs must be known) and mpc knows the correct length as well. Reproducible: Always Steps to Reproduce: 1. mpd --create-db 2. sonata 3. preferences -> format -> current playlist -> add '%L' Actual Results: The length of .ogg files is not displayed, a question mark is shown instead. Expected Results: The length of the file.
Created attachment 204611 [details] paludis --info sonata mpd
Created attachment 207392 [details] emerge --info I can reproduce it with mpd 0.15.3 and ncmpcpp 0.4.1. Database entries (e.g., from /var/lib/mpd/database) that describes .ogg files don't have "Time" field. My mpd build with USE="alsa ffmpeg flac id3 mad ogg sqlite vorbis unicode" (the others flags are disabled). I have media-libs/libogg version 1.1.4 and media-video/ffmpeg version 0.5_p19928 (USE="3dnow 3dnowext mmx mmxext mp3 ssse3 threads vorbis xvid zlib", the others are disabled again) installed. My emerge --info is also attached.
I have the same issue, but fix it. I did two things, updated to new mpd-0.15.5 (just rename ebuild) and removed database (sudo rm /var/lib/mpd/database) after stopping mpd. On start, database was recreated and everything is correct. Note that update step may be not needed. If you confirm that this works for you then close this bug.
The mpd update in combination with 'mpd --create-db' did the trick. On my system the update step was necessary to fix the problem. I'm changing the bug summary, as we now know that it is an mpd problem.
so this is fixed with 0.15.5? I'll try to get it stable as fast as possible then
Personally I cannot reproduce it with 0.15.5.
As far as changelogs i see that mpd 0.15.4 mentions some Vorbis fixes, possibly it was fixed at that point. Definitely problem started with 0.15.0 and is fixed in 0.15.5.
.5 stable everywhere except for sh