Shuffle + repeat + two-track playlist results in buggy behavior

Bug #68932 reported by Jeffrey Knockel
4
Affects Status Importance Assigned to Milestone
Rhythmbox
Fix Released
Low
rhythmbox (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Bug: When there are only two tracks in a playlist and both shuffle and random are enabled, Rhythmbox can have buggy behavior when the next button is pressed. If I am playing track A and press next, sometimes Rhythmbox will highlight track B, replace track A's name at the top with track B's, but Rhythmbox will play track A again instead. I suspect that Rhythmbox's random song chooser allows for the possibility of a song playing twice in a row, which is fine, but this bug deals with Rhythmbox visually looking like it's playing one track when it's audibly playing another.

To reproduce, turn on shuffle and repeat in the options menu. Then open a playlist with two tracks (or use the browser to narrow a playlist to two tracks). Play a song in that playlist, and then press next until the bug occurs. (The bug seems to randomly occur, but it's often enough that it should occur without too many tries.)

Revision history for this message
Jeffrey Knockel (jeff250) wrote :

I just noticed this happening with a three-track playlist too, except much more rarely, so I tried it with a six-track playlist, and it happened more rarely yet. Maybe Rhythmbox _is_ supposed to have some safe-guard to prevent a song from being played twice in a row, except it isn't working quite right? If so, it looks like it manages to select a different song and display its text at the top, but then it just plays the previous song again anyways.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. What version of Ubuntu and rhythmbox are you using?

Changed in rhythmbox:
assignee: nobody → desktop-bugs
status: Unconfirmed → Needs Info
Revision history for this message
Jeffrey Knockel (jeff250) wrote :

Fully updated Ubuntu 6.10 with Rhythmbox 0.9.6. I noticed this happening on my brother's computer too, which has the same version. This is my first time using Rhythmbox, so I can't speak to older versions.

Revision history for this message
Tim Retout (diocles) wrote :

Added upstream bug.

I've written a patch that fixes it, but it's not yet been reviewed upstream.

Changed in rhythmbox:
status: Unknown → Unconfirmed
Revision history for this message
Jeffrey Knockel (jeff250) wrote :

I've been using this patch for a while, and it seems to work greatly.

Changed in rhythmbox:
status: Unconfirmed → Fix Released
Revision history for this message
Daniel Holbach (dholbach) wrote :

Fixed in CVS.

Changed in rhythmbox:
importance: Undecided → Medium
status: Needs Info → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Fixed with that upload:

 rhythmbox (0.9.6.90-0ubuntu1) feisty; urgency=low
 .
   * New upstream pre-version
   * debian/control.in:
     - build with the new libgpod package
   * debian/patches/10_podcasts-with-html-mime-type.patch,
     debian/patches/90_from_cvs_fix_crash_when_disconnecting_ipod.patch,
     debian/patches/91_from_cvs_fix_crasher_when_closing_while_playing_cd.patch,
     debian/patches/92_from_cvs_set_codeset_to_utf8.patch,
     debian/patches/93_from_cvs_fix_crash_on_song_edition.patch:
     - dropped, those issues are fixed with the new version
   * plugins/audioscrobbler/audioscrobbler-ui.xml:
     - copy file from CVS, the tarball doesn't ship it

Changed in rhythmbox:
status: Fix Committed → Fix Released
Changed in rhythmbox:
importance: Unknown → Low
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.