forked from ChomeNS/chomens-bot-java
remove debug stuff
This commit is contained in:
parent
b2d8aeb319
commit
943e141d0a
1 changed files with 0 additions and 10 deletions
|
@ -205,9 +205,6 @@ public class NBSConverter implements Converter {
|
||||||
|
|
||||||
final String bestMatch = outputTitles.size() == 0 ? "" : outputTitles.get(0);
|
final String bestMatch = outputTitles.size() == 0 ? "" : outputTitles.get(0);
|
||||||
|
|
||||||
System.out.println("orig ins name: " + name);
|
|
||||||
System.out.println("best match: " + bestMatch);
|
|
||||||
|
|
||||||
for (Map.Entry<String, String> entry : subtitles.entrySet()) {
|
for (Map.Entry<String, String> entry : subtitles.entrySet()) {
|
||||||
if (!entry.getValue().equals(bestMatch)) continue;
|
if (!entry.getValue().equals(bestMatch)) continue;
|
||||||
|
|
||||||
|
@ -217,13 +214,6 @@ public class NBSConverter implements Converter {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// final Path path = Path.of(customInstrument.file);
|
|
||||||
// String name = path.getFileName().toString();
|
|
||||||
// if (name.endsWith(".ogg")) name = name.substring(0, name.length() - ".ogg".length()); // bad but OK
|
|
||||||
// name = name.replace("entity.firework.", "entity.firework_rocket.");
|
|
||||||
//
|
|
||||||
// System.out.println("after replaced " + name);
|
|
||||||
|
|
||||||
instrument = Instrument.of(name);
|
instrument = Instrument.of(name);
|
||||||
key += customInstrument.pitch;
|
key += customInstrument.pitch;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue