From 2f26030dd2da121fb1d1701600e93f689141df40 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 18 Oct 2019 10:36:32 +0200 Subject: Support text/plain caption files --- server/initializers/constants.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server') 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: { -- cgit v1.2.3