[banshee] [PlayQueueSource] Don't show the last played item on restart (bgo#602488)
- From: Alexander Kojevnikov <alexk src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee] [PlayQueueSource] Don't show the last played item on restart (bgo#602488)
- Date: Sat, 21 Nov 2009 08:41:54 +0000 (UTC)
commit 0c2a25b7550afa5fa952f5bccae103fa652fd5f8
Author: Alexander Kojevnikov <alexander kojevnikov com>
Date: Sat Nov 21 19:40:31 2009 +1100
[PlayQueueSource] Don't show the last played item on restart (bgo#602488)
.../Banshee.PlayQueue/PlayQueueSource.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs b/src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs
index 85013fe..d8e020f 100644
--- a/src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs
+++ b/src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs
@@ -119,7 +119,7 @@ namespace Banshee.PlayQueue
Offset = Math.Min (
CurrentOffsetSchema.Get (),
ServiceManager.DbConnection.Query<long> (@"
- SELECT MAX(ViewOrder)
+ SELECT MAX(ViewOrder) + 1
FROM CorePlaylistEntries
WHERE PlaylistID = ?", DbId));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]