Skip to content

A self-hosted media server and file management system

feat: add extraction but not conversion capability for hdmv_pgs subtitles

aminnausin097ff748b539
diff --git a/app/Services/Subtitles/SubtitleExtractor.php b/app/Services/Subtitles/SubtitleExtractor.php
index ca42940a..eb7b12f3 100644
--- a/app/Services/Subtitles/SubtitleExtractor.php
+++ b/app/Services/Subtitles/SubtitleExtractor.php
@@ -120,6 +120,7 @@ class SubtitleExtractor {
'ass' => 'ass',
'ssa' => 'ssa',
'webvtt' => 'vtt',
+ 'hdmv_pgs_subtitle' => 'sup',
default => 'bin',
};
}