[easytag/wip/musicbrainz-support-merge: 53/75] Changed Retrieving Track message to include medium also



commit 7355e36cca4429e30573d0d2289a7e372548c61a
Author: Abhinav <abhijangda hotmail com>
Date:   Tue Aug 12 14:11:37 2014 +0530

    Changed Retrieving Track message to include medium also

 src/mb_search.c |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/src/mb_search.c b/src/mb_search.c
index 9a6c101..5bf68b7 100755
--- a/src/mb_search.c
+++ b/src/mb_search.c
@@ -358,15 +358,16 @@ et_musicbrainz_search_in_entity (MbEntityKind child_type,
                         {
                             Mb5Recording recording;
 
-
                             CHECK_CANCELLED(cancellable);
                             recording = mb5_track_get_recording (mb5_track_list_item (track_list, j));
                             size = mb5_recording_get_title (recording, buf,
                                                             sizeof (buf));
                             buf[size] = '\0';
-                            message = g_strdup_printf (_("Retrieving %s (%d/%d)"),
-                                                       buf, j,
-                                                       mb5_track_list_size (track_list));
+                            message = g_strdup_printf (_("Retrieving %s (%d/%d) of medium (%d/%d)"),
+                                                       buf, j + 1,
+                                                       mb5_track_list_size (track_list),
+                                                       i + 1,
+                                                       mb5_medium_list_size (list));
 #ifndef TEST
                             et_show_status_msg_in_idle (message);
 #endif
@@ -1316,7 +1317,7 @@ free_mb_tree (GNode **_node)
             mb5_recording_delete ((Mb5Recording)et_entity->entity);
         }
     
-        g_slice_free (EtMbEntity, et_entity);
+        
     }
 
     g_node_unlink (node);


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