Add more specific subtitles and lyrics MIME types.
"srt" subtitles have a more specific MIME type of "application/x-subrip", as listed here in Apache and therefore widely used across the Internet: http://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x/conf/mime.types "lrc" lyrics have a more specific MIME type of "application/lrc", as determined here from the archive.org scraping of popular Internet sites: https://discuss.httparchive.org/t/keeping-etc-mime-types-up-to-date/825 Bug: 143707020 Test: atest --test-mapping packages/providers/MediaProvider Change-Id: I9598d1de920f29fbda7efa3c17b5632f756a65f2
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
# <extension1> and <extension2> are mapped (or remapped) to <mimeType>.
|
||||
|
||||
?application/epub+zip epub
|
||||
?application/lrc lrc
|
||||
?application/pkix-cert cer
|
||||
?application/rss+xml rss
|
||||
?application/sdp sdp
|
||||
@@ -65,6 +66,7 @@
|
||||
?application/x-mpegurl m3u m3u8
|
||||
?application/x-pem-file pem
|
||||
?application/x-pkcs12 p12 pfx
|
||||
?application/x-subrip srt
|
||||
?application/x-webarchive webarchive
|
||||
?application/x-webarchive-xml webarchivexml
|
||||
?application/x-x509-server-cert crt
|
||||
|
||||
Reference in New Issue
Block a user