Playlist loops if the last file is an Ogg Vorbis

Bug #1102165 reported by Adrien Beau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Amarok
Fix Released
Medium
amarok (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

kubuntu version: 12.04.1 LTS
amarok version: 2:2.5.0-0ubuntu6
phonon-backend-gstreamer version: 4:4.7.0really4.6.2-0ubuntu0.1

I set the playlist Track Progression to Standard. I expect playback to go through the playlist and then stop when the end of the last song is reached. What happens instead is that the playlist starts playing again from the start. It never stops playing until I press the Stop button.

I have noticed this only happens with Ogg Vorbis files. When I play MP3 or FLAC files, the playlist does not loop. Unfortunately, most of my audio files are Ogg Vorbis files.

A workaround is to right-click on the last song in the playlist, and select Stop Playing After This Track. This is tedious and I often forget to do it.

This bug was reported to KDE (#300884). It was noted by other users that it only happened with the GStreamer backend. It is reportedly fixed in Amarok 2.6.0 + Phonon GStreamer 4.6.1.

Can the fix be backported to precise?

Revision history for this message
In , Jan (medhefgo) wrote :

My playlist keeps repeating (starting from the top) after the last song finished playing even though track progression is set to default and dynamic playlist mode is not active. This also happens with a fresh amarok profile. If I remember correctly, it started happening with 2.5 and is still happening with current git. I can try a git bisect if the part of the debug log that I get when the playlist finishes (in this case with only 1 song in it) isn't enough information.

Reproducible: Always

Revision history for this message
In , Jan (medhefgo) wrote :

Created attachment 71444
Partial debug output

Revision history for this message
In , Myriam Schweingruber (myriam) wrote :

Confirmed, it indeed starts from the top. Since I rarely finish a playlist but continuously add new tracks I was not aware of that.

Revision history for this message
In , Periliocastrol (periliocastrol) wrote :

In my case the playlist is repeated only if the last file on it is an *.ogg file. When the last file on it is an *.mp3 file it stops correctly.

Revision history for this message
In , Jan (medhefgo) wrote :

(In reply to comment #3)
> In my case the playlist is repeated only if the last file on it is an *.ogg
> file. When the last file on it is an *.mp3 file it stops correctly.
I can confirm this. Playback stops as it should if playlist ends with mp3 and/or flac file.

Revision history for this message
In , Myriam Schweingruber (myriam) wrote :

I just retried here, stops correctly with a flac file and an ogg file too now. Do you have the latest Amaok build?

Revision history for this message
In , Jan (medhefgo) wrote :

Still happening with latest git for me.

Revision history for this message
In , Periliocastrol (periliocastrol) wrote :

It still happens to me with latest git. It works well with flac and mp3 at the end.

Only happens when the last file is an ogg.

Revision history for this message
In , Myriam Schweingruber (myriam) wrote :

Which phonon backend are you folks using? I can't reproduce this with latest git, phonon-backend-vlc 0.5.0, last commit is 99a0019789f6e2ceaadf70d610801fb4019eb8b6

If you don't use the same backend as I do, please change it and try again (don't forget to restart KDE so the backend change takes effect.).

Revision history for this message
In , Periliocastrol (periliocastrol) wrote :

Phonon-vlc works as expected, it seems a problem with phonon-gstreamer only.

Revision history for this message
In , Jan (medhefgo) wrote :

Yeah, using phonon-vlc, the playlist doesn't repeat. With phonon-gstreamer (4.6.0) it does, regardless of wether pulseaudio is used or not. Which makes me raise the question: Why does a phonon backend get to decide to repeat a playlist that ends in ogg files?

Revision history for this message
In , Myriam Schweingruber (myriam) wrote :

That is something for the phonon developers to explore, reassigning.

Revision history for this message
In , Harald Sitter (apachelogger) wrote :

Amarok handles abouttofinish on the same track twice as per the debug log.

Revision history for this message
In , Myriam Schweingruber (myriam) wrote :

Why does it wok with the vlc backend, then? If it were Amarok it would be reproducible with both backends, no?

Revision history for this message
In , Jan (medhefgo) wrote :

Seems to be fixed with the release candidate + phonon gstreamer 4.6.1

Revision history for this message
In , Myriam Schweingruber (myriam) wrote :

Indeed, this is due to the Engine controller changes.

Revision history for this message
In , Myriam Schweingruber (myriam) wrote :

Setting status correctly.

Adrien Beau (adrienbeau)
description: updated
Changed in amarok:
importance: Unknown → Medium
status: Unknown → Fix Released
Revision history for this message
Rohan Garg (rohangarg) wrote :

Package has been backported to the Kubuntu backports ppa. Thanks for taking the time to report this bug :)

Changed in amarok (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.