foo-webview-sdk
    Preparing search index...

    Interface PlaylistConvertToAutoplaylistParams

    Parameters for playlist.convertToAutoplaylist. Turn an existing playlist into an autoplaylist; its tracks are replaced by the query results. Fails with OPERATION_FAILED when foobar2000 refuses, for instance because the playlist is already an autoplaylist.

    interface PlaylistConvertToAutoplaylistParams {
        keepSorted?: boolean;
        playlist?: number;
        playlistGuid?: string;
        query: string;
        sort?: string;
    }
    Index
    keepSorted?: boolean

    Keep the playlist sorted by sort: when set, the user cannot reorder its tracks.

    false
    
    playlist?: number

    Index of the playlist to convert; omitted, the active playlist. An index past the last playlist fails with INVALID_INDEX; with this omitted and no active playlist the call fails with NO_ACTIVE_ITEM.

    playlistGuid?: string

    Persistent unique identifier of a playlist (bracketed GUID, case-insensitive), used in place of a mutable index. Mutually exclusive with playlist; passing both or an invalid format fails with INVALID_PARAMS. Fails with NOT_FOUND if the playlist does not exist, never falling back. Invalid-format and not-found failures return the given GUID in details.playlistGuid.

    query: string

    Library query that selects the tracks, in foobar2000's query syntax.

    sort?: string

    Title Formatting pattern to sort the results by; empty, library order.

    ""