diff options
| author | Shadowghost <Ghost_of_Stone@web.de> | 2023-02-19 18:12:28 +0100 |
|---|---|---|
| committer | Shadowghost <Ghost_of_Stone@web.de> | 2023-02-19 18:12:28 +0100 |
| commit | 815aa40170bbfbfe2663d1fc59e778b4f1d40b96 (patch) | |
| tree | 7229091f18bd77b2fe3576e1a899e9d1e4f61b86 | |
| parent | 3c921e25da2efe5cb3c2fca74c70efc78618097d (diff) | |
Fix MusicBrainz config page input validation
| -rw-r--r-- | MediaBrowser.Providers/Plugins/MusicBrainz/Configuration/config.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MediaBrowser.Providers/Plugins/MusicBrainz/Configuration/config.html b/MediaBrowser.Providers/Plugins/MusicBrainz/Configuration/config.html index 6f1296bb7..0423d4566 100644 --- a/MediaBrowser.Providers/Plugins/MusicBrainz/Configuration/config.html +++ b/MediaBrowser.Providers/Plugins/MusicBrainz/Configuration/config.html @@ -13,8 +13,8 @@ <div class="fieldDescription">This can be a mirror of the official server or even a custom server.</div> </div> <div class="inputContainer"> - <input is="emby-input" type="number" id="rateLimit" pattern="[0-9]*" required min="0" max="10000" label="Rate Limit" /> - <div class="fieldDescription">Span of time between requests in milliseconds. The official server is limited to one request every two seconds.</div> + <input is="emby-input" type="number" id="rateLimit" required pattern="[0-9]*" min="0" max="10" step=".01" label="Rate Limit" /> + <div class="fieldDescription">Span of time between requests in seconds. The official server is limited to one request every seconds.</div> </div> <label class="checkboxContainer"> <input is="emby-checkbox" type="checkbox" id="replaceArtistName" /> @@ -49,7 +49,7 @@ bubbles: true, cancelable: false })); - + document.querySelector('#replaceArtistName').checked = config.ReplaceArtistName; Dashboard.hideLoadingMsg(); |
