feat(backend): fix credit duplicates, support multi-role TV credits, fix collection upload

- Fix credit dedup key to people_id + cast_type (scoped to entry_id)
- Detect aggregate_credits format via Array.isArray(c.roles) instead of is_tvseries flag
- Join multiple roles/jobs with "; " instead of taking only the first
- Add episode_count field to Credit model from total_episode_count
- Increase character and job columns to VARCHAR(500)
- Deselect existing collection posters/backdrops before inserting new upload
- Updated docs-vault
- Updated some agents files
This commit is contained in:
Mohammed Abad committed 2026-04-23 16:51:18 +01:00
1 parent 260282a0e2
commit ce01dc34fa
14 files changed
+293 -45

No files matched your search

+3 -1
View File
@@ -75,7 +75,9 @@ Season detail with episode list. Width: `max-w-4xl`.
- Breadcrumb: `Title / Season x` (see [[Navigation]])
- Episode progress bar
- Mark-all-as-seen action
- **Mark Season Watched** button (always visible) → opens [[Components#Dialogs|MarkSeasonWatchedDialog]]
- **Single Date mode**: marks all unwatched episodes on one date
- **Scatter Mode**: distributes episodes evenly across a date range (start → end)
- Episode list with watch status
- Links to EpisodePage