Adds a new Songs and Signs check
All checks were successful
KnarCraft/FFmpegConvert/pipeline/head This commit looks good

This commit is contained in:
Kristian Knarvik 2022-09-30 03:55:32 +02:00
parent c9bd648437
commit 750498810c

View File

@ -89,6 +89,7 @@ public class SubtitleStream extends AbstractStream implements StreamObject {
String titleLowercase = getTitle().toLowerCase(); String titleLowercase = getTitle().toLowerCase();
return !titleLowercase.matches(".*signs?[ &/a-z]+songs?.*") && return !titleLowercase.matches(".*signs?[ &/a-z]+songs?.*") &&
!titleLowercase.matches(".*songs?[ &/a-z]+signs?.*") && !titleLowercase.matches(".*songs?[ &/a-z]+signs?.*") &&
!titleLowercase.matches(".*forced.*"); !titleLowercase.matches(".*forced.*") &&
!titleLowercase.matches(".*S&S.*");
} }
} }