- Add getEntryCredits service method returning all cast + crew with People, ordered by cast_type, order, episode_count
- Add getEntryCredits controller method
- Add GET /entries/:id/credits route in entry.routes.js
- Include EpisodeSeen association in getSeasonEpisodes so seen dates are returned to frontend
- Add credits fetch to GET /entries/tmdb/preview/:type/:tmdbId endpoint
- Map cast/crew to Credit-like shapes in preview response
- Fall back to entry backdrops when collection has no backdrop
- Add GET /entries/tmdb/preview/:type/:tmdbId endpoint in entryController.js
- Fetch TMDB data via tmdbService.fetchEntryData() without persisting to DB
- Return normalized preview object with title, poster, genres, rating, season/episode counts
- 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
Seasons Page:
- Episode watch button now opens EpisodeSeenEditDialog instead of
directly marking as watched, allowing date/seen-with input
- Added "Mark Season as Watched" button that sequentially marks all
unwatched episodes in the season
Episode Page:
- Fixed UI not updating after deleting the last episode seen record;
the backend returns 404 when no records exist for an episode, which
caused the query to error instead of resolving to an empty array.
The API layer now catches 404 and returns [] gracefully.
Library:
- Exclude hidden entries from all/movies/tv/favorites tabs (only show in hidden tab)
Entry Details:
- Move favorite, mark watched, and more actions to top-right as icon-only buttons with tooltips
- Fix season card play button — marks next unwatched episode as seen
Seasons Page:
- Fix episode watch button (was a TODO stub, now calls createEpisodeSeen)
Episode Page:
- Fix UI not updating after deleting the last watch record — invalidate season episodes query on delete
Dashboard:
- Fix Top Genres 404 — was calling non-existent GET /statistics, now uses /statistics/watch-time
- Fix TopGenresChart genre counting (Genre objects were wrongly cast as strings)
- Add LibraryGrowthChart (cumulative titles added over time)
- Add MediaTypeChart (Movies vs TV Series donut chart)
Home Page:
- Add TrendingSlider hero at top of page with auto-advance, dots, and prev/next nav
- Fix slider prev/next buttons (stable callbacks via ref, plain buttons, reactive library state)
- Add debounce (400ms) to search input
- Add Top Rated section (movies & TV)
- Add Upcoming section (movies)
- Replace inline "More" expand with link to /discover/:category
Discover Page (new):
- Full-page TMDB browser per category (trending/popular/top-rated/upcoming)
- Movie/TV tab toggle
- IntersectionObserver infinite scroll
Calendar:
- Fix large season numbers — use season.season_number instead of season_id (DB primary key)
Backend:
- Add fetchTopRated() and fetchUpcoming() to tmdbService
- Add GET /entries/tmdb/top-rated/:type and /entries/tmdb/upcoming/movie routes
- Enhance PeopleController with person credits and TMDB filmography endpoints;
- update episodeService to filter entries by showInCalendar;
- add fetchPersonCombinedCredits function in tmdbService
- Added people manager
- Auto update non fully fetched people
- People media downloader
- Updated media controller to serve peoples profiles
- Config people media folders auto creation
- add download of episode media function
- serving of episodes/seasons files
- pulling seasons/episodes media on entry create
- maintenance for seasons/episodes media