I'm extracting IPTC and EXIF data when the user uploads an image using the Media Library UI.
hook_form_alter I can get the URI of the uploaded file in the
media_library_add_form_upload form, and extract the data from it. So far, so good.
However, the form does not (yet?) contain the other fields attached to the media type (e.g. title, description, copyright) so I can't set the values.
How can I set the values in the form that is shown after I've selected and upload an image?