question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Incorrect metadata retrieval again

See original GitHub issue

After I had learned that some of my mp3’s had multiple headers, I reset them to make every kind of headers (IDv1, IDv2 and so on) have the same tag values, but music-metadata still keeps failing to get correct metadata from some of them. I double-checked the files in question had headers properly set with at least two metadata editors.

I attach two samples to help you figure out the cause.

sample1.mp3.zip sample2.mp3.zip

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Borewitcommented, Sep 18, 2017

Since 0.8.3 multiple ID3 headers are supported, and the “best” header is selected. In case two header block appear of the same version and format (which should not ever happen parsing a properly encoded MP3 file), the last one will overwrite the previous one in the result. I should[improve the documentation (issue #17), problem is that I prefer coding, and there is always something more to add.

0reactions
mycobococommented, Sep 17, 2017

I can write simple Python code so can take advantage of Mutagen to fix my problematic files in a batch. Thank you for informing of the library. Or even if I would do it manually, never a burden because they are not many.

I think it is not necessary to make music-metadata support fix of multiple headers, but what I wonder is if the change made between 0.8.2 and 0.8.3 to pick the last header when there are multiple ones is really necessary; as I recall 0.8.2 worked well. Or at least documentation seems to be worth being added to explain music-metadata chooses the last of multiple headers; as I did, users might mistake that music-metadata is broken because it looks like giving incorrect values even after they fix tag values using tagging tools.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix wrong metadata - Zotero Forums
If you're unhappy with the metadata, you can right-click on the parent item immediately after and select Undo Retrieve Metadata. laurelp.
Read more >
Why Is the Metadata Retrieval Process Stuck?
The metadata retrieval process when you perform a metadata refresh, either appears to be stuck or is taking too long to complete.
Read more >
[SIDP-624] IdP stopping metadata retrieval - Shibboleth Jira
IdPs were otherwise healthy and working for months, but stopped to retrieve signed metadata for 3 different plain http URLs at the same...
Read more >
Troubleshoot "Waiting for the metadata service" errors - AWS
My Amazon Elastic Compute Cloud (Amazon EC2) Windows instance is unable to retrieve instance metadata. How can I fix this?
Read more >
How to Fix Plex Metadata / Agent Download Problems
In this video, I show you how to fix common Plex Media Server problems with the retrieval of the correct cover art, background...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found