Prevent notification sound during playback
This commit is contained in:
@@ -186,5 +186,6 @@ function showDoneNotification (torrent) {
|
|||||||
ipcRenderer.send('show')
|
ipcRenderer.send('show')
|
||||||
}
|
}
|
||||||
|
|
||||||
sound.play('DONE')
|
// Only play notification sound if player is inactive
|
||||||
|
if (this.state.playing.isPaused) sound.play('DONE')
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user