[banshee/gapless-ng: 326/836] [Banshee.GStreamer] Fix 'player acts as if repeat all' is on problem. Do this by not raising Request
- From: Christopher James Halse Rogers <chrishr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee/gapless-ng: 326/836] [Banshee.GStreamer] Fix 'player acts as if repeat all' is on problem. Do this by not raising Request
- Date: Thu, 25 Feb 2010 22:44:08 +0000 (UTC)
commit 496aa7c9336c80b12d0efed4691a53ae1c4108e2
Author: Christopher James Halse Rogers <raof ubuntu com>
Date: Fri Oct 30 17:45:34 2009 +1100
[Banshee.GStreamer] Fix 'player acts as if repeat all' is on problem.
Do this by not raising RequestNextTrack in OnEos, and assume that if the PlaybackController didn't have a next track
when about-to-finish was called it still doesn't have a next track
.../Banshee.GStreamer/PlayerEngine.cs | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs b/src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs
index 476a81a..3907354 100644
--- a/src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs
+++ b/src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs
@@ -261,7 +261,9 @@ namespace Banshee.GStreamer
{
Close (false);
OnEventChanged (PlayerEvent.EndOfStream);
- OnEventChanged (PlayerEvent.RequestNextTrack);
+ if (!GaplessEnabled) {
+ OnEventChanged (PlayerEvent.RequestNextTrack);
+ }
}
private void OnNextTrackStarting (IntPtr player)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]