* feat: persist media preview backfill failures
Add Realm-backed APIs to track and clear media preview backfill failures, and bump the database schema to version 413.
Signed-off-by: Marino Faggiana <[email protected]>
* refactor: split media background processing
Extract metadata backfill, placeholder hydration, and preview backfill into dedicated processors and organize processing and refresh sources.
Signed-off-by: Marino Faggiana <[email protected]>
* refactor: streamline media preview backfill processing
Select a limited batch of missing previews inside the processor and skip previously failed items. Simplify failure tracking and clear it when no previews remain or an account is removed.
Signed-off-by: Marino Faggiana <[email protected]>
* feat: run media preview backfill during app processing
Add dedicated logging for media preview backfill progress and completion.
Signed-off-by: Marino Faggiana <[email protected]>
* lint
Signed-off-by: Marino Faggiana <[email protected]>
* Update NCMediaPreviewBackfillProcessor.swift
* Update NCManageDatabase.swift
---------
Signed-off-by: Marino Faggiana <[email protected]>