This is an automated email from the ASF dual-hosted git repository. tallison pushed a commit to branch branch_1x in repository https://gitbox.apache.org/repos/asf/tika.git
commit 2320d0ba7d9b680c5a4e9cc39c6c7d75f88fba0d Author: pszemus <[email protected]> AuthorDate: Tue Jun 16 18:53:22 2020 +0200 tika-mimetypes: Add mimetypes for .mpd, .m3u8 and .m4s (#320) If any magic is available for the 2 that don't have it, that'd be great...but I understand magic might not exist. Thank you! --- .../resources/org/apache/tika/mime/tika-mimetypes.xml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml b/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml index 64d7dfe..cce839c 100644 --- a/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml +++ b/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml @@ -146,6 +146,13 @@ <glob pattern="*.cu"/> </mime-type> <mime-type type="application/cybercash"/> + <mime-type type="application/dash+xml"> + <glob pattern="*.mpd" /> + <magic> + <match value="<MPD" type="string" offset="0"/> + </magic> + <sub-class-of type="application/xml"/> + </mime-type> <mime-type type="application/davmount+xml"> <glob pattern="*.davmount"/> </mime-type> @@ -1018,6 +1025,12 @@ <sub-class-of type="application/vnd.apple.iwork" /> <glob pattern="*.key"/> </mime-type> + <mime-type type="application/vnd.apple.mpegurl"> + <glob pattern="*.m3u8" /> + <magic> + <match value="#EXTM3U" type="string" offset="0"/> + </magic> + </mime-type> <mime-type type="application/vnd.apple.pages"> <root-XML localName="document" namespaceURI="http://developer.apple.com/namespaces/sl" /> <sub-class-of type="application/vnd.apple.iwork" /> @@ -7046,6 +7059,10 @@ <mime-type type="video/h264"> <glob pattern="*.h264"/> </mime-type> + <mime-type type="video/iso.segment"> + <glob pattern="*.m4s" /> + <sub-class-of type="video/quicktime" /> + </mime-type> <mime-type type="video/jpeg"> <glob pattern="*.jpgv"/> </mime-type>
