if ((mmf_error == FILEINFO_ERROR_NONE) && (size > 0)) {
if (g_str_has_suffix(content_info->mime_type, "mp4") || g_str_has_suffix(content_info->mime_type, "3gpp")) {
/*Creation time format is 20130101 00:00:00 +0000. change it to 2013:01:01 00:00:00 +0000 like exif time format*/
- char *p_value = g_strdelimit(g_strdup(p), "", ':');
+ char *p_value = g_strdelimit(g_strdup(p), "-", ':');
content_info->media_meta.recorded_date = g_strdup_printf("%s +0000", p_value);
g_free(p_value);
} else {
if ((mmf_error == FILEINFO_ERROR_NONE) && (size > 0)) {
if (g_str_has_suffix(content_info->mime_type, "mp4") || g_str_has_suffix(content_info->mime_type, "3gpp")) {
/*Creation time format is 20130101 00:00:00 +0000. change it to 2013:01:01 00:00:00 +0000 like exif time format*/
- char *p_value = g_strdelimit(g_strdup(p), "", ':');
- content_info->media_meta.recorded_date = g_strdup_printf("%s +0000", p_value);
- g_free(p_value);
+ content_info->media_meta.recorded_date = g_strdelimit(g_strdup(p), "-", ':');
} else {
content_info->media_meta.recorded_date = g_strdup(p);
}
MM_FILE_CONTENT_VIDEO_HEIGHT, &content_info->media_meta.height,
NULL);
+ mm_file_destroy_content_attrs(content);
+
content_info->media_meta.title = __media_svc_get_title(NULL, content_info->path);
content_info->media_meta.album = g_strdup(MEDIA_SVC_TAG_UNKNOWN);
content_info->media_meta.artist = g_strdup(MEDIA_SVC_TAG_UNKNOWN);