Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285582 - media-sound/mpd-0.15.3 don't show the length of .ogg files
Summary: media-sound/mpd-0.15.3 don't show the length of .ogg files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Christoph Mende (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 293975
Blocks:
  Show dependency tree
 
Reported: 2009-09-19 15:26 UTC by Stephan Friedrichs
Modified: 2010-03-14 16:36 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
paludis --info sonata mpd (info,22.97 KB, text/plain)
2009-09-19 15:29 UTC, Stephan Friedrichs
Details
emerge --info (emerge--info,2.59 KB, text/plain)
2009-10-17 11:07 UTC, Arseny Solokha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Friedrichs 2009-09-19 15:26:42 UTC
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.
Comment 1 Stephan Friedrichs 2009-09-19 15:29:31 UTC
Created attachment 204611 [details]
paludis --info sonata mpd
Comment 2 Arseny Solokha 2009-10-17 11:07:40 UTC
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.
Comment 3 Michal Kurgan 2009-10-25 03:52:56 UTC
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.
Comment 4 Stephan Friedrichs 2009-10-25 09:29:18 UTC
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.
Comment 5 Christoph Mende (RETIRED) gentoo-dev 2009-11-04 20:59:25 UTC
so this is fixed with 0.15.5?
I'll try to get it stable as fast as possible then
Comment 6 Arseny Solokha 2009-11-05 01:14:40 UTC
Personally I cannot reproduce it with 0.15.5.
Comment 7 Michal Kurgan 2009-11-05 01:59:44 UTC
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.
Comment 8 Christoph Mende (RETIRED) gentoo-dev 2010-03-14 16:36:05 UTC
.5 stable everywhere except for sh