mirror of
https://github.com/RatzzFatzz/MKVAudioSubtitleChanger.git
synced 2026-02-11 10:05:58 +01:00
Add dir loading for coherent feature
This commit is contained in:
@@ -28,7 +28,8 @@ public class ConfigLoader {
|
||||
new SetValidator(FORCED_KEYWORDS, false, true),
|
||||
new SetValidator(COMMENTARY_KEYWORDS, false, true),
|
||||
new SetValidator(EXCLUDED_DIRECTORY, false, true),
|
||||
new AttributeConfigValidator()
|
||||
new AttributeConfigValidator(),
|
||||
new CoherentConfigValidator(COHERENT, false)
|
||||
);
|
||||
|
||||
public static void initConfig(String[] args) {
|
||||
|
||||
@@ -17,6 +17,6 @@ public class CoherentConfigValidator extends ConfigValidator<Integer> {
|
||||
|
||||
@Override
|
||||
boolean isValid(Integer result) {
|
||||
return result > 0;
|
||||
return result >= 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user