function resolveBandcampQueue
resolveBandcampQueue(
pageUrl: string,
unnamed 2?: { force?: boolean; }
): Promise<PlayerItem[]>

Resolves the Bandcamp page pageUrl into one stream item per streamable track, through GET /api/remote/bandcamp, each carrying ctx. force bypasses the server's cache, for re-resolving once the signed URLs expire.

Parameters

pageUrl: string
optional
ctx: BandcampContext
optional
unnamed 2: { force?: boolean; }

Return Type

Promise<PlayerItem[]>

Throws

Error

When the request fails or the page has no streamable track. Callers then fall back to the embed.

Usage

import { resolveBandcampQueue } from "src/utils/player/bandcamp.ts";