From 310303ca1a123a77f9bd116af4dc64ad9c3256c5 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sat, 20 Aug 2022 11:17:24 -0400 Subject: Audio download timeout (#2187) * Add support for an idle timeout when downloading audio * Update eslint rules * Pass idleTimeout to the downloader from DisplayAnki * Add anki.downloadTimeout setting * Update tests * Assign _audioDownloadIdleTimeout using settings * Show info about cancelled downloads * Handle Firefox bug * Improve audio errors * Refactor * Move functions to RequestBuilder --- ext/settings.html | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'ext/settings.html') diff --git a/ext/settings.html b/ext/settings.html index a3cc40f5..4dfa3100 100644 --- a/ext/settings.html +++ b/ext/settings.html @@ -1763,7 +1763,31 @@ - +
+
+
+
Idle download timeout (in milliseconds)
+
+ The maximum time before an idle download will be cancelled; 0 = no limit. + More… +
+
+
+ +
+
+ +
Suspend new cards
-- cgit v1.2.3