[banshee] [RandomBy] Add TODO comment
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] [RandomBy] Add TODO comment
- Date: Sun, 21 Feb 2010 21:51:10 +0000 (UTC)
commit 9f796f6159c5c8e286b450acd0cb9d97641d6fb6
Author: Gabriel Burt <gabriel burt gmail com>
Date: Sun Feb 21 13:47:41 2010 -0800
[RandomBy] Add TODO comment
.../Banshee.Collection.Database/RandomBy.cs | 1 +
.../Banshee.Collection.Database/Shuffler.cs | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Banshee.Services/Banshee.Collection.Database/RandomBy.cs b/src/Core/Banshee.Services/Banshee.Collection.Database/RandomBy.cs
index 9e0889a..4d1328a 100644
--- a/src/Core/Banshee.Services/Banshee.Collection.Database/RandomBy.cs
+++ b/src/Core/Banshee.Services/Banshee.Collection.Database/RandomBy.cs
@@ -73,6 +73,7 @@ namespace Banshee.Collection.Database
get {
if (shuffler_query == null) {
var provider = DatabaseTrackInfo.Provider;
+ // TODO also filter on LastPlayed/SkippedStamp if not PlaybackShuffler (eg for manually added songs)
shuffler_query = new HyenaSqliteCommand (String.Format (@"
SELECT {0} {1}
FROM {2} {3} LEFT OUTER JOIN CoreShuffles ON (CoreShuffles.ShufflerId = {4} AND CoreShuffles.TrackID = CoreTracks.TrackID)
diff --git a/src/Core/Banshee.Services/Banshee.Collection.Database/Shuffler.cs b/src/Core/Banshee.Services/Banshee.Collection.Database/Shuffler.cs
index 460d0a8..0fb4708 100644
--- a/src/Core/Banshee.Services/Banshee.Collection.Database/Shuffler.cs
+++ b/src/Core/Banshee.Services/Banshee.Collection.Database/Shuffler.cs
@@ -186,4 +186,4 @@ namespace Banshee.Collection.Database
}
}
}
-}
+}
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]