Prevent notification sound during playback
This commit is contained in:
parent
82853aa017
commit
9c8eabb46c
1 changed files with 2 additions and 1 deletions
|
|
@ -186,5 +186,6 @@ function showDoneNotification (torrent) {
|
|||
ipcRenderer.send('show')
|
||||
}
|
||||
|
||||
sound.play('DONE')
|
||||
// Only play notification sound if player is inactive
|
||||
if (this.state.playing.isPaused) sound.play('DONE')
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue