Improves configuration handling and stuff
All checks were successful
KnarCraft/FFmpegConvert/pipeline/head This commit looks good
All checks were successful
KnarCraft/FFmpegConvert/pipeline/head This commit looks good
This commit is contained in:
@ -51,7 +51,7 @@ public class SubtitleStream extends AbstractStream implements StreamObject {
|
||||
*/
|
||||
private boolean checkIfIsFullSubtitle() {
|
||||
String titleLowercase = getTitle().toLowerCase().trim();
|
||||
return !titleLowercase.matches(".*si(ng|gn)s?[ &/a-z]+songs?.*") &&
|
||||
return !titleLowercase.matches(".*si(ng|gn)s?[ &/a-z+]+songs?.*") &&
|
||||
!titleLowercase.matches(".*songs?[ &/a-z]+si(gn|ng)s?.*") &&
|
||||
!titleLowercase.matches(".*forced.*") &&
|
||||
!titleLowercase.matches(".*s&s.*") &&
|
||||
@ -68,4 +68,10 @@ public class SubtitleStream extends AbstractStream implements StreamObject {
|
||||
return 's';
|
||||
}
|
||||
|
||||
@Override
|
||||
@NotNull
|
||||
public String toString() {
|
||||
return super.toString() + " | Is full: " + this.isFullSubtitle;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user