return _content_error_capi(ret);
}
- ret = media_svc_insert_folder(_content_get_db_handle(), storage_id, storage_type, repl_path, _content_get_uid());
+ ret = media_svc_insert_folder(_content_get_db_handle(), storage_id, storage_type, repl_path, false, _content_get_uid());
if (ret != MS_MEDIA_ERR_NONE) {
if (ret == MS_MEDIA_ERR_DB_CONSTRAINT_FAIL) {
content_sec_error("This item is already inserted. This may be normal operation because other process already did this (%s)", repl_path);
return _content_error_capi(ret);
}
- ret = media_svc_set_folder_scan_status(storage_id, repl_path, MEDIA_DIR_SCAN_DONE, _content_get_uid());
+ ret = media_svc_set_folder_scan_status(storage_id, repl_path, MEDIA_DIR_SCAN_DONE, false, _content_get_uid());
if (ret != MS_MEDIA_ERR_NONE) {
content_sec_error("ms_set_folder_scan_status failed : %d", ret);
return _content_error_capi(ret);
return _content_error_capi(ret);
}
- ret = media_svc_set_folder_scan_status(storage_uuid, path, MEDIA_DIR_SCAN_NONE, _content_get_uid());
+ ret = media_svc_set_folder_scan_status(storage_uuid, path, MEDIA_DIR_SCAN_NONE, false, _content_get_uid());
if (ret != MS_MEDIA_ERR_NONE) {
content_error("media_folder_reset_scan_status failed");
return _content_error_capi(ret);