I'm getting an error on Windows when attempting to play certain mp3 files. Some files work fine while others fail and throw this error:
Error executing MCI command 'Status "temp\song.mp3" Length'. Error code: 277. Message: A problem occurred in initializing MCI.
It is successfully creating the file in the temp folder, and I can still play that temp file fine in another media player.
After some messing around, it seems to be an issue with the album art on the mp3 file.
I tried removing the album art from one of the files that wasn't working, and it started working. I re-added the same album art at a smaller size and that still worked (the image was originally 640x640, I changed it to 500x500, so not even that much of a difference). To be sure I then re-added the original sized album art and sure enough, it stopped working again.
I can't confirm 100% whether this issue is specific to the album art, or if it's caused by too large a file size, or something else with the metadata.
I could work around this issue by clearing the metadata from all my mp3s, but ideally it should work with any mp3 file.