banshee r2991 - in trunk/banshee: . src/Core/Banshee.Services/Banshee.MediaEngine
- From: scottp svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r2991 - in trunk/banshee: . src/Core/Banshee.Services/Banshee.MediaEngine
- Date: Sat, 19 Jan 2008 01:06:47 +0000 (GMT)
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]