[banshee] [PlayerEngine] Fix repeating tracks (bgo#633554)



commit 128e7d831ce7d61e56f07afe0521e7ffc57343fe
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Tue Nov 2 15:43:38 2010 -0500

    [PlayerEngine] Fix repeating tracks (bgo#633554)

 .../Banshee.MediaEngine/PlayerEngine.cs            |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngine.cs b/src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngine.cs
index 343f3e6..f34febc 100644
--- a/src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngine.cs
+++ b/src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngine.cs
@@ -73,7 +73,11 @@ namespace Banshee.MediaEngine
 
         public virtual void Close (bool fullShutdown)
         {
-            Reset ();
+            if (fullShutdown) {
+                Reset ();
+            } else {
+                OnStateChanged (idle_state);
+            }
         }
 
         public virtual void Dispose ()



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