I am trying to learn more about ExifTool. I am not too sure how to ask my question so please bear with me.
I have found some MP3 music files that seem to contain invalid meta information. For example, I have an MP3 file that is a song sung by the Four Aces, but when I play it, it shows an album cover from KISS. I would like to correct this anomaly, but I cannot see how. Here's the ExifTool readout:
klind@MacBook-Pro ~ % exiftool /Volumes/12TB-Elements/Storage/Music/Three\ Coins\ In\ The\ Fountain\ \~The\ For\ Aces.mp3
ExifTool Version Number : 12.05
File Name : Three Coins In The Fountain ~The For Aces.mp3
Directory : /Volumes/12TB-Elements/Storage/Music
File Size : 2.9 MB
File Modification Date/Time : 2020:09:23 04:51:26-07:00
File Access Date/Time : 2021:05:11 13:37:14-07:00
File Inode Change Date/Time : 2021:05:11 13:27:22-07:00
File Permissions : rwx------
File Type : MP3
File Type Extension : mp3
MIME Type : audio/mpeg
MPEG Audio Version : 1
Audio Layer : 3
Audio Bitrate : 128 kbps
Sample Rate : 44100
Channel Mode : Joint Stereo
MS Stereo : Off
Intensity Stereo : Off
Copyright Flag : False
Original Media : False
Emphasis : None
Mp 3gain Minmax : 136,182
Mp 3gain Undo : +004,+004,N
Replaygain Track Gain : -0.080000 dB
Replaygain Track Peak : 0.510151
ID3 Size : 33152
Picture MIME Type : image/jpeg
Picture Type : Front Cover
Picture Description :
Picture : (Binary data 28932 bytes, use -b option to extract)
Title : Three Coins In The Fountain
Album :
Comment : [skipped]
Year : 1954
Track : 25
Genre : Pop
Peak Value : 16673
Average Level : 2427
WM Media Class Secondary ID : 00000000-0000-0000-0000-000000000000
WM Media Class Primary ID : D1607DBC-E323-4BE2-86A1-48A42A28441E
Artist : The For Aces
Length : 185.155 s
Date/Time Original : 1954
Duration : 0:03:05 (approx)
Exiftool can't write tags (which are ID3 (https://exiftool.org/TagNames/ID3.html) tags) for an mp3 but there are a lot of really good programs out there specifically designed for mp3 and other audio files. Off hand you could try MP3tag (https://www.mp3tag.de/en/) or MusicBrainz Picard (https://picard.musicbrainz.org/). I believe there are others out there that can analyze the file to figure out what song it is and grab all the need data that way, though I could be wrong. It's been a while since I dealt with music files.
edit: Just realized I have TagScanner (https://www.xdlab.ru/en/) installed on my computer, though I haven't tried it out yet.
I use an application called Kid3 for my music files on my mac. I drag and drop cover pictures onto music files that I have ripped from vinyl of cd so you should be able to put a new picture into you file. I am assuming whatever you use to play your Four Aces song is showing the picture stored in the file and not some other picture stored it its database. Anyway, by using a different app from you music player, you should see if that is the case.
I've just checked an mp3 to see if this works.
exiftool -b -Picture 'Three Coins In The Fountain ~The For Aces.mp3' > temp.jpg
should get you a copy of the picture in temp.jpg so you can check if you music player is using the picture embedded in the mp3.
Quote from: Paxapunch on May 11, 2021, 04:46:27 PM
I would like to correct this anomaly, but I cannot see how.
You can use one of the mentioned tools to do it technically (replace the wrong cover with the matching one).
(In Mp3tag you load the song, delete the wrong cover and then drag & drop the matching cover on the loaded song and press Save. Done).
The huge effort will be to analyze how many of your other mp3 still have wrong cover art embedded.
Sorry to say that: This is nearly impossible to achieve automatically with software.