Added book name to start of exported chapters

This commit is contained in:
Matt Jenkins
2018-10-22 14:08:16 +01:00
parent f5c0d5bbfc
commit abb26288c6

View File

@@ -135,7 +135,7 @@ public class Chapter extends DefaultMutableTreeNode {
File exportFile = new File(export, name + ".wax"); File exportFile = new File(export, name + ".wax");
File wavFile = new File(export, name + ".wav"); File wavFile = new File(export, name + ".wav");
File mp3File = new File(export, name + "-untagged.mp3"); File mp3File = new File(export, name + "-untagged.mp3");
File taggedFile = new File(export, name + ".mp3"); File taggedFile = new File(export, book.getName() + " - " + name + ".mp3");
FileOutputStream fos = new FileOutputStream(exportFile); FileOutputStream fos = new FileOutputStream(exportFile);
data = AudiobookRecorder.window.getRoomNoise(Utils.s2i(Options.get("catenation.pre-chapter"))); data = AudiobookRecorder.window.getRoomNoise(Utils.s2i(Options.get("catenation.pre-chapter")));