[banshee/gapless-ng: 13/836] [Banshee.PlayQueue] Only RemovePlayingTrack() on Next when this was triggered by the user. We handle



commit 6a8c5ee63008985754f69c8107a20018a4792118
Author: Christopher James Halse Rogers <raof ubuntu com>
Date:   Sun Jul 19 17:12:07 2009 +1000

    [Banshee.PlayQueue] Only RemovePlayingTrack() on Next when this was triggered by the user.
    We handle the 'remove when track finishes' case in the EndOfStream handler

 .../Banshee.PlayQueue/PlayQueueSource.cs           |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs b/src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs
index d079cd8..de2b889 100644
--- a/src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs
+++ b/src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs
@@ -240,7 +240,9 @@ namespace Banshee.PlayQueue
         
         bool IBasicPlaybackController.Next (bool restart, bool userRequested)
         {
-            RemovePlayingTrack ();
+            if (userRequested) {
+                RemovePlayingTrack ();
+            }
             
             if (Count == 0) {
                 ServiceManager.PlaybackController.Source = PriorSource;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]