Add parameters

2023-04-13 21:58:29 +02:00
parent 9f7845f920
commit 6fe40d9389
3 changed files with 71 additions and 4 deletions

@@ -1,12 +1,17 @@
### Language validation
The entered 3-letter country codes are validated with a packaged list. It also allows `OFF` for subtitles, to disable full subtitles and just set forced tracks.
The entered 3-letter country codes are validated with a packaged list. It also allows `OFF` for subtitles, to disable full subtitles and
only set forced tracks.
List of country codes can be found [here](https://github.com/RatzzFatzz/MKVAudioSubtitleChanger/blob/master/language-codes).
### Multiple configurations
You can enter as many configurations as you want. Keep in mind that the order of the entered configurations matters.
For this example `java -jar mkvaudiosubtitlechanger.jar -l "\\remote-server\files" -a eng:ger eng:OFF ger:OFF`, the files would be checked in following order:
For this example `java -jar mkvaudiosubtitlechanger.jar -l "\\remote-server\files" -a eng:ger eng:OFF ger:OFF`, the files would be checked
in following order:
1. Audio: English, Subs: German
2. Audio: English, Subs: ignored
3. Audio: German, Subs: ignored

@@ -1 +1,3 @@
Welcome to the MKVAudioSubtitleChanger wiki!
1. [Parameters](https://github.com/RatzzFatzz/MKVAudioSubtitleChanger/wiki/Parameters)
2. [Attribute Config](https://github.com/RatzzFatzz/MKVAudioSubtitleChanger/wiki/Attribute-Config)
3. [How to config file](https://github.com/RatzzFatzz/MKVAudioSubtitleChanger/wiki/How-to-config-file)

60
Parameters.md Normal file

@@ -0,0 +1,60 @@
## -l,--library-path \<arg> (Required)
Path to file library which should be updated.
## -a,--attribute-config \<arg> (Required)
See [this page](https://github.com/RatzzFatzz/MKVAudioSubtitleChanger/wiki/Attribute-Config) for more information.
## -p,--config-path \<arg>
Path to config file. More about this [here](https://github.com/RatzzFatzz/MKVAudioSubtitleChanger/wiki/How-to-config-file)
## -m,--mkvtoolnix \<arg>
Path to mkv tool nix installation, if it's not installed in default directory.
## -s,--safe-mode
Process will run as usual, but changes won't be applied. This should be used to test new configurations.
## -c,--coherent \<arg>
## -cf,--force-coherent
## -n,--only-new-files
## -d,--filter-date \<arg>
## -t,--threads \<arg>
How many threads the task executor should use. By default, two threads are used. If files are stored on a SSD thread count should be
raised to increase performance.
## -i,--include-pattern \<arg>
Regex pattern to only include (or when inverted, to exclude) files and directories.
## -e,--excluded-directories \<arg>
One or more paths to directories which should not be considered.
## -fk,--forced-keywords \<arg>
Keywords to recognize forced subtitle tracks.
## -ck,--commentary-keywords \<arg>
Keywords to recognize commentary audio tracks.
## -ps,--preferred-subtitles \<arg>
Keywords to prefer subtitle tracks.
## -v,--version
Display version.
## -h,--help
Display all available parameters and a short description.