foo-webview-sdk
    Preparing search index...

    Interface PlaylistGetTracksParams

    Parameters for playlist.getTracks. A page of a playlist's rows. Without fields each row is a whole playlist row with the play statistics foo_playcount provides; fields narrows every row to the named keys, from the list library.query takes, and always keeps index. A playlist index past the last one, a playlistGuid no playlist has, and no active playlist when both are omitted, answer an empty page.

    interface PlaylistGetTracksParams {
        count?: number;
        fields?: string[];
        formats?: Record<string, string>;
        playlist?: number;
        playlistGuid?: string;
        start?: number;
    }
    Index
    count?: number

    Most rows to return.

    100
    
    fields?: string[]

    Keys each row carries besides index; omitted, the whole row. The names are case-sensitive and are those library.query takes; an unknown name fails with INVALID_PARAMS and is listed in details.unknownFields. The optional albumId is omitted if no album identifier exists.

    formats?: Record<string, string>

    Extra columns, each a Title Formatting pattern under a name of your choosing; every row carries their values under formats, in projected rows too.

    playlist?: number

    Playlist index; omitted, the active playlist.

    playlistGuid?: string

    Persistent unique identifier of a playlist, used in place of an index. For read queries where a missing target returns an empty result instead of failing. Mutually exclusive with playlist; passing both or an invalid format fails with INVALID_PARAMS.

    start?: number

    First row to return.

    0