[banshee/stable-1.8] [Importing] Fix regression with importing mkv (bgo#635453)



commit b3276cbe43c14e42adac5725dd03e91c18d52b2a
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Mon Nov 22 17:41:43 2010 -0600

    [Importing] Fix regression with importing mkv (bgo#635453)

 .../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 75b7a52..337b54b 100644
--- a/src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseImportManager.cs
+++ b/src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseImportManager.cs
@@ -174,7 +174,7 @@ namespace Banshee.Collection.Database
             // because of transactions.  Needs to be fixed in HyenaDatabaseConnection.
             ServiceManager.DbConnection.BeginTransaction ();
             try {
-                track = new DatabaseTrackInfo ();
+                track = new DatabaseTrackInfo () { Uri = uri };
                 using (var file = StreamTagger.ProcessUri (uri)) {
                     StreamTagger.TrackInfoMerge (track, file, false, true);
                 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]