[banshee/gio-hardware] [Fixup] Add a couple FIXME comments
- From: Alex Launi <alexlauni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee/gio-hardware] [Fixup] Add a couple FIXME comments
- Date: Fri, 13 Aug 2010 15:26:54 +0000 (UTC)
commit 571d8611572f0a67b681d01b451988f68c8db425
Author: Gabriel Burt <gabriel burt gmail com>
Date: Thu Aug 12 16:31:33 2010 -0700
[Fixup] Add a couple FIXME comments
.../Banshee.Fixup/AlbumDuplicateSolver.cs | 1 +
.../Banshee.Fixup/ArtistDuplicateSolver.cs | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/Extensions/Banshee.Fixup/Banshee.Fixup/AlbumDuplicateSolver.cs b/src/Extensions/Banshee.Fixup/Banshee.Fixup/AlbumDuplicateSolver.cs
index b221021..1c1f376 100644
--- a/src/Extensions/Banshee.Fixup/Banshee.Fixup/AlbumDuplicateSolver.cs
+++ b/src/Extensions/Banshee.Fixup/Banshee.Fixup/AlbumDuplicateSolver.cs
@@ -88,6 +88,7 @@ namespace Banshee.Fixup
var winner_id = problem.ObjectIds [Array.IndexOf (problem.SolutionOptions, problem.SolutionValue)];
var losers = problem.ObjectIds.Where (id => id != winner_id).ToArray ();
+ // FIXME update MetadataHash as well
ServiceManager.DbConnection.Execute (
"UPDATE CoreTracks SET AlbumID = ?, DateUpdatedStamp = ? WHERE AlbumID IN (?)",
winner_id, DateTime.Now, losers
diff --git a/src/Extensions/Banshee.Fixup/Banshee.Fixup/ArtistDuplicateSolver.cs b/src/Extensions/Banshee.Fixup/Banshee.Fixup/ArtistDuplicateSolver.cs
index 02a7116..c21912c 100644
--- a/src/Extensions/Banshee.Fixup/Banshee.Fixup/ArtistDuplicateSolver.cs
+++ b/src/Extensions/Banshee.Fixup/Banshee.Fixup/ArtistDuplicateSolver.cs
@@ -103,6 +103,7 @@ namespace Banshee.Fixup
var winner_id = problem.ObjectIds [Array.IndexOf (problem.SolutionOptions, problem.SolutionValue)];
var losers = problem.ObjectIds.Where (id => id != winner_id).ToArray ();
+ // FIXME update MetadataHash as well
ServiceManager.DbConnection.Execute (
@"UPDATE CoreAlbums SET ArtistID = ? WHERE ArtistID IN (?);
UPDATE CoreTracks SET ArtistID = ? WHERE ArtistID IN (?);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]