[banshee] [emusic] Always copy downloaded tracks to the library



commit c8119cc5e05207d902bc9845690269bcd4a217cf
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Sat Jan 9 17:28:27 2010 +0100

    [emusic] Always copy downloaded tracks to the library
    
    If the "Copy files to media folders when importing" was not set, tracks
    would be imported directly from the download folder under .cache and
    then the file deleted, making the track unplayable.
    We create and use a new instance of LibraryImportManager that always
    copies tracks to the library folder.

 .../Banshee.Emusic/Banshee.Emusic/EmusicService.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Extensions/Banshee.Emusic/Banshee.Emusic/EmusicService.cs b/src/Extensions/Banshee.Emusic/Banshee.Emusic/EmusicService.cs
index 4eadb70..188e0c0 100644
--- a/src/Extensions/Banshee.Emusic/Banshee.Emusic/EmusicService.cs
+++ b/src/Extensions/Banshee.Emusic/Banshee.Emusic/EmusicService.cs
@@ -61,7 +61,7 @@ namespace Banshee.Emusic
         {
             tasks = new Dictionary<string, HttpFileDownloadTask> ();
 
-            import_manager = ServiceManager.Get<LibraryImportManager> ();
+            import_manager = new LibraryImportManager (true);
             import_manager.ImportResult += HandleImportResult;
 
             if (download_manager == null)



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