mirror of
https://github.com/RatzzFatzz/MKVAudioSubtitleChanger.git
synced 2026-02-11 02:05:56 +01:00
Implement cli parameter basis
This commit is contained in:
@@ -21,9 +21,9 @@ public class AttributeUpdaterKernel {
|
||||
|
||||
@SneakyThrows
|
||||
public void execute(String path) {
|
||||
List<AttributeConfig> configPattern = ConfigUtil.loadConfig();
|
||||
List<AttributeConfig> configPattern = ConfigUtil.getInstance().getAttributeConfig();
|
||||
List<File> allValidPaths = collector.loadFiles(path);
|
||||
ExecutorService executor = Executors.newFixedThreadPool(ConfigUtil.getThreadCount());
|
||||
ExecutorService executor = Executors.newFixedThreadPool(ConfigUtil.getInstance().getThreadCount());
|
||||
|
||||
long beforeTimer = System.currentTimeMillis();
|
||||
if(allValidPaths != null && configPattern != null){
|
||||
|
||||
Reference in New Issue
Block a user