Separate album art extraction 11/248711/2 accepted/tizen/unified/20201209.124857 submit/tizen/20201208.235402
authorMinje Ahn <minje.ahn@samsung.com>
Tue, 1 Dec 2020 23:11:19 +0000 (08:11 +0900)
committerMinje Ahn <minje.ahn@samsung.com>
Tue, 8 Dec 2020 03:05:20 +0000 (12:05 +0900)
Changed to extract album art only on request.

Change-Id: I0dfb0cb89dabc4ac845bc34a9cf6b2cc40983231
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
src/common/media-svc-util.c

index 4e44550..c271098 100644 (file)
@@ -1102,7 +1102,7 @@ int _media_svc_extract_music_metadata_for_update(media_svc_content_info_s *conte
 
        content_info->path = g_strdup(path);
 
-       mmf_error = mm_file_create_tag_attrs(&tag, content_info->path);
+       mmf_error = mm_file_create_tag_attrs_no_albumart(&tag, content_info->path);
        if (mmf_error == FILEINFO_ERROR_NONE) {
                content_info->media_meta.title = __media_svc_get_title(tag, content_info->path);
                content_info->media_meta.album = __media_svc_get_tag_str_value(tag, MM_FILE_TAG_ALBUM);