nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
26.74k stars 4k forks source link

Add audio MIME types to default MIME aliases #30173

Open kimimaru4000 opened 2 years ago

kimimaru4000 commented 2 years ago

How to use GitHub

Is your feature request related to a problem? Please describe. I'm using the files_automatedtagging app on my install, and there are no MIME types for audio and videos files by default. The MIME type file says there is a way to override it, however, considering there are less-common types in that file, I'm curious why there are no audio or video types, some of which are common, included by default.

Describe the solution you'd like Add the following MIME types for audio:

Add the following MIME types for video:

Describe alternatives you've considered As described in the MIME type file, it's possible to add aliases, but one would have to do this for each install. Considering these missing MIME types are common, it could save users the time and effort of adding them by hand.

joshtrichards commented 1 year ago

Hi @kimimaru4000 - You're welcome to create and submit a pull request with the additions.

Most of your proposed ones show up here on this list so they seem like good candidates IMO:

https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types

No promises of course, but prior PRs of this sort have been accepted.