From e93782d96473bbebd9618fb5f71bfaad052b79c5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Tue, 17 Nov 2020 20:54:50 +0100 Subject: [PATCH] Squashed 'cgilite/' changes from 1caf684..147c722 147c722 mime types for streaming formats git-subtree-dir: cgilite git-subtree-split: 147c7222675fd027873faa7e921e2679d99e71cc --- file.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/file.sh b/file.sh index 51ec245..04a8ef6 100755 --- a/file.sh +++ b/file.sh @@ -32,9 +32,14 @@ file_type(){ svg) printf 'image/svg+xml';; gif) printf 'image/gif';; webm) printf 'video/webm';; - mp4) printf 'video/mp4';; + mp4|m4v) printf 'video/mp4';; + m4a) printf 'audio/mp4';; ogg) printf 'audio/ogg';; xml) printf 'application/xml';; + m3u8) printf 'application/x-mpegURL';; + ts) printf 'video/MP2T';; + mpd) printf 'application/dash+xml';; + m4s) printf 'video/iso.segment';; *) printf 'application/octet-stream';; esac } -- 2.39.2