[banshee] [MediaEngine] Fix up the error handling



commit 879ca63e1f8fe403c89172a6d77c71650c439069
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Wed Mar 10 15:07:43 2010 -0800

    [MediaEngine] Fix up the error handling
    
    Should properly go to the next track again, and cancelling the error
    timeout should work again.

 .../PlaybackControllerService.cs                   |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Banshee.Services/Banshee.PlaybackController/PlaybackControllerService.cs b/src/Core/Banshee.Services/Banshee.PlaybackController/PlaybackControllerService.cs
index 81115b8..f62c918 100644
--- a/src/Core/Banshee.Services/Banshee.PlaybackController/PlaybackControllerService.cs
+++ b/src/Core/Banshee.Services/Banshee.PlaybackController/PlaybackControllerService.cs
@@ -144,7 +144,11 @@ namespace Banshee.PlaybackController
 
                     CancelErrorTransition ();
                     // TODO why is this so long? any reason not to be instantaneous?
-                    Application.RunTimeout (250, EosTransition);
+                    error_transition_id = Application.RunTimeout (250, delegate {
+                        EosTransition ();
+                        RequestTrackHandler ();
+                        return true;
+                    });
                     break;
                 case PlayerEvent.StateChange:
                     if (((PlayerEventStateChangeArgs)args).Current != PlayerState.Loading) {



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