diff --git a/main.js b/main.js index 8e0625d..0510187 100644 --- a/main.js +++ b/main.js @@ -194,6 +194,24 @@ electron.ipcMain.on("file_submit", async (event, args) => { }) } + // TODO actually implement this functionality + // Module to get the first few lines for each speaker to send to the frontend +// await mapFunctions.get("speaker-getter-idfk").function(transcriptpath).then(resp => { +// console.log(resp); +// transcriptpath = resp +// curstep++ +// mainWindow.webContents.send("progress", {curstep:curstep, totalsteps:totalsteps}) + +// // { +// // speakerA: {source: "Pfad zur Audio File"}, +// // speakerB:..... +// // } + mainWindow.webContents.send("speakers", {speakerA:"pfad1", speakerB:"pfad2"}) +// }).catch(err => { +// mainWindow.webContents.send("error", err) +// return +// }) + } catch (error) { console.log(error);