Merge pull request #315 from Joe-Dowd/react

Audio notification on skip
This commit is contained in:
Ajay Ramachandran
2020-04-04 22:26:51 -04:00
committed by GitHub
6 changed files with 41 additions and 0 deletions

View File

@@ -291,6 +291,12 @@
"autoSkipDescription": {
"message": "Auto skip will skip sponsors for you. If disabled, a notice will appear asking if you'd like to skip."
},
"audioNotification": {
"message": "Audio Notification On Skip"
},
"audioNotificationDescription": {
"message": "Audio notification on skip will play a sound whenever a sponsor is skipped. If disabled (or auto skip is disabled), no sound will be played."
},
"youHaveSkipped": {
"message": "You have skipped "
},

BIN
public/icons/beep.ogg Normal file

Binary file not shown.

View File

@@ -100,6 +100,25 @@
<br/>
<br/>
<div option-type="toggle" sync-option="audioNotificationOnSkip">
<label class="switch-container" label-name="__MSG_audioNotification__">
<label class="switch">
<input type="checkbox" checked>
<span class="slider round"></span>
</label>
</label>
<br/>
<br/>
<div class="small-description">__MSG_audioNotificationDescription__</div>
</div>
<br/>
<br/>
<div option-type="keybind-change" sync-option="startSponsorKeybind">