Fix song repeating when disabled (#55)
This commit is contained in:
parent
3848e9840d
commit
cf00992d71
1 changed files with 0 additions and 2 deletions
|
@ -13,7 +13,6 @@ function wait(timeout: number) {
|
|||
}
|
||||
|
||||
ipcMain.on('player-start', async () => {
|
||||
await mpv.load('./dummy.mp3', 'replace');
|
||||
await mpv.play();
|
||||
});
|
||||
|
||||
|
@ -72,7 +71,6 @@ ipcMain.on('player-set-queue', async (_event, data: PlayerData) => {
|
|||
await mpv.load(data.queue.next.streamUrl, 'append');
|
||||
}
|
||||
|
||||
await mpv.play();
|
||||
complete = true;
|
||||
} catch (err) {
|
||||
console.error(err);
|
||||
|
|
Reference in a new issue