banshee r2991 - in trunk/banshee: . src/Core/Banshee.Services/Banshee.MediaEngine



Author: scottp
Date: Sat Jan 19 01:06:46 2008
New Revision: 2991
URL: http://svn.gnome.org/viewvc/banshee?rev=2991&view=rev

Log:
* src/Core/Banshee.Services/Banshee.MediaEngine/PlaybackControllerService.cs:
  Makes sure playback doesn't barf when there is no next track to
  play.

Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Core/Banshee.Services/Banshee.MediaEngine/PlaybackControllerService.cs

Modified: trunk/banshee/src/Core/Banshee.Services/Banshee.MediaEngine/PlaybackControllerService.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.Services/Banshee.MediaEngine/PlaybackControllerService.cs	(original)
+++ trunk/banshee/src/Core/Banshee.Services/Banshee.MediaEngine/PlaybackControllerService.cs	Sat Jan 19 01:06:46 2008
@@ -136,6 +136,8 @@
                     if (tmp_track != null) {
                         previous_stack.Push (tmp_track);
                     }
+                } else {
+                    return;
                 }
                 
                 CurrentTrack = next_track;



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