GithubHelp home page GithubHelp logo

Comments (4)

samuelneff avatar samuelneff commented on July 27, 2024

@sandreas Thank you for the detailed analysis. I looked into the history of how m4b got added to the list and did some additional research online. My conclusion is the same as yours, it should be audio/x-m4b.

If you would be so kind as to submit a PR, I'll merge it.

Thanks again,

Sam

from mimetypemap.

sandreas avatar sandreas commented on July 27, 2024

Ok thx for the quick response. I'll take some time to check other mimetypes by the mentioned resources and submit a pull request asap.

from mimetypemap.

sandreas avatar sandreas commented on July 27, 2024

There are the following other possible wrong /x- mappings:

.jar - actual: application/java-archive expected: application/x-java-archive
.aiff - actual: audio/aiff expected: audio/x-aiff
.m4b - actual: audio/m4b expected: audio/x-m4b
.pls - actual: audio/scpls expected: audio/x-scpls
.wav - actual: audio/wav expected: audio/x-wav
.pic - actual: image/pict expected: image/x-pict

I will submit a PR with all these corrected.

After further investigation i found out that about 700 items in /usr/share/mime/types have no mapping. Some examples:

text/xmcd
video/mp2t
video/vnd.mpegurl

The list is too long to correct all of them, but I'll try to do some of them. I'll create a second pull request, if I find some other improvements.

from mimetypemap.

sandreas avatar sandreas commented on July 27, 2024

Did not have the time to fix this, sorry.

from mimetypemap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.