Bug 795878

Summary: Gapless playback causes banshee to skip into the middle of the next song
Product: [Fedora] Fedora Reporter: Jonas Wielicki <j.wielicki>
Component: bansheeAssignee: Tom "spot" Callaway <tcallawa>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: chkr, nathaniel, tcallawa, w29.ftw+redhat
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-13 23:12:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jonas Wielicki 2012-02-21 17:50:43 UTC
Description of problem:
When having gapless playback enabled, banshee sometimes skips into the middle of the next song instead of playing from the beginning when the current song ends.

Version-Release number of selected component (if applicable):
Name        : banshee
Arch        : x86_64
Version     : 2.2.1


How reproducible:
Often (seems not to work when the position slider is manipulated since the start of the current song) with certain songs. I'm not sure if it works with all song tuples where the first song is shorter than the second.

Steps to Reproduce:
0. Turn on gapless playback in Banshee
1. Get a pair of songs which are both in the same album, while the first is shorter than the second and the second follows the first in album track order.
2. Start playback on the first one, while having the filtering set to only that one album and shuffle disabled.
3. Wait until the end of the song (maybe minimize banshee?)
  
Actual results:
Banshee keeps the second/minute of playback for the next song, thus skips at the position which is the same as the length of the first song.

Expected results:
Banshee plays the next song from the beginning.

Additional info:
Feels hard to track. I'll try with publicy available sound files if you can provide me links which match the conditions.
If it happens once for a set of songs, it happens always.
It may also be related to the FLAC format or gstreamer, so my gstreamer version is:
Name        : gstreamer
Arch        : x86_64
Version     : 0.10.35

Comment 1 Wouter Schaekers 2012-03-20 23:12:45 UTC
I have discovered the same bug.
As far as I remember, the bug is in Banshee since version 2.x. It wasn't in Banshee in earlier versions.

The bug only occurs occasionally. I have two places where this bug occurs.
The transition from the songs Contagious and Keep Holding On from Avril Lavigne and some other transition between two songs of the Foo Fighters. The second song is indeed shorter than the first song, but the place where Banshee skips is not the lenth of the first song. Also, Banshee doesn't have to be minimized.
Gapless playback is enabeled. The two songs succeed each other in the same album.
The songs are FLAC files. My version of gstreamer is 0.10. I use Ubuntu 11.10.
I don't think I can publish the songs that I mentioned, since I don't own the copyright :p.

To summarize:
* Problem with FLAC files
* Gapless playback is enabeled
* The two songs are in the same album and succeed each other in that album
* The length of the second song is larger than the length of the first song
* Shuffle is disabeled
* The place where it skips is always the same, but there doesn't seem to be a relation between that place and the length of the songs
* It always happens with the same songs
* The bug is in Banshee since version 2.x
* The bug is distro-independent
* Maybe a problem with gstreamer 0.10?

Comment 2 Jonas Wielicki 2012-03-21 16:44:32 UTC
In that case, it might be sensible to report that bug upstream, as its clearly not distribution dependent. Also, gstreamer and banshee happen to be both tracked in the gnome-bugtracker, thus I think this is the way to go.

While attempting to submit the bug upstream, I found that there is a duplicate:
<https://bugzilla.gnome.org/show_bug.cgi?id=647975>

Comment 3 Fedora End Of Life 2013-01-16 19:17:56 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Fedora End Of Life 2013-02-13 23:12:03 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.