Documentation
    Preparing search index...

    Type Alias MediaProduct

    Contains information about a TIDAL media product.

    type MediaProduct = {
        extras?: Record<string, unknown>;
        productId: string;
        productType: "demo" | "track" | "video";
        referenceId?: string;
        sourceId: string;
        sourceType: string;
    }
    Index

    Properties

    extras?: Record<string, unknown>

    Optional extra attributes of the media product. Passed through to corresponding PlayLog event

    productId: string

    The id of the product to play

    productType: "demo" | "track" | "video"

    The type of the product to play

    referenceId?: string

    Optional client-set reference id to handle duplicated in a play queue implementation

    sourceId: string

    The id of the source to play, passed along for event tracking

    sourceType: string

    The type of the source to play, passed along for event tracking