mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-17 13:12:07 +00:00
playlist download progressBar using chokidar
This commit is contained in:
@ -184,19 +184,13 @@ module.exports = {
|
||||
ipcRenderer.on(
|
||||
"downloader-download-playlist",
|
||||
(_, url, playlistFolder, options) => {
|
||||
const reinit = () =>
|
||||
ipcRenderer.send("downloader-feedback", defaultMenuDownloadLabel);
|
||||
|
||||
downloadVideoToMP3(
|
||||
url,
|
||||
(feedback) => {
|
||||
ipcRenderer.send("downloader-feedback", feedback);
|
||||
},
|
||||
() => {},
|
||||
(error) => {
|
||||
triggerAction(CHANNEL, ACTIONS.ERROR, error);
|
||||
reinit();
|
||||
},
|
||||
reinit,
|
||||
() => {},
|
||||
options,
|
||||
null,
|
||||
playlistFolder
|
||||
|
||||
Reference in New Issue
Block a user