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;
