From: Chocobozzz Date: Fri, 18 Oct 2019 08:36:32 +0000 (+0200) Subject: Support text/plain caption files X-Git-Tag: v2.0.0-rc.1~55 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2f26030dd2da121fb1d1701600e93f689141df40;p=oweals%2Fpeertube.git Support text/plain caption files --- diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 332b57cf2..0e06496bc 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts @@ -410,7 +410,8 @@ const MIMETYPES = { VIDEO_CAPTIONS: { MIMETYPE_EXT: { 'text/vtt': '.vtt', - 'application/x-subrip': '.srt' + 'application/x-subrip': '.srt', + 'text/plain': '.srt' } }, TORRENT: {