The commit that fixed the upstream bug is applyable to the Debian stable
version without any visible negative impact.
However I do not know exactly how to package a patch in a way that it's
ready for the Debian repository.
The upstream commit can be found at
https://git.gnome.org/browse/rhythmbox/commit/?id=98e5a25b3c32c9915357968a78783c1ac21c7130
I attached the original patch from said git commit, on my machine it
applied to the Debian sources of rhythmbox without any visible trouble
and fixed the bug.
From 98e5a25b3c32c9915357968a78783c1ac21c7130 Mon Sep 17 00:00:00 2001
From: Jonathan Matthew <[email protected]>
Date: Sun, 28 Oct 2012 04:02:53 +0000
Subject: shell-player: clear playlist parser cancellable when pausing

https://bugzilla.gnome.org/show_bug.cgi?id=663440
---
diff --git a/shell/rb-shell-player.c b/shell/rb-shell-player.c
index 1dc42c8..3ec2128 100644
--- a/shell/rb-shell-player.c
+++ b/shell/rb-shell-player.c
@@ -2378,6 +2378,10 @@ rb_shell_player_playpause (RBShellPlayer *player,
 			rb_debug ("playing source is already NULL");
 		} else if (rb_source_can_pause (player->priv->source)) {
 			rb_debug ("pausing mm player");
+			if (player->priv->parser_cancellable != NULL) {
+				g_object_unref (player->priv->parser_cancellable);
+				player->priv->parser_cancellable = NULL;
+			}
 			rb_player_pause (player->priv->mmplayer);
 			songs = rb_source_get_entry_view (player->priv->current_playing_source);
 			if (songs)
--
cgit v0.9.2

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to