···1717 * shift the queue if needed.
1818 */
1919class QueueAudioOrchestrator extends BroadcastableDiffuseElement {
2020+ static NAME = "diffuse/orchestrator/queue-audio";
2021 static observedAttributes = ["repeat"];
21222223 // SIGNALS
···126127 // The idea is that scrobblers would more easily pick this up,
127128 // as opposed to just resetting the audio.
128129 if (this.#repeat.value) {
129129- await this.queue.add({
130130- inFront: true,
131131- tracks: [this.queue.now()],
132132- });
130130+ const now = this.queue.now();
131131+ if (now) {
132132+ await this.queue.add({
133133+ inFront: true,
134134+ tracks: [now],
135135+ });
136136+ }
133137 }
134138135139 await this.queue.shift();
+1-1
src/definitions/index.ts
···11-export * as ShDiffuseOutputTracks from "./types/sh/diffuse/output/tracks.ts";
11+export * as ShDiffuseOutputTracks from "./types/sh/diffuse/output/tracks.js";
+4
src/index.vto
···3434 title: "Webamp / Browser"
3535 desc: >
3636 Collection browser + search in a retro, win98, look.
3737+ - url: "themes/webamp/configurators/input/"
3838+ title: "Webamp / Input Configurator"
3939+ desc: >
4040+ Windows 98 styled input configurator where you can add music sources.
37413842# ELEMENTS
3943