mirror of
https://gitlab.rlp.net/proj-wise2526-video2document/video2document.git
synced 2026-06-15 18:01:52 +02:00
some more cleanup
This commit is contained in:
@@ -215,27 +215,6 @@ electron.ipcMain.on("file_submit", async (event, args) => {
|
|||||||
mainWindow.webContents.send("error", err)
|
mainWindow.webContents.send("error", err)
|
||||||
return
|
return
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
// 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) {
|
} catch (error) {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user