···40404141 // FUCKAROUND: Not sure of the downsides of this
4242 httpClient.getHeadInfo = async () => {
4343- const info = await getHeadInfo.call(httpClient);
4444- return { ...info, acceptPartialRequests: true };
4343+ try {
4444+ const info = await getHeadInfo.call(httpClient);
4545+ return { ...info, acceptPartialRequests: true };
4646+ } catch {
4747+ // Some servers (e.g. Dropbox temporary links) don't return Content-Length.
4848+ // Fall back to downloading the full file without range requests.
4949+ return { size: undefined, acceptPartialRequests: false };
5050+ }
4551 };
46524753 /** @type {any} */
+4
src/elements.vto
···5555 Signals that could influence the scope of a set of tracks.
56565757input:
5858+ - url: "components/input/dropbox/element.js"
5959+ title: "Dropbox"
6060+ desc: >
6161+ Audio files from Dropbox, using the Dropbox v2 HTTP API.
5862 - url: "components/input/https/element.js"
5963 title: "HTTPS"
6064 desc: >