A music player that connects to your cloud/distributed storage.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: attempt to address safari issue

+20 -20
+20 -20
src/common/foundation.js
··· 201 201 // Configurators 202 202 203 203 async function configuratorArtwork() { 204 - const { default: ArtworkConfigurator } = await import( 204 + const { CLASS: ArtworkConfigurator } = await import( 205 205 "~/components/configurator/artwork/element.js" 206 206 ); 207 207 ··· 213 213 } 214 214 215 215 async function configuratorMetadata() { 216 - const { default: MetadataConfigurator } = await import( 216 + const { CLASS: MetadataConfigurator } = await import( 217 217 "~/components/configurator/metadata/element.js" 218 218 ); 219 219 ··· 225 225 } 226 226 227 227 async function input() { 228 - const { default: InputConfigurator } = await import( 228 + const { CLASS: InputConfigurator } = await import( 229 229 "~/components/configurator/input/element.js" 230 230 ); 231 231 ··· 240 240 * @returns {Promise<ScrobbleElement>} 241 241 */ 242 242 async function scrobbles() { 243 - const { default: ScrobblesConfigurator } = await import( 243 + const { CLASS: ScrobblesConfigurator } = await import( 244 244 "~/components/configurator/scrobbles/element.js" 245 245 ); 246 246 ··· 260 260 261 261 // Engines 262 262 async function audio() { 263 - const { default: AudioEngine } = await import( 263 + const { CLASS: AudioEngine } = await import( 264 264 "~/components/engine/audio/element.js" 265 265 ); 266 266 ··· 271 271 } 272 272 273 273 async function queue() { 274 - const { default: Queue } = await import( 274 + const { CLASS: Queue } = await import( 275 275 "~/components/engine/queue/element.js" 276 276 ); 277 277 ··· 282 282 } 283 283 284 284 async function repeatShuffle() { 285 - const { default: RepeatShuffleEngine } = await import( 285 + const { CLASS: RepeatShuffleEngine } = await import( 286 286 "~/components/engine/repeat-shuffle/element.js" 287 287 ); 288 288 ··· 293 293 } 294 294 295 295 async function scope() { 296 - const { default: ScopeEngine } = await import( 296 + const { CLASS: ScopeEngine } = await import( 297 297 "~/components/engine/scope/element.js" 298 298 ); 299 299 ··· 305 305 306 306 // Orchestrators (cont.) 307 307 async function artwork() { 308 - const [{ default: ArtworkOrchestrator }, ac] = await Promise.all([ 308 + const [{ CLASS: ArtworkOrchestrator }, ac] = await Promise.all([ 309 309 import("~/components/orchestrator/artwork/element.js"), 310 310 configuratorArtwork(), 311 311 ]); ··· 319 319 320 320 // Orchestrators 321 321 async function autoQueue() { 322 - const [{ default: AutoQueueOrchestrator }, q, r, t] = await Promise.all([ 322 + const [{ CLASS: AutoQueueOrchestrator }, q, r, t] = await Promise.all([ 323 323 import("~/components/orchestrator/auto-queue/element.js"), 324 324 queue(), 325 325 repeatShuffle(), ··· 336 336 } 337 337 338 338 async function controller() { 339 - const [{ default: ControllerOrchestrator }, a, o, q] = await Promise.all([ 339 + const [{ CLASS: ControllerOrchestrator }, a, o, q] = await Promise.all([ 340 340 import("~/components/orchestrator/controller/element.js"), 341 341 audio(), 342 342 output(), ··· 352 352 } 353 353 354 354 async function favourites() { 355 - const [{ default: FavouritesOrchestrator }, o] = await Promise.all([ 355 + const [{ CLASS: FavouritesOrchestrator }, o] = await Promise.all([ 356 356 import("~/components/orchestrator/favourites/element.js"), 357 357 output(), 358 358 ]); ··· 365 365 } 366 366 367 367 async function mediaSession() { 368 - const [{ default: MediaSessionOrchestrator }, a, aw, o, q] = await Promise 368 + const [{ CLASS: MediaSessionOrchestrator }, a, aw, o, q] = await Promise 369 369 .all([ 370 370 import("~/components/orchestrator/media-session/element.js"), 371 371 audio(), ··· 389 389 * @param {string} [options.namespace] - The namespace to use for the output. 390 390 */ 391 391 async function output(options) { 392 - const { default: OutputOrchestrator } = await import( 392 + const { CLASS: OutputOrchestrator } = await import( 393 393 "~/components/orchestrator/output/element.js" 394 394 ); 395 395 ··· 407 407 * @param {boolean} [opts.disableWhenReady] - Whether to disable processing when ready. 408 408 */ 409 409 async function processTracks(opts = { disableWhenReady: false }) { 410 - const [{ default: ProcessTracksOrchestrator }, i, o, m] = await Promise.all([ 410 + const [{ CLASS: ProcessTracksOrchestrator }, i, o, m] = await Promise.all([ 411 411 import("~/components/orchestrator/process-tracks/element.js"), 412 412 input(), 413 413 output(), ··· 428 428 } 429 429 430 430 async function queueAudio() { 431 - const [{ default: QueueAudioOrchestrator }, a, i, o, q, r] = await Promise 431 + const [{ CLASS: QueueAudioOrchestrator }, a, i, o, q, r] = await Promise 432 432 .all([ 433 433 import("~/components/orchestrator/queue-audio/element.js"), 434 434 audio(), ··· 450 450 } 451 451 452 452 async function scopedTracks() { 453 - const [{ default: ScopedTracksOrchestrator }, i, o, e] = await Promise.all([ 453 + const [{ CLASS: ScopedTracksOrchestrator }, i, o, e] = await Promise.all([ 454 454 import("~/components/orchestrator/scoped-tracks/element.js"), 455 455 input(), 456 456 output(), ··· 467 467 } 468 468 469 469 async function scrobbleAudio() { 470 - const [{ default: ScrobbleAudioOrchestrator }, a, sc] = await Promise.all([ 470 + const [{ CLASS: ScrobbleAudioOrchestrator }, a, sc] = await Promise.all([ 471 471 import("~/components/orchestrator/scrobble-audio/element.js"), 472 472 audio(), 473 473 scrobbles(), ··· 482 482 } 483 483 484 484 async function pathCollections() { 485 - const [{ default: PathCollectionsOrchestrator }, o] = await Promise.all([ 485 + const [{ CLASS: PathCollectionsOrchestrator }, o] = await Promise.all([ 486 486 import("~/components/orchestrator/path-collections/element.js"), 487 487 output(), 488 488 ]); ··· 495 495 } 496 496 497 497 async function sources() { 498 - const [{ default: SourcesOrchestrator }, i, o] = await Promise.all([ 498 + const [{ CLASS: SourcesOrchestrator }, i, o] = await Promise.all([ 499 499 import("~/components/orchestrator/sources/element.js"), 500 500 input(), 501 501 output(),