mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-11-23 04:46:08 -08:00
feat(stats): group library seasons, movies and OVAs into franchise cards (#336)
This commit is contained in:
1 parent
9d2057cc30
commit
71251b8d7b
41 files changed
+2335
-109
No files matched your search
@@ -20,6 +20,11 @@ export type { SyncMergeSummary } from './shared';
|
||||
* are updated incrementally so history older than the session retention
|
||||
* window is preserved on both sides. Idempotent: re-merging the same
|
||||
* snapshot is a no-op.
|
||||
*
|
||||
* A library entry's franchise override (`group_override`) is last-writer-wins
|
||||
* by `group_override_updated_at`. The AniList relation cache
|
||||
* (`imm_anilist_media`, `imm_anilist_relations`) is not merged: each machine
|
||||
* rebuilds it from AniList.
|
||||
*/
|
||||
export function mergeSnapshotIntoDb(localDbPath: string, snapshotPath: string): SyncMergeSummary {
|
||||
if (!fs.existsSync(localDbPath)) {
|
||||
|
||||
Reference in new issue
Block a user