[banshee] DatabaseImportManager: Fix duplicates on import (bgo#623441)
- From: Alexander Kojevnikov <alexk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] DatabaseImportManager: Fix duplicates on import (bgo#623441)
- Date: Mon, 18 Oct 2010 07:13:17 +0000 (UTC)
commit aa40b95bf04ce2c89be391d34c19aec0850bba1e
Author: Alexander Kojevnikov <alexander kojevnikov com>
Date: Mon Oct 18 17:52:12 2010 +1100
DatabaseImportManager: Fix duplicates on import (bgo#623441)
.../DatabaseImportManager.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseImportManager.cs b/src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseImportManager.cs
index 60526c7..75b7a52 100644
--- a/src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseImportManager.cs
+++ b/src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseImportManager.cs
@@ -175,11 +175,11 @@ namespace Banshee.Collection.Database
ServiceManager.DbConnection.BeginTransaction ();
try {
track = new DatabaseTrackInfo ();
- track.Uri = uri;
using (var file = StreamTagger.ProcessUri (uri)) {
StreamTagger.TrackInfoMerge (track, file, false, true);
}
+ track.Uri = uri;
track.PrimarySource = trackPrimarySourceChooser (track);
bool save_track = true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]