Set title/artist metadata in downloader

This commit is contained in:
TC
2021-01-14 23:01:26 +01:00
parent 25fd48697b
commit 2861473097
4 changed files with 36 additions and 0 deletions

View File

@ -24,6 +24,10 @@ module.exports.triggerAction = (channel, action, ...args) => {
return ipcRenderer.send(channel, action, ...args);
};
module.exports.triggerActionSync = (channel, action, ...args) => {
return ipcRenderer.sendSync(channel, action, ...args);
};
module.exports.listenAction = (channel, callback) => {
return ipcMain.on(channel, callback);
};