Sometimes (~half the time) when going to the next song in the playlist, Amarok will skip a song and jump at least partway (20% - 60%) through the next song. I just upgraded to Ubuntu 15.10 and this just started happening. I am using a dynamic playlist to generate the songs to play, but I tried shutting off dynamic list and that did not change anything. Just now it skipped 2 entire songs, starting at the beginning of the 3rd following song in the list. Reproducible: Sometimes Steps to Reproduce: 1. set up playlist of songs 2. play Actual Results: sometimes skips songs in the list (perhaps starting to play them for an instant, but then skipping on to the next song, sometimes skipping again, sometimes jumping in to the middle of a song.) Expected Results: play songs in list in order, not skipping always play from the start of the song
Which exact phonon backend do you have? try switching the phonon backend (there should be gstreamer and vlc backends) and see if it happens with both (You need to restart Plasma to make the backend change effective)
I can confirm that behaviour and I have experienced with GStreamer as well as VLC backend. amarok -d gives that error message: amarok: BEGIN: void EngineController::seekTo(int) amarok: [EngineController] seek to: 171000 amarok: BEGIN: virtual void Phonon::VLC::MediaObject::seek(qint64) amarok: seeking 171000 msec amarok: END__: virtual void Phonon::VLC::MediaObject::seek(qint64) [Took: 0s] amarok: END__: void EngineController::seekTo(int) [Took: 0s] amarok: BEGIN: void Phonon::VLC::MediaObject::changeState(Phonon::State) amarok: Phonon::PlayingState --> Phonon::BufferingState amarok: END__: void Phonon::VLC::MediaObject::changeState(Phonon::State) [Took: 0s] [00007f02bcc05e38] mpgatofixed32 audio converter error: libmad error: bad main_data_begin pointer 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: 0s] This happens while using the VLC backend, but GStreamer backends gives the same error message Amarok is 2.8.0 / KDE 4.14.15, but KDE Frameworks 5 libmad is 0.15.1b
Florian: apparently you have some faulty tracks, as the error message suggests: audio converter error: libmad error: bad main_data_begin pointer Just to narrow this down: what type of tracks are we talking about? You both use Plasma 5 apparently, did this happen with KDE4 before or is this a new behavior with Plasma 5? Since I can't reproduce this here at all with KDE4, I strongly suspect this to be a new problem caused by either phonon or libmad. Just to make this clear: libmad (the MPEG audio converter) is not an Amarok dependency at all, but might be for Phonon or the backends.
The problem is not reproducible. A track that is skipped plays fine the next time, therefore I doubt that it stems from a faulty track. I do not remember having it before Plasma 5, but also don't think it came with Plasma 5, either. I think it has happened with mp3 tracks only. I concur that this is not a Amarok bug, but lies in the deeper layers of the audio stack.
Well, then there is really very little we can do about, pushing it to Phonon, they might know what causes the problem.
Please get a debug output from phonon about this. https://techbase.kde.org/Development/Tutorials/Debugging/Phonon#Environment_Variables You can also start amarok with `amarok --debug-audio` that will toggle on all phonon debugging.
Created attachment 96703 [details] Output of amarok --debug-audio 2>&1 I have listened to a couple of songs until Amarok skipped one song. After playing 5 seconds of the next song I stopped and quit Amarok.
I have listened to a couple of songs until Amarok skipped one song. After playing 5 seconds of the next song I stopped and quit Amarok. Backend is gstreamer 1.6.2-1 gstreamer0.10 0.10.36-4 Whatever KDE uses for backend.
Created attachment 96740 [details] amarok --debug --debug-audio
I have produced another log with using amarok --debug --debug-audio. This times it hasn't just skipped the track but jumped at the middle instead of starting from beginning.
(In reply to Florian Lindner from comment #10) > I have produced another log with using amarok --debug --debug-audio. > > This times it hasn't just skipped the track but jumped at the middle instead > of starting from beginning. Thanks for the output, but it would be nice if you could reduce that to the 50 or so lines when the problem happens (or at least tell me which track is skipped so I can find that)
As I said, I quit Amarok after the error occured. So look for the last song.
(In reply to Florian Lindner from comment #12) > As I said, I quit Amarok after the error occured. So look for the last song. right, there are several dozens of lines when you quit amarok, this will take some time... Do you remember what type of track it was, mp3 or FLAC? There have been problems with file type transitions in the past, more information would really be helpful...
It was all FLAC and the artist name (also contained in the filename) was Downset. Downset - 11 - Sangre De Mis Manos was played successfully, the next track, Downset - 12 - Horrifying started from the middle.
(In reply to Florian Lindner from comment #14) > It was all FLAC and the artist name (also contained in the filename) was > Downset. > > Downset - 11 - Sangre De Mis Manos was played successfully, the next track, > Downset - 12 - Horrifying started from the middle. Thank you for the information.
Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved.