Skip to content

TagSpaces is an offline, open source, document manager with tagging support

added mkv to the list of the suppopted formats for thumbnail generation

Ilian Sapundshievb29ed09d1e7e
diff --git a/app/services/thumbsgenerator.js b/app/services/thumbsgenerator.js
index 4cce15c0c..4ef7898a0 100644
--- a/app/services/thumbsgenerator.js
+++ b/app/services/thumbsgenerator.js
@@ -79,7 +79,7 @@ const supportedText = [
'sql',
'mhtml'
];
-const supportedVideos = ['mp4', 'webm', 'ogv', 'm4v'];
+const supportedVideos = ['ogv', 'mp4', 'webm', 'm4v', 'mkv'];
const maxFileSize = 30 * 1024 * 1024;
function saveThumbnailPromise(filePath, dataURL) {