Force MusicBrainz Picard to re-fingerprint files?

picard
audiofingerprinting
Tags: #<Tag:0x00007f2a011bff58> #<Tag:0x00007f2a011bfdf0>

#1

I have some music files that have bad tags in them from starting with a different music tagger. I want to force MusicBrainz Picard to recalculate acoustid_fingerprint and acoustid_id, but it doesn’t seem to do so. I’ve tried replacing the tag with just a space, and with garbage text, but MusicBrainz Picard doesn’t seem to recalculate the fingerprint.

I’ve tried adding a “tagger” script that has:

$if($eq(%acoustid_fingerprint%,delete_me),$unset(acoustid_fingerprint))
$if($eq(%acoustid_id%,delete_me),$unset(acoustid_id))

and then setting the tags to “delete_me”, but that didn’t work either

There’s also an “Acoustid Status” row, that has (for the most part) a UTC-time-date, that’s I’d like to delete, but it doesn’t see to be an official ID3 tag, so I have no idea how to purge that.


#2

If you put the files into Picard and tell it to “Scan” the files, doesn’t Picard replace the AcoustIDs if the ones in the files are different from the ones getting calculated by the scan?


#3

It doesn’t. I was surprised. So I started digging:

  1. fpcalc exists in: /Applications/MusicBrainz Picard.app/Contents/MacOS and I can run it at the command line

It does work for a large number of tracks. I can put garbage in the AcoustID tags, and they’re replaced. There are specific tracks that fail every time.

Activity log shows:
19:46:21 Looking up the fingerprint for file ‘/Volumes/BigSneaker/Re-Tagged Music & Movies/Chang, Ed/Mikrokosmos (Acoustic Guitar_Drum Mixes)/001 - Mikrokosmos - 037 In Lydian mode.mp3’ …
19:46:21 AcoustID lookup network error for ‘/Volumes/BigSneaker/Re-Tagged Music & Movies/Chang, Ed/Mikrokosmos (Acoustic Guitar_Drum Mixes)/001 - Mikrokosmos - 037 In Lydian mode.mp3’!
19:46:21 No matching tracks for file ‘/Volumes/BigSneaker/Re-Tagged Music & Movies/Chang, Ed/Mikrokosmos (Acoustic Guitar_Drum Mixes)/001 - Mikrokosmos - 037 In Lydian mode.mp3’

and the Error/Debug log has:

D: 19:47:42 Debug mode on
D: 19:47:50 Updating file <File u’001 - Mikrokosmos - 037 In Lydian mode.mp3’>
D: 19:47:50 AcoustID: looking up the fingerprint for file '/Volumes/BigSneaker/Re-Tagged Music & Movies/Chang, Ed/Mikrokosmos (Acoustic Guitar_Drum Mixes)/001 - Mikrokosmos - 037 In Lydian mode.mp3’
D: 19:47:50 POST-DATA 'clientversion=1.3.2final0&format=xml&client=tPrbdkhM&meta=recordings%20releasegroups%20releases%20tracks%20compress&fingerprint=delete_me&duration=0’
D: 19:47:50 Last request to (‘api.acoustid.org’, 80) was 88819 ms ago, starting another one
D: 19:47:50 POST thisIsReallyHTTPButTheForumSoftwareGivesMeAOnlyFourLinksError://api.acoustid.org/v2/lookup
E: 19:47:50 Network request error for thisIsReallyHTTPButTheForumSoftwareGivesMeAOnlyFourLinksError://api.acoustid.org/v2/lookup: Error downloading http://api.acoustid.org/v2/lookup - server replied: BAD REQUEST (QT code 299, HTTP code 400)
E: 19:47:50 AcoustID: Lookup network error for ‘/Volumes/BigSneaker/Re-Tagged Music & Movies/Chang, Ed/Mikrokosmos (Acoustic Guitar_Drum Mixes)/001 - Mikrokosmos - 037 In Lydian mode.mp3’: u’Error downloading thisIsReallyHTTPButTheForumSoftwareGivesMeAOnlyFourLinksError://api.acoustid.org/v2/lookup - server replied: BAD REQUEST’
D: 19:47:50 No matching tracks for file ‘/Volumes/BigSneaker/Re-Tagged Music & Movies/Chang, Ed/Mikrokosmos (Acoustic Guitar_Drum Mixes)/001 - Mikrokosmos - 037 In Lydian mode.mp3’
D: 19:47:50 Updating file <File u’001 - Mikrokosmos - 037 In Lydian mode.mp3’>

Looking at what’s there, Picard is just sending what’s currently in the tag, instead of generating new data. If I compare the Error/Debug log for a file that works, it calculates the fingerprint and sends it:

D: 19:53:09 Starting fingerprint calculator u’/Applications/MusicBrainz Picard.app/Contents/MacOS/fpcalc’ u’/Volumes/BigSneaker/Re-Tagged Music & Movies/Ballet Of The Bones/(2011) The Room With A Million Monsters/002 - Breathe Me In.mp3’
D: 19:53:10 AcoustID: looking up the fingerprint for file '/Volumes/BigSneaker/Re-Tagged Music & Movies/Ballet Of The Bones/(2011) The Room With A Million Monsters/002 - Breathe Me In.mp3’
D: 19:53:10 POST-DATA 'clientversion=1.3.2final0&format=xml&client=tPrbdkhM&meta=recordings%20releasegroups%20releases%20tracks%20compress&fingerprint=AQADtEoSNYqiMTh-AfDxFkS_EhupHGIR4qHK8kT_EF86Ei3I6qyeVD8NMFBKcMXHWeeQD2yF1bGI8-WRtBv4aAUBd_yQBX54EH2HlZG5MnYCLpwUIoSfLwCVWSa4EEW6mikJDtyhoZ-dASTKBH-JFDFVjiyZMrRKdqRMzT0G1KioJpy5FryJLhaDwe141Hm45KYBvyx9ciPmUkOswa_Z5hXvDnyo_mOXsJ1_DiP5wijdA60F_mKXcJ5MKSOzqWQeQz2Q8cRPrHQfMSV4DkefniQ8yHEz8gdPMfKgS_xMDm-E3kc8McOvUf3IM1nHD0R-8E_6HmHMApzoa9wNHV17MnRHMcZa0jMLAivYT_8w_mOixNh_KzwIJx3XLrw4coNj1mm4KSFS0deNOvRf7hINNeTBT6HHpePH4-ORumqGOFZ6K6RCzvx46KLRxfmI08O3chxDf6O49KR8-j0CFp2Z8hxvEV0XBmkMrGE60KW9zim42WOopFx4znyV8IhJydC8oGfGRdT9A8e7McthcSjQbcitFfx7Dhs7bgPO8k0pEey6zjuaMFupOv4IPF-PAz6PGjGHH-O3Dn0JEQeMsU1Hvkt7Am072gcKUPW45PwR5h7PPvRH82xd0Ef9nClHaaDcIPuo08mBn-O8PhfjEWPxkmUYh-Opww-43oRpo0IDUfm5cMlc0UjJkuP_uCFP0jIFZFlY9_RPB–ockv4UP4HFoqISeD_yDlH02cHfWHHk21hML7gTmLMNeQlDzYaZnwR6gXH80ZRM-gf8jpoBOXH03xHrtkPFXxzDKuzsiSOjlCMsN1jNqOM8FlnMJzHM_SYffQPDv6Da9i3Eeu0XiUC7pKxHvRJwrePvDjod3w4xSRP8ZfQSOlw4yPvoGqHrwOJn2PHh_2KAn6RLiOTspx5ohIH02poD9-PEGYaigv6DmyPYeTZhlelK_QXNvQz4fX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ijBBEWCSOAYgoIoohQRAAgkCRCCQCoEJIxpAiiBFDABDKKCECQA0BAIYwDwihkBEBWGMcAQ0QIQgUTxBHBBDBKCSKoAAYCAgCyggDFBEGGIOcMkwgBSAAxggBEHJAEGUYJEUARgIkBwBFAhEBKQMAIwYIABIICRhkimQAAEEIEoQgYIYUBkiAgBiAAM6EYAAx4wAwQxhgjjAACAEEMQIAIIwgzSABGFUXKASOEYUIBwCQQBgAjiEICKEWAIAwoKAQAwAhBhCGCCKOUMEACggAVRGEgAABAIECQAI4AwAxxSigECADIWGEQQwgxJAgwgBChBTJEAIAkIQgoxQABAxEnhABOCWQAsQJBJ4xQAFoEDSFKKISIAUgAI5gAggChAAMKOEWEIIIAwQiggABqADEECYEMFQQYw5wBQAgDhBEKCQWIcAAAZAyxnAABiEGGMIUoQQQgBhVhwBCAgCJAOAKUco4JYQUChGBAkFGACAMAYaARRgQAgBDhiABcGSAIISBYAQhTVCjgjAAGECEYcYQIzJgwBBBThADIMA&duration=218’
D: 19:53:10 Last request to (‘api.acoustid.org’, 80) was 91920 ms ago, starting another one
D: 19:53:10 POST thisIsReallyHTTPButTheForumSoftwareGivesMeAOnlyFourLinksError://api.acoustid.org/v2/lookup
D: 19:53:10 Received reply for thisIsReallyHTTPButTheForumSoftwareGivesMeAOnlyFourLinksError://api.acoustid.org/v2/lookup: HTTP 200 (OK)
D: 19:53:10 No matching tracks for file ‘/Volumes/BigSneaker/Re-Tagged Music & Movies/Ballet Of The Bones/(2011) The Room With A Million Monsters/002 - Breathe Me In.mp3’
D: 19:53:10 Updating file <File u’002 - Breathe Me In.mp3’>

Now we’re getting somewhere. Looks like a bug, or something in that file that servers don’t like. This batch of problem files are MP3s made from MIDI files. Could that be a factor?


#4

Yup. There’s something in the original files causing problems. I just converted the files from MP3s to AAC’s, and everything works as expected.

I’m not sure if the problem is the AcoustID Fingerprint tags in the files (which the fix for deleting tags will be a big help), or if there’s something odd about the files that is causing Picard to get tripped-up.


#5

I would probably file a bug ticket for Picard. If it’s later found out that it’s an issue with AcoustID, we can file a report there at that time.


#6

Will do. As soon as I figure out a “good” way to describe it.


#7

We have a related issue here: https://tickets.musicbrainz.org/browse/PICARD-706