memset(&st, 0, sizeof(struct stat));
if (stat(path, &st) == 0) {
content_info->modified_time = st.st_mtime;
- content_info->timeline = content_info->modified_time;
content_info->size = st.st_size;
} else {
media_svc_stderror("stat failed");
content_info->storage_uuid = g_strdup(storage_id);
media_svc_retv_del_if(content_info->storage_uuid == NULL, MS_MEDIA_ERR_INTERNAL, content_info);
- time(&content_info->added_time);
-
content_info->media_uuid = __media_info_generate_uuid();
media_svc_retv_del_if(content_info->media_uuid == NULL, MS_MEDIA_ERR_INTERNAL, content_info);