Bug 341802 - Amarok doesn't advance in playlist
Summary: Amarok doesn't advance in playlist
Status: RESOLVED UNMAINTAINED
Alias: None
Product: amarok
Classification: Applications
Component: Playback/Replay Gain (other bugs)
Version First Reported In: 2.8.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 2.9
Assignee: Amarok Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-12 11:02 UTC by Thomas Tanghus
Modified: 2021-02-04 01:27 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Tanghus 2014-12-12 11:02:26 UTC
I mostly use Amarok for listening to (dowloaded) talk radio shows; they're so good to fall asleep to at night ;)
Recently Amarok has started not to advance in the playlist, meaning that it plays the first track, and then stops. Sometimes after several hours, it suddenly starts playing the next track, which has given me quite some surprises :D

Reproducible: Always

Steps to Reproduce:
1. Add some tracks to the playlist.
2. Double-click on the first track to start playing.


Actual Results:  
Only the first track plays, then it stops though the tracks seems to be still playing.

Expected Results:  
The playlist should advance to the next track and start playing that one.

Debug output:
amarok: BEGIN: void EngineController::slotAboutToFinish() 
amarok:   BEGIN: void Playlist::Actions::requestNextTrack() 
amarok:     BEGIN: void Playlist::Actions::play(quint64, bool) 
amarok:       BEGIN: void EngineController::setNextTrack(Meta::TrackPtr) 
amarok:       END__: void EngineController::setNextTrack(Meta::TrackPtr) [Took: 0s] 
amarok:     END__: void Playlist::Actions::play(quint64, bool) [Took: 0s] 
amarok:   END__: void Playlist::Actions::requestNextTrack() [Took: 0s] 
amarok: END__: void EngineController::slotAboutToFinish() [Took: 0.001s] 
amarok: [EngineController] slotTrackLengthChanged( 2531904 ) 
amarok: BEGIN: void ProgressWidget::redrawBookmarks(const QString*) 
amarok:   BEGIN: TimecodeLoadCapabilityPodcastImpl::TimecodeLoadCapabilityPodcastImpl(Podcasts::PodcastEpisode*) 
amarok:     episode:  "Natursyn: Rensdyr i familien 2014-12-01" 
amarok:   END__: TimecodeLoadCapabilityPodcastImpl::TimecodeLoadCapabilityPodcastImpl(Podcasts::PodcastEpisode*) [Took: 0s] 
amarok:   BEGIN: virtual BookmarkList TimecodeLoadCapabilityPodcastImpl::loadTimecodes() 
amarok:   END__: virtual BookmarkList TimecodeLoadCapabilityPodcastImpl::loadTimecodes() [Took: 0.004s] 
amarok:   found  0  timecodes on this track 
amarok: END__: void ProgressWidget::redrawBookmarks(const QString*) [Took: 0.005s] 
amarok: MPRIS2: Album image location is KUrl("") 
amarok: MPRIS2: Queueing up a PropertiesChanged signal 
amarok: BEGIN: void EngineController::slotMetaDataChanged() 
amarok:   [EngineController] slotMetaDataChanged(): new meta-data: QMap(("xesam:album", QVariant(QString, "Feature") ) ( "xesam:author" ,  QVariant(QString, "DR") ) ( "xesam:genre" ,  QVariant(QString, "Podcast") ) ( "xesam:title" ,  QVariant(QString, "Feature: En ukendt ener, Søren Giversen 2014-11-28") ) ( "xesam:url" ,  QVariant(QUrl, QUrl("file:///home/tol/.kde/share/apps/amarok/podcasts/FEATURE/Feature--En-ukendt-ener--Soere_49067f94b2cc4fdd999f5fb9ac2dbb24_192.mp3") ) ) )  
amarok: END__: void EngineController::slotMetaDataChanged() [Took: 0s] 

Diagnostics:
Amarok Diagnostics

Amarok Version: 2.8.0
KDE Version: 4.14.2
Qt Version: 4.8.6
Phonon Version: 4.7.80
Phonon Backend: GStreamer (4.7.80)
PulseAudio: No

Amarok Scripts:
    Amarok Script Console 1.0 (stopped)
Lyricwiki .2 (running)
Dansk Netradio 1.0.8 (running)
Free Music Charts 1.6.0 (running)
Librivox.org 1.0 (running)
Cool Streams 1.0 (running)

Amarok Plugins:
    AudioCd Collection (disabled)
DAAP Collection (enabled)
MTP Collection (enabled)
MySQLServer Collection (enabled)
MySQLe Collection (enabled)
UPnP Collection (disabled)
Universal Mass Storage Collection (enabled)
iPod, iPad & iPhone Collection (disabled)
Ampache (disabled)
Jamendo (disabled)
Last.fm (disabled)
MP3 Music Store (disabled)
MP3tunes (disabled)
Magnatune Store (disabled)
Podcast Directory (enabled)
gpodder.net (enabled)
Comment 1 Thomas Tanghus 2014-12-12 13:18:22 UTC
It seems to be related to whether replay gain is enabled. I will do some more testing and update the issue accordingly.
Comment 2 Thomas Tanghus 2014-12-15 07:37:15 UTC
Disabling Replay Gain helps somewhat it seems. It doesn't stop all occurences though. It looks like a bookmark is automatically created at the end of the track, and the playback stops when it reaches it.
Comment 3 Be 2014-12-21 22:28:49 UTC
This happens to me randomly as well, including the random restart of playback sometimes hours later. When it happens, Amarok fails to advance from the last track of one album the first track of another.