function resolveYouTubePlaylist
resolveYouTubePlaylist(listId: string): Promise<YouTubePlaylist>

Returns the tracklist of the playlist listId, from the cache when it was resolved in the last 6 hours.

Parameters

listId: string

Return Type

Throws

APIException

400 when listId isn't a playlist id, 502 when YouTube can't be reached or answers with an error, 404 when the playlist has no tracks to read (private, deleted, or a mix).

Usage

import { resolveYouTubePlaylist } from "api/remote/youtube-playlist.ts";