From fb5b2497c85cf2791960001c7e5861fefc4fcdfb Mon Sep 17 00:00:00 2001 From: Rello Date: Thu, 31 Aug 2017 18:53:17 +0200 Subject: [PATCH] Mapping of m3u, m3u8, pls to audio streams Usage of m3u, m3u8, pls as audio playlists according to their standard https://en.m.wikipedia.org/wiki/M3U https://en.m.wikipedia.org/wiki/PLS_(file_format) --- resources/config/mimetypemapping.dist.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/resources/config/mimetypemapping.dist.json b/resources/config/mimetypemapping.dist.json index 6b35fb53ef77..2ffd356cc046 100644 --- a/resources/config/mimetypemapping.dist.json +++ b/resources/config/mimetypemapping.dist.json @@ -85,6 +85,8 @@ "mobi": ["application/x-mobipocket-ebook"], "mov": ["video/quicktime"], "mp3": ["audio/mpeg"], + "m3u": ["audio/mpegurl"], + "m3u8": ["audio/mpegurl"], "mp4": ["video/mp4"], "mpeg": ["video/mpeg"], "mpg": ["video/mpeg"], @@ -112,6 +114,7 @@ "pef": ["image/x-dcraw"], "php": ["application/x-php"], "pl": ["application/x-perl"], + "pls": ["audio/x-scpls"], "png": ["image/png"], "pot": ["application/vnd.ms-powerpoint"], "potm": ["application/vnd.ms-powerpoint.template.macroEnabled.12"], @@ -174,4 +177,4 @@ "yaml": ["application/yaml", "text/plain"], "yml": ["application/yaml", "text/plain"], "zip": ["application/zip"] -} \ No newline at end of file +}