Clean up mpv startup

This commit is contained in:
jeffvli 2023-05-20 19:56:17 -07:00
parent 35f9798bed
commit 6a01d44600
3 changed files with 34 additions and 18 deletions

View file

@ -117,7 +117,3 @@ ipcMain.on('player-volume', async (_event, value: number) => {
ipcMain.on('player-mute', async () => {
await getMpvInstance()?.mute();
});
ipcMain.on('player-quit', async () => {
await getMpvInstance()?.stop();
});