foo-webview-sdk
    Preparing search index...

    Interface LibraryGetRecentlyAddedParams

    Parameters for library.getRecentlyAdded. The newest tracks of the library. added orders by the %added% field of foo_playcount; when no track has it, the call orders by file modification time instead and says so in fallback. The library is walked on every call.

    interface LibraryGetRecentlyAddedParams {
        limit?: number;
        sortBy?: "added" | "modified";
    }
    Index
    limit?: number

    Most tracks to return.

    50
    
    sortBy?: "added" | "modified"

    added orders by %added%, newest first, with tracks that lack it last; modified orders by file modification time, newest first.

    "added"