Bug 153160 - reported total playlist time wrong
Summary: reported total playlist time wrong
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 1.4.7
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
: 194300 196694 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-11-30 00:28 UTC by Lukas Häner
Modified: 2009-06-16 12:54 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Häner 2007-11-30 00:28:28 UTC
Version:           1.4.7 (using KDE 3.5.8, Kubuntu (gutsy) 4:3.5.8-0ubuntu3.1)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.22-14-generic

I have 44 tracks in a saved playlist. After loading it, to total playlist length is reported as 2213 weeks and 3 days which means that every track would have a duration of 352 days ... The correct time would be about 2 and 1/2 hours.
At the beginning these times where shown correctly, but after exchanging the current playlist with a already stored one a few times, they got incorrect.
Comment 1 Jonas Vejlin 2009-04-04 12:41:41 UTC
Do you still have this problem with amarok 2 ?
Comment 2 mahan-usago 2009-05-21 20:13:54 UTC
didn't have this with 1.4.x but now with Version 2.0.96 (Debian 2.0.96-2)
Using KDE 4.2.2 (KDE 4.2.2) (experimental). Amarok seems to sum up playlist times. So if I add my whole collection once, the time is correct, if I clean the whole playlist and add it again the total length is twice the actual length. (a restart fixes this, so this is really a minor bug - no idea if it's the same that Lukas found)
Comment 3 Kevin Funk 2009-05-28 10:31:33 UTC
*** Bug 194300 has been marked as a duplicate of this bug. ***
Comment 4 Vesa Muhonen 2009-06-06 16:30:52 UTC
I seem to have the same problem here. Amarok 2.1 on KDE 4.2.4 on openSUSE 11.1.
Comment 5 Myriam Schweingruber 2009-06-07 12:05:50 UTC
Teo, could you have a look at that please?
Comment 6 Teo Mrnjavac 2009-06-07 19:06:27 UTC
I managed to reproduce the bug, will be dealt with.
Comment 7 Teo Mrnjavac 2009-06-07 20:18:16 UTC
SVN commit 978625 by mrnjavac:

Reset total playlist time when the playlist is cleared.
BUG: 153160

 M  +1 -0      PlaylistModel.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=978625
Comment 8 Myriam Schweingruber 2009-06-16 12:54:28 UTC
*** Bug 196694 has been marked as a duplicate of this bug. ***