Code cleanup
Fixes some lines which were too long Expands some variable names Fixes some code repetition
This commit is contained in:
@ -27,7 +27,8 @@ public class Main {
|
||||
//parser(tokenizer("AnimeConverter \"C:\\Users\\Kristian\\Downloads\\Anime\\[Kametsu] ERASED (BD 1080p Hi10 FLAC)\""));
|
||||
//System.exit(1);
|
||||
|
||||
int choice = getChoice("Which converter do you want do use?\n1. Anime to web mp4\n2. Audio converter\n3. VideoStream converter", 1, 3);
|
||||
int choice = getChoice("Which converter do you want do use?\n1. Anime to web mp4\n2. Audio converter\n" +
|
||||
"3. VideoStream converter", 1, 3);
|
||||
|
||||
printl("Input for this converter:");
|
||||
switch (choice) {
|
||||
@ -144,7 +145,8 @@ public class Main {
|
||||
* @throws IOException <p>If reading or writing fails.</p>
|
||||
*/
|
||||
private static void animeConverter() throws IOException {
|
||||
printl("[Audio languages jpn,eng,ger,fre] [Subtitle languages eng,ger,fre] [Convert to stereo if necessary true/false] [Prevent signs&songs subtitles true/false]\nYour input: ");
|
||||
printl("[Audio languages jpn,eng,ger,fre] [Subtitle languages eng,ger,fre] [Convert to stereo if " +
|
||||
"necessary true/false] [Prevent signs&songs subtitles true/false]\nYour input: ");
|
||||
List<String> input = readInput(4);
|
||||
String[] audioLang = new String[]{"jpn", "*"};
|
||||
String[] subtitleLang = new String[]{"eng", "*"};
|
||||
|
Reference in New Issue
Block a user