Automatically fixes jap misspelling for Japanese streams
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:
parent
32be7d0aec
commit
5238697c70
@ -80,7 +80,7 @@ public class DownScaleConverter extends AbstractConverter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
modules.add(new ScaleModule(this.newWidth, this.newHeight));
|
modules.add(new ScaleModule(this.newWidth, this.newHeight));
|
||||||
modules.add(new SetQualityModule(20, "slower"));
|
modules.add(new SetQualityModule(20, "slow"));
|
||||||
modules.add(new SetOutputFileModule(outFile));
|
modules.add(new SetOutputFileModule(outFile));
|
||||||
modules.add(new HardwareDecodeModule());
|
modules.add(new HardwareDecodeModule());
|
||||||
new ModuleExecutor(command, modules).execute();
|
new ModuleExecutor(command, modules).execute();
|
||||||
|
@ -102,6 +102,9 @@ public abstract class AbstractStream implements StreamObject {
|
|||||||
(title.toLowerCase().matches(".*english.*") && languageString.equalsIgnoreCase("jpn"))) {
|
(title.toLowerCase().matches(".*english.*") && languageString.equalsIgnoreCase("jpn"))) {
|
||||||
return "eng";
|
return "eng";
|
||||||
}
|
}
|
||||||
|
if (languageString.equalsIgnoreCase("jap")) {
|
||||||
|
return "jpn";
|
||||||
|
}
|
||||||
return languageString;
|
return languageString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user