34 Commits
Author SHA1 Message Date
X4Lo 28eee34548 Unify entry page for TMDB previews and add artwork section
- Entry details page now also renders entries not in the library, using
  the TMDB preview mapped to the same entry shape; remove TmdbPreviewPage
- Preview endpoint returns an entry-shaped object, TMDB seasons and
  directors
- Artwork section: TMDB posters, backdrops and logos merged with the media
  table, with in-library badges, language filter and add-to-library
- Record tmdb_path on downloaded media so TMDB images can be matched
- Recommendations by TMDB id for entries not in the library
2026-11-05 14:06:46 +00:00
X4Lo a9ff2d089a Store full TMDB data, add rate limiting and stale-entry refresh
Backend
- Route all TMDB requests through a rate limiter (20 req/s, 8 concurrent)
  with 429/5xx retries; stop logging the API key
- Fetch external ids, certification, keywords, videos, watch providers and
  alternative titles in the entry details request
- Shared entry mapper used by create, refresh, season refresh and importer
- New columns on entries, ids, ratings, seasons, episodes and people, with
  an idempotent startup migration (adds missing columns, widens types)
- Fix TV IMDb ids, network country/logo, episode tmdb_id on refresh, and
  genre/network removal on refresh
- Add stale-entries maintenance job (count, start, cancel) and live
  recommendations endpoint

Frontend
- Entry page: certification, tagline, creators, in-app trailer, vote count,
  TV/movie details, network logos, external links, keywords, where to
  watch, and recommendations
- Episode page: directors, writers and guest stars
- Settings: TMDB refresh card with live progress
2026-11-05 11:39:15 +00:00
X4Lo eb3a12f6cb Add Discovery Videos feature
Let users upload videos, tag them with one or more entries, and watch
them from a new Discovery Videos page.

Backend:
- Add Video and VideoEntry models and relations
- Add video controller and /video routes
- Add video thumbnail generation service (ffmpeg-static)
- Add video upload storage location and config

Frontend:
- Add DiscoveryVideosPage with sidebar link and route
- Add AddVideoDialog, VideoDropzone, EntryMultiSelect, VideoCard
  and VideoPlayerDialog components
- Add discoveryVideos API client and useDiscoveryVideos hook
- Add format helpers, video types and normalizers
- Add skeleton for the page

Docs:
- Document the feature in docs-vault
2026-11-03 15:57:53 +00:00
X4Lo 331bbbb17c Increase credit character and job columns to TEXT
VARCHAR(500) still overflows for TV series with many
aggregate roles joined by semicolon
2026-06-25 23:28:54 +01:00
X4Lo e82b905886 Add Watch Buddies feature
- Created WatchBuddy model
- M:N junctions to EntrySeen/EpisodeSeen
  and Media relation for profile pictures
- Full CRUD + search + profile picture upload
- WatchBuddySelect multi-select with search and inline create, replaced
  all seen_with text inputs
- WatchBuddiesPage (grid) and WatchBuddyProfilePage (edit form,
  icon-based contacts, poster-grid watch history, monthly timeline)
2026-06-25 03:11:14 +01:00
X4Lo cdbaedd7d0 Add watch status for TV series with UI and auto-fix
Added watch_status column to Entry model (plan_to_watch/watching/completed/
on_hold/dropped). Status pill on entry details page opens selection dialog.
Set Status in quick actions menu and EntryCard dropdown (TV only).
Status filter in Library filter popover. Maintenance auto-fix endpoint
that sets statuses based on watched episodes (excl. season 0).
2026-06-23 03:39:16 +01:00
X4Lo a5659cf4c8 Normalize to double quotes across all files with Prettier 2026-06-21 22:28:08 +01:00
X4Lo 5a0328a17f Director field, search, and collection improvements
Backend: Added director column to Entry model, set during creation and
refresh. Maintenance endpoint to scan/fix missing directors. Reverted
expensive credit JOIN in getAllEntries.

Frontend: @director: search prefix for Library and Watchlist. Director
rendered on EntryDetailsPage via useEntryCredits. Fixed home page cards
to link directly to EntryDetailsPage when entry is in library. Added
TmdbCastsPage for TMDB cast browsing. Persisted collection sort order
and gray-out-unseen toggle. Tooltip component now theme-aware.
2026-06-18 20:09:11 +01:00
Mohammed Abad 25b645a16f feat(backend): add TMDB preview endpoint for non-library entries
- 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
2026-04-27 04:03:02 +01:00
Mohammed Abad ce01dc34fa 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
2026-04-23 16:51:18 +01:00
Mohammed Abad 63fdc00ac2 feat: entry details overhaul, navigation, rating half-stars, library growth "all", accuracy field
- SeasonPage: add back navigation link to entry details page
- EpisodePage: add breadcrumb navigation back to entry and season pages
- EntryCard: non-library entries now open a details dialog on click with overview, rating, and add-to-library button
- EntryDetailsPage: move favorite and mark-watched buttons into grouped dropdown menu with separators
- EntryDetailsPage: add favorite badge (heart icon) on top-left of poster
- EntryDetailsPage: add "mark as watched" clickable text next to runtime for unwatched movies
- EntryDetailsPage: genre pills are now clickable links that navigate to library page with genre filter
- EntryDetailsPage: hide status pill for movies; show status as text next to release date for TV series
- EntryDetailsPage: add delete entry option in dropdown menu with confirmation dialog and redirect to library
- EntryDetailsPage: add TMDB and IMDb external links under poster using entry.entryIds
- EntryDetailsPage: group all dropdown actions by relevance (Watch/Rate, Organize, Manage, Danger) with separators
- RatingDialog: support half-star ratings (0.5 increments) with left/right click zones per star
- RatingDialog: fix clear rating button by syncing state on dialog open and using dedicated handleClear function
- LibraryGrowthChart: add "All" option to year selector (default) showing cumulative growth across all years
- Frontend: add SeenAccuracy type to types/index.ts, update API layers and hooks to support accuracy
- EntrySeenDialog: add Date Accuracy selector (Exact/Estimated/Unknown) with EXACT default
- EpisodeSeenEditDialog: add Date Accuracy selector, updated overrideSubmit signature
- SeasonPage: pass accuracy through bulk mark-all-watched flow
2026-04-20 01:24:55 +01:00
Mohammed Abad ebdef6ba6c **DB Models Changes**
- Backend: add accuracy field (ENUM: EXACT, ESTIMATED, UNKNOWN) to EntrySeen and EpisodeSeen models
- Backend: add migration in dataInitializer to add accuracy column, set existing to EXACT, set 2021-01-01 entry seens and 2020-01-01 episode seens to UNKNOWN
2026-04-20 01:24:19 +01:00
X4Lo ad58164df4 Backend: fixed Entry model incorrect field credit_fetched name 2026-03-30 17:24:07 +01:00
X4Lo ef9e1911f9 B: Added People and Credit Models for entry crew and cast 2025-07-11 15:12:07 +01:00
X4Lo 5dc5a023b8 add networks + random changes 2025-02-15 23:40:34 +01:00
X4Lo 3bb0935db9 changed folder structure and added readme file 2025-01-25 06:13:29 +01:00
X4Lo 0b1a1d989f Random changes 2024-10-21 16:06:32 +01:00
X4Lo 625ec3367e Front/Back: add entry settings modal 2024-10-21 15:43:09 +01:00
X4Lo b42e055691 Back: reworked the media/entry relation 2024-09-10 21:32:46 +01:00
X4Lo d06a21097f random changes 2024-09-10 19:07:43 +01:00
X4Lo 776506b232 changes + fixes to collections related component + add filter by collection type 2024-09-10 01:15:14 +01:00
X4Lo eba9721a3c add media page + backend + minor changes to media related stuff & sidebar 2024-09-10 00:43:39 +01:00
X4Lo d6c3a974a1 renamed backend routes files + add fields to entry model 2024-05-18 15:37:02 +01:00
X4Lo 7e493d8866 add media model 2024-05-17 11:51:11 +01:00
X4Lo 49f8cd601b updated some db models properties 2024-05-10 09:27:33 +01:00
X4Lo 0ff3c49ca6 changed some backend models properties 2024-05-01 23:40:13 +01:00
X4Lo 537763ff7d minor changes + changed some routes 2024-04-30 22:23:43 +01:00
X4Lo dbeb0ee524 add episode seen history in entry page 2024-04-22 17:41:30 +01:00
X4Lo 9e30a6953d FE: changed title properties size 2024-04-21 16:04:00 +01:00
X4Lo 5b1b02cf61 BE: changes in episode model 2024-04-20 15:46:56 +01:00
X4Lo 8a1d5a8416 add backend models/ add properties for some 2024-04-16 10:13:12 +01:00
X4Lo b48b395574 rename model list to usercollection & fixed redlated errors 2024-04-06 08:56:16 +00:00
X4Lo 203aca7c65 Added more backend models 2024-04-01 07:30:42 +00:00
X4Lo 772db77e98 created entry, entryid, entryRating, collection models 2024-03-31 04:02:12 +00:00