diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-05-26 20:38:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-26 20:38:15 -0400 |
commit | 0232325f960b1fbe41e03f74a46fb18a7abf33f7 (patch) | |
tree | 4b9552f3b0db91daab394c4047add01d32e17d44 /ext/settings.html | |
parent | 900bceda47e4c736e70a66e66cfce719b4c6d203 (diff) |
Refactor json audio source (#1711)
* Move sources to the end of audio options object
* Add custom-json audio source type
* Add support for downloading custom-json
* Remove customSourceType
Diffstat (limited to 'ext/settings.html')
-rw-r--r-- | ext/settings.html | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/ext/settings.html b/ext/settings.html index aade3345..f9a2b04a 100644 --- a/ext/settings.html +++ b/ext/settings.html @@ -2399,13 +2399,6 @@ <div class="settings-item-right"> <div class="settings-item-group"> <div class="settings-item-group-item"> - <div class="settings-item-group-item-label">Type</div> - <select class="short-width short-height" data-setting="audio.customSourceType"> - <option value="audio">Audio</option> - <option value="json">JSON</option> - </select> - </div> - <div class="settings-item-group-item"> <div class="settings-item-group-item-label">URL</div> <input class="short-height" type="text" spellcheck="false" autocomplete="off" data-setting="audio.customSourceUrl" placeholder="None"> </div> @@ -2483,7 +2476,8 @@ <option value="jisho">Jisho.org</option> <option value="text-to-speech">Text-to-speech</option> <option value="text-to-speech-reading">Text-to-speech (Kana reading)</option> - <option value="custom">Custom</option> + <option value="custom">Custom URL</option> + <option value="custom-json">Custom URL (JSON)</option> </select> <button class="icon-button audio-source-menu-button" data-menu="audio-source-menu" data-menu-position="below left"><span class="icon-button-inner"><span class="icon" data-icon="kebab-menu"></span></span></button> </div></template> |