Bug 342097

Summary: Streams from Internet shown as having 0:00 duration in playlist
Product: [Applications] amarok Reporter: Be <be.0>
Component: PlaylistAssignee: Amarok Developers <amarok-bugs-dist>
Status: CONFIRMED ---    
Severity: normal CC: 123kash, simonandric5, teo
Priority: NOR    
Version: 2.8-git   
Target Milestone: 2.9   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Be 2014-12-21 22:11:03 UTC
Streams from the Internet are shown in the playlist as having a duration of 0:00. When playing them, Amarok shows the correct times on the play bar at the top. I do not know if there is a way to determine the length of a track from the Internet without downloading the whole track first (which may not be desirable). However, Amarok should at least update the playlist to display the correct duration once the track has been played.


Reproducible: Always

Steps to Reproduce:
Add a stream from the Internet to the playlist, for example:
https://api.soundcloud.com/tracks/2661918/stream?client_id=182a6730c85291f153ce073e55f0ad9e
Comment 1 Myriam Schweingruber 2014-12-22 08:54:44 UTC
Playlist issue, likely duplicates bug 281143, bug 324452

Please also check if it is not working with both phonon backends, we had similar problems in the past with the gstreamer backend.
Comment 2 Be 2014-12-22 20:02:58 UTC
Yes, this is with both Phonon backends. Also, I am referring to the duration of individual tracks, not the playlist total as those other bugs are. Probably as a side effect, the total playlist duration is not incremented when these tracks that Amarok shows as having 0:00 duration are in the playlist.
Comment 3 Be 2014-12-22 20:09:06 UTC
The link in the original description gives a 404 error now. Here is another example (from the Vorbis Wikipedia page), showing that this is not specific to MP3 streams:
https://upload.wikimedia.org/wikipedia/commons/b/bd/Rondo_Alla_Turka.ogg
Comment 4 Myriam Schweingruber 2014-12-23 09:36:36 UTC
Confirmed, the same happens with podcasts that are not downloaded, the playlist obviously checks for a length that is stored locally.