foo-webview-sdk
    Preparing search index...

    Interface LibraryItemsModifiedPayload

    Payload of the library:itemsModified event. Tracks in the Media Library were modified: their tags changed, or a component such as foo_playcount asked foobar2000 to show its fields anew (fromHook). Paths stay as they were, so the host keeps the directory index behind library.getRoots and library.browseTree. It drops its other library caches before sending it; for a fromHook change only the kept library.getAll list, because rating is the one field of the kept results that such a component can supply.

    interface LibraryItemsModifiedPayload {
        count: number;
        fromHook: boolean;
        handles: string[];
        timestamp: number;
        truncated: boolean;
    }
    Index
    count: number

    How many tracks.

    fromHook: boolean

    true when the files themselves did not change and a component such as foo_playcount asked for its fields to be shown anew. Paths, tags and album grouping are then as before.

    handles: string[]

    The handle of every track, the key track rows carry, in no particular order. Empty when truncated.

    timestamp: number

    When the host sent it, in milliseconds since the Unix epoch.

    truncated: boolean

    true when more than 5000 tracks changed at once. handles is then empty, and a page should read again everything it shows.