From 750498810ce1de9a65cda976561ed1c951b33ec6 Mon Sep 17 00:00:00 2001 From: EpicKnarvik97 Date: Fri, 30 Sep 2022 03:55:32 +0200 Subject: [PATCH] Adds a new Songs and Signs check --- .../net/knarcraft/ffmpegconverter/streams/SubtitleStream.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/knarcraft/ffmpegconverter/streams/SubtitleStream.java b/src/main/java/net/knarcraft/ffmpegconverter/streams/SubtitleStream.java index ba840fe..fbfafea 100644 --- a/src/main/java/net/knarcraft/ffmpegconverter/streams/SubtitleStream.java +++ b/src/main/java/net/knarcraft/ffmpegconverter/streams/SubtitleStream.java @@ -89,6 +89,7 @@ public class SubtitleStream extends AbstractStream implements StreamObject { String titleLowercase = getTitle().toLowerCase(); return !titleLowercase.matches(".*signs?[ &/a-z]+songs?.*") && !titleLowercase.matches(".*songs?[ &/a-z]+signs?.*") && - !titleLowercase.matches(".*forced.*"); + !titleLowercase.matches(".*forced.*") && + !titleLowercase.matches(".*S&S.*"); } } \ No newline at end of file