INNER CODE UNIT · JavaScript
handleGetPrefixStemFilenameWithSongName
stemrollerapp/stemroller · main-src/main.js:141
async function handleGetPrefixStemFilenameWithSongName() {
return processQueue.getPrefixStemFilenameWithSongName()
}
async function handleGetPreserveOriginalAudio() {
return processQueue.getPreserveOriginalAudio()
}
async function handleBrowseOutputPath() {
const response = await dialog.showOpenDialog(mainWindow, {
title: 'Select folder to store output stems',
properties: ['openDirectory'],
})
if (response.filePaths.length === 1) {
processQueue.setOutputPath(response.filePaths[0])
return processQueue.getOutputPath()
}
return null