mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 10:23:33 +00:00
Additional player adjustments
- Set volume on play - Explicitly pause/play on set queue
This commit is contained in:
parent
106fc90c4a
commit
fed96d1fce
3 changed files with 5 additions and 1 deletions
|
|
@ -87,6 +87,8 @@ ipcMain.on('player-set-queue', async (_event, data: PlayerData, pause?: boolean)
|
|||
|
||||
if (pause) {
|
||||
await getMpvInstance()?.pause();
|
||||
} else {
|
||||
await getMpvInstance()?.play();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue