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:
		@@ -80,7 +80,7 @@ public class DownScaleConverter extends AbstractConverter {
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        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 HardwareDecodeModule());
 | 
			
		||||
        new ModuleExecutor(command, modules).execute();
 | 
			
		||||
 
 | 
			
		||||
@@ -102,6 +102,9 @@ public abstract class AbstractStream implements StreamObject {
 | 
			
		||||
                (title.toLowerCase().matches(".*english.*") && languageString.equalsIgnoreCase("jpn"))) {
 | 
			
		||||
            return "eng";
 | 
			
		||||
        }
 | 
			
		||||
        if (languageString.equalsIgnoreCase("jap")) {
 | 
			
		||||
            return "jpn";
 | 
			
		||||
        }
 | 
			
		||||
        return languageString;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user