/* Send notification for this update */
media_content_debug("Update is successfull. Send notification for this");
if (_media->file_path && _media->mime_type)
- media_svc_publish_noti(MS_MEDIA_ITEM_FILE, MS_MEDIA_ITEM_UPDATE, _media->file_path, _media->media_type, _media->media_id, _media->mime_type);
+ media_svc_publish_noti(MS_MEDIA_ITEM_UPDATE, _media->file_path, _media->media_type, _media->media_id, _media->mime_type);
else
media_content_error("Can't Send Noti : path or mime type is NULL");
}
return _content_error_capi(ret);
}
- ret = media_svc_move_item(_content_get_db_handle(), org_repl_path, repl_path, _content_get_uid());
+ ret = media_svc_move_item(_content_get_db_handle(), org_repl_path, repl_path, _media->media_id, _media->media_type, _media->mime_type, _content_get_uid());
return _content_error_capi(ret);
}