Merge pull request #518 from Joe-Dowd/no-audio-on-manual-skip

Only send audio notification if segment is automatically skipped
This commit is contained in:
Ajay Ramachandran 2020-10-19 11:14:35 -04:00 committed by GitHub
commit e88de89e0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -132,7 +132,7 @@ class SkipNoticeComponent extends React.Component<SkipNoticeProps, SkipNoticeSta
componentDidMount() {
if (Config.config.audioNotificationOnSkip && this.audio) {
this.audio.volume = this.contentContainer().v.volume * 0.1;
this.audio.play();
if (this.autoSkip) this.audio.play();
}
}