aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs
diff options
context:
space:
mode:
authorAhmed Rafiq <ahmedrafiq47@gmail.com>2021-12-04 19:50:48 +0600
committerAhmed Rafiq <ahmedrafiq47@gmail.com>2021-12-04 20:08:16 +0600
commit6193fdea698ad4486140bc6a00a9547ab979c8f7 (patch)
tree1840bcf7dd8a65662936d9ee8bd4ec64480580e9 /MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs
parent9cea773d293d31446e5aac3f505cda3c90f52421 (diff)
Use MimeTypes package to determine MIME type
This simplifies the code since we don't have to keep large mappings of extensions and MIME types. We still keep the ability to override the mappings for: - filling in entries not present in the package, for e.g. ".azw3" - picking preferred extensions, for e.g. MimeTypes provides ".conf" as a possible extionsion for "text/plain", and while that is correct, ".txt" would be preferrable - compatibility reasons
Diffstat (limited to 'MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs')
0 files changed, 0 insertions, 0 deletions