Bug 324452 - No or wrong playlist length (time) displayed when adding files per drag&drop from outside Amarok
Summary: No or wrong playlist length (time) displayed when adding files per drag&drop ...
Status: CONFIRMED
Alias: None
Product: amarok
Classification: Applications
Component: Playlist (show other bugs)
Version: 2.8.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: 2.9
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-03 12:20 UTC by Frank Schaefer
Modified: 2014-02-12 08:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Schaefer 2013-09-03 12:20:55 UTC
When adding songs to the playlist using drag&drop from outside Amarok, the toal playlist length is not displayed or the displayed value is wrong.
The number of songs is always displayed correctly.

Reproducible: Always

Steps to Reproduce:
1.Select some mp3 files in Dolphin
2.Put these files per drag&drop on the Amarok playlist
3.
Actual Results:  
No or wrong total playlist length (time) is displayed (the number of songs is always correct).

Expected Results:  
The correct total playlist length (time) is displayed.
Comment 1 Myriam Schweingruber 2013-09-03 18:39:32 UTC
Which Phonon backend do you use? Is this reproducible with both the gstreamer and the vlc backend?
Comment 2 Frank Schaefer 2013-09-04 09:56:32 UTC
It's reproducible with both backends.
The playlist length is correct when adding songs from the collection browser, it only happens when adding files from outside Amarok using drag&drop.

I tried to figure figure out what might go wrong:
When starting an empty playlist, at least 3 files must be added with a single drag&drop operation. Otherwise no total length is calculated. The total length then seems to be the sum of the length of first n songs with n = (nr. of songs - 2).
I also noticed, that if no total lenght is displayed (only the nr. of songs) and a song is deleted from the list, a total length appears beeing (60 min. - length of the deleted song).
Comment 3 Frank Schaefer 2013-09-04 09:58:40 UTC
(NEEDSINFO WAITINGFORINFO => UNCONFIRMED)
Comment 4 Myriam Schweingruber 2013-09-04 10:39:47 UTC
Thank you for the feedback.
Comment 5 robert marshall 2014-02-12 07:08:16 UTC
I'm also seeing the playlist length (in time) not incremented if I add something to the list using the amaroks 'Playlist=>add media' menu - is this the same bug or should another be opened?
Comment 6 Myriam Schweingruber 2014-02-12 08:50:51 UTC
That is probably the same bug