interface Tralbum

Returned by GET /api/remote/bandcamp for a Bandcamp album or track page, when the native player plays it.

Properties

sourceUrl: string
itemType: "album" | "track"
optional
title: string
optional
artist: string
optional
artworkUrl: string
resolvedAt: number

When the stream URLs were fetched, in epoch ms. The player resolves the page again once they are old enough to have expired.

Usage

import { type Tralbum } from "shared/player.ts";