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:
1 parent
260282a0e2
commit
ce01dc34fa
14 files changed
+293
-45
No files matched your search
@@ -58,13 +58,19 @@ See [[API Reference#Entry Seen (Movie Watch Records)]] and [[API Reference#Episo
|
||||
|
||||
## Batch Operations
|
||||
|
||||
### Mark All Seen (Season)
|
||||
### Mark Season Watched
|
||||
|
||||
The [[Pages#SeasonPage|SeasonPage]] has a "Mark All as Seen" action that:
|
||||
The [[Pages#SeasonPage|SeasonPage]] has a "Mark Season Watched" button (always visible) that opens the [[Components#Dialogs|MarkSeasonWatchedDialog]]. Two modes:
|
||||
|
||||
1. Filters unwatched episodes
|
||||
2. Creates an `EpisodeSeen` for each
|
||||
3. Uses the selected date and accuracy
|
||||
#### Single Date Mode
|
||||
1. User picks a single date, accuracy, and optional "seen with"
|
||||
2. All unwatched episodes are marked as seen on that date
|
||||
|
||||
#### Scatter Mode
|
||||
1. User toggles scatter mode and picks a start date and end date
|
||||
2. Episodes are distributed evenly across the date range
|
||||
3. A preview shows total days and max episodes/day
|
||||
4. Each episode gets a different `date_seen` based on the distribution
|
||||
|
||||
## Side Effects
|
||||
|
||||
|
||||
Reference in new issue
Block a user