Mp3 is defined twice causing an error
See original GitHub issueIf you have an issue with a specific extension or type
Locate the definition for your extension/type in the db.json file in the mime-db
project. Does it look right?
[ ] No. File a mime-db
issue.
[x] Yes: Go ahead and submit your issue/PR here and I’ll look into it.
mp3
is defined in both audio/mp3
and audio/mpeg
causing the following error:
Error: Attempt to change mapping for "mp3" extension from "audio/mp3" to "audio/mpeg". Pass
force=true to allow this, otherwise remove "mp3" from the list of extensions for "audio/mpeg".
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Does "converting" mp3 file two times, makes a difference?
Yes, there will be a difference. Mp3 is a lossy codec that deteriorates with every generation. It's bad practice to use mp3 (or...
Read more >Javascript console error in Chrome - Stack Overflow
I am wondering what is causing the error in the attached javascript ... A file (mp3 file /soundcap/soundR8OE41366206103418.mp3) is present ...
Read more >Problems with AudioSegment.from_mp3 #62 - jiaaro/pydub
Hello James, I have Python2.7 (Win) and got latest pydub. When trying to open mp3 file using: song = AudioSegment.from_mp3("b.mp3") (while double checking ......
Read more >iTunes has wrong length for mp3 files. - Apple Community
I have several mp3 files that iTunes thinks are much longer then they ... This erratic behaviour may be caused be slightly corrupted...
Read more >How to fix my MP3 player file format not supported ... - Quora
The fact that a file has a name that ends .mp3 does not necessarily mean that it is in MP3 format. Can you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
published in v2.3
I found why, we need to copy types/standard.json, either
JSON.parse(JSON.stringify(require('./types/standard')))
or something better in both mime and liteor yea better, avoiding to mutate, like in your fix