foo-webview-sdk
    Preparing search index...

    Interface PlaybackPlayPathsParams

    Parameters for playback.playPaths. Add several files to the active playlist and start playing one of them. Entries that are not strings or fail the media-root check are dropped and counted in skippedPaths, which only a successful call reports; when every entry is dropped the call fails with INVALID_PARAMS. Each remaining path becomes a track as written: folders and playlist files are not expanded and the file is not opened, so a missing file is added too. When no track can be made the call fails with NOT_FOUND. When the active playlist is locked the call fails with LOCKED, and nothing is cleared, added or played.

    interface PlaybackPlayPathsParams {
        paths: string[];
        replace?: boolean;
        startIndex?: number;
    }
    Index
    paths: string[]

    File paths, each optionally with a |subsong:N suffix.

    replace?: boolean

    true clears the active playlist before adding; false appends.

    false
    
    startIndex?: number

    Which of the added tracks to start with, counted among the tracks that resolved; a value past the end starts the first.

    0