mirror of
https://github.com/RatzzFatzz/MKVAudioSubtitleChanger.git
synced 2026-02-11 10:05:58 +01:00
Add config validators
This commit is contained in:
@@ -7,13 +7,16 @@ public enum ConfigProperty {
|
||||
CONFIG_PATH("config", "Path to config file"),
|
||||
LIBRARY("library", "Path to library"),
|
||||
SAFE_MODE("safe-mode", "Test run (no files will be changes)"),
|
||||
WINDOWS("windows", "Is operating system windows"),
|
||||
THREADS("threads", "thread count (default: 2)"),
|
||||
INCLUDE_PATTERN("include-pattern", "Include files matching pattern"),
|
||||
MKV_TOOL_NIX("mkvtoolnix", "Path to mkv tool nix installation"),
|
||||
FORCED_KEYWORDS("forcedKeywords", "Additional keywords to identify forced tracks, combines with config file"),
|
||||
FORCED_KEYWORDS("forcedKeywords", "Additional keywords to identify forced tracks"),
|
||||
COMMENTARY_KEYWORDS("excludedKeywords", "Additional keywords to identify commentary tracks"),
|
||||
EXCLUDE_DIRECTORY("exclude-directories", "Directories to be excluded, combines with config file"),
|
||||
HELP("help", "\"for help this is\" - Yoda"),
|
||||
VERSION("version", "Display version");
|
||||
VERSION("version", "Display version"),
|
||||
ARGUMENTS("arguments", "List of arguments");
|
||||
|
||||
private final String property;
|
||||
private final String description;
|
||||
|
||||
@@ -4,8 +4,8 @@ import lombok.AllArgsConstructor;
|
||||
|
||||
@AllArgsConstructor
|
||||
public enum MkvToolNix {
|
||||
MKV_MERGER("mkvmerge.exe"),
|
||||
MKV_PROP_EDIT("mkvpropedit.exe");
|
||||
MKV_MERGER("mkvmerge"),
|
||||
MKV_PROP_EDIT("mkvpropedit");
|
||||
|
||||
private final String file;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user