I was able to update the mime types via MySQL — here’s the update query I used:
UPDATE `wp_posts` SET `post_mime_type` = 'audio/mpeg' WHERE `post_name` LIKE '%mp3%' AND `post_mime_type` != 'audio/mpeg'
Setting this also made the correct metadata for the files appear, and the offload plugin worked as expected.
HURRAY
Related Posts:
- WordPress 3.5: Setting custom “full URL path to files” in the Media Library?
- Give users a maximum upload capacity; limit the number of files a user can upload OR limit the number of files per upload
- Media upload finished hook
- How can I batch delete all unattached images with WP-CLI or other automated process?
- Which filters or actions to use after a media upload and delete?
- Media not actually deleted on disk when click “Permanent Delete”
- Protecting direct access to PDF and ZIP unless user logged in (without plugin)
- How to wp_upload_bits() to a sub-folder?
- How to restrict images in v3.5 Media Library modal to only those from a specific post id?
- “Add Media” only shows “Full Size” under Attachment Display Settings
- Where do the favicons for Media Files come from
- WP 3.5 media manager – how to create a working gallery frame
- What might cause a POST to wp-admin/async-upload.php to return JSON >and< HTML?
- Is it possible to trigger some JavaScript when Media Popup is opened?
- How to call WP3.5 Media Library manager?
- Disable media library tab for non admins in uploader screen
- Why are double-periods (“..”) invalid in a WordPress image filename?
- How can I speed up a slow loading media library?
- What to do with unattached logos and header uploaded via native wordpress uploader?
- Add item to media library from blob or dataUrl
- How to get the image url in the input box from media library?
- WP3.5 Media Uploader – how to make it accept multiple images?
- Create custom tab in WordPress 5 media upload
- Restrict file uploads by extension?
- How to Check Disk Space used by Media Library
- Trying to add filename over image in Media Browser
- How to change the image size in new Media Uploader (ie use medium vs thumbnail)
- Plugin to Import Dropbox Files into Media Folder from the Cloud [closed]
- Add media attachment filter to custom wp.media frame
- Media library storing files in uploads not folders within in uploads
- WordPress won’t generate image sizes for certain images
- Resize the WP media Uploader iFrame
- Can I stop wordpress generating media sizes
- wp_enqueue_media() Will not load JS on the theme
- How do I get allowed Media Library upload file extension list?
- Cannot upload .mp3 file to wordpress media
- Custom “Insert into Post” button
- How to use MediaUpload outside of editor
- Allow only attachment uploaded to current post
- Switch between tabs on “Insert Media” dialog
- Use custom image size in admin panel
- Display attachments by the ID of the post being edited in the wp.media frame (frontend)
- Prevent a folder from being shown within the media library
- Is It Possible to Upload Certain Attachment Files To A Remote Server
- Error uploading image in WordPress
- Stop WordPress from generating redundant image size
- WordPress 4.9.8 Trying to add filename over image in Media Browser
- WordPress Issue : The uploaded file could not be moved to wp-content/uploads/
- wordpress media upload given An error occurred in the upload. Please try again later
- After moving from complete AWS setup to a standalone WordPress Server, Media/Image Files are Broken
- Using wp_enqueue_media() with switch_to_blog() issue
- Duplicates and other problems in Media Library
- WordPress Media frame pre load images from ids
- Choosing images size when uploading
- WordPress Media Library showing wrong preview size?
- How to upload media to specific year/month folder
- upload_max_filesize is set to 64 MB already but WordPress is still showing 2 MB
- upload_max_filesize in .user.ini Not Reflected in Media Upload
- PHP error when trying to upload .mp3 files via Media Library [closed]
- A link (not in the post) to download a specific PDF file
- How to change format of file link ( Name ) when insert from media uploder
- Organizing uploaded Media in permalink-based folder structure?
- Offload Media Library to other domain on a different server
- How to allow .bin files upload?
- What is the URL pattern for image thumbnails + sizes?
- Open Media Uploader Link in single post or page
- Remove Media File Items From Server That Do Not Exist in Media Library
- Add SWF file to wordpress through custom template
- How to remove a tab in Media Upload page in wordpress
- Uploaded images result in a file url with full path on disk appended
- Using WP-CLI “wp media import” to sync files to the media library
- Hide media library images from other roles uploaded by admin
- Efficient way to move media folder to another folder
- Make inline uploader (plupload) on options page upload to a specific folder
- Multiple images are generated in WP-content in wordpress
- Removing extra large generated images disables all crops
- Images not displaying on site or media library
- Replicate Media Galley Edit view in Add Media View
- Front-End Upload media with category
- How to manually set an attachment in a post?
- Adding attachment custom field metadata to TinyMCE tag
- Bulk upload images in upload folder does not show in media library
- Media not displaying other users uploads – WordPress 4.9.2
- Media import failed in the WordPress importer
- Issues with WordPress 3.9.6 media libraries on XAMPP
- Insert media while posting is not working with new wordpress update
- Upload Multiple Files With Multiple Fields And With media_handle_upload
- Private file system for attachments
- controlling whether upload is attached to post or not
- How to split my uploaded media into directories?
- Metabox with file upload to custom directory
- Attachment Metadata not updated while uploading audio files
- Media uploader & manager: add/remove class on image with checkbox
- Is there a way to force Featured image to show as attachement?
- Problem uploading files, after changing domain name
- Unable to upload images using the Media Library
- How can comments be turned off for media attachments on WordPress?
- Question regarding the file path for media_sideload_image and wp_upload_dir()
- How do I restore attachment from files in wp-upload
- Image in binary in the data to WordPress media library