Merge branch 'develop' into 'feature/ui-test'

# Conflicts:
#   main.js
This commit is contained in:
Hughes, Mike
2025-12-16 16:39:59 +01:00
5 changed files with 110 additions and 8 deletions
+8 -3
View File
@@ -206,8 +206,13 @@ electron.ipcMain.on("file_submit", async (event, args) => {
mainWindow.webContents.send("error", err)
return
})
}
await mapFunctions.get("extract-speaker-snippets").function({audioPath: audiopath, jsonPath: transcriptpath }).then(resp => {
mainWindow.webContents.send("submitSpeaker", resp)
console.log(resp)
})
// 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 => {
@@ -220,7 +225,7 @@ electron.ipcMain.on("file_submit", async (event, args) => {
// // speakerA: {source: "Pfad zur Audio File"},
// // speakerB:.....
// // }
mainWindow.webContents.send("speakers", {speakerA:"pfad1", speakerB:"pfad2"})
// mainWindow.webContents.send("speakers", {speakerA:"pfad1", speakerB:"pfad2"})
// }).catch(err => {
// mainWindow.webContents.send("error", err)
// return