Fixed the change speaker feature. every step till the point where its send to the main functions now

This commit is contained in:
2025-12-17 15:29:04 +01:00
parent 2778626e4b
commit fc8770e67f
5 changed files with 13 additions and 11 deletions
+4 -2
View File
@@ -209,8 +209,7 @@ electron.ipcMain.on("file_submit", async (event, args) => {
await mapFunctions.get("extract-speaker-snippets").function({audioPath: audiopath, jsonPath: transcriptpath }).then(resp => {
mainWindow.webContents.send("submitSpeaker", resp)
console.log(resp)
mainWindow.webContents.send("speakerAudios", resp)
}).catch(err => {
mainWindow.webContents.send("error", err)
return
@@ -224,6 +223,9 @@ electron.ipcMain.on("file_download", async() => {
await mapFunctions.get("htmlDocumentConverter").convert({inputPath:globalFinalHtmlPath, format: globalArgs.document.outputType, showDialog: true});
})
electron.ipcMain.on("speaker_submit", async() => {
console.log("\n\n\nJa also hier kam was an \n\n\n");
})
let q =
{