Commit Graph
44 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 cee6f7f961 Merge branch 'feat/entry-details-redesign' 2026-11-05 10:30:53 +00:00
X4Lo 1c6023cc52 Redesign entry details page
- Full-bleed backdrop hero with larger poster, bold title, meta and genres
- Single action bar: watch, trailer, watched, rate, favorite, collection, more
- Two-column body with ratings tiles and details sidebar
- Update loading skeleton to match the new layout
2026-11-05 10:30:41 +00:00
X4Lo 67c828838d Updated electron & react frontend packages & Agents.md 2026-11-03 20:47:40 +00:00
X4Lo f88dfdae44 Unify person page for local and TMDB people
- Merge local and TMDB person views into a single PersonDetailsPage
- Remove unused PersonTmdbRedirectPage
- Show age tooltip on birthdays (person page and people list)
2026-11-03 18:58:42 +00:00
X4Lo 834e02e76b Add poster popup, selectable title, collection media previews and library toggles
- Collection edit dialog shows the current poster and backdrop when available
- Entry details: title is selectable (action row no longer overlays it)
- Entry details: clicking the poster opens it full size in a dialog
- Library: Favorites and Hidden are toggles that combine with the type tabs
2026-11-03 18:39:03 +00:00
X4Lo 72600cbc5d Fix collection images and entry settings toggles
- Show the uploaded backdrop on the collection details page; it only
  looked at the TMDB backdrop and ignored the collection's media
- Fall back to the first entry's poster for collections without a poster
  on both the collections grid and the details page
- Read the live entry from the library store in EntrySettingsDialog so
  toggles reflect the new value instead of a stale prop snapshot
2026-11-03 16:25:12 +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 4d88747649 Add season refresh, rating display, and actions dropdown to SeasonPage
Backend: Added PUT /seasons/:id/refresh endpoint that fetches updated
TMDB data for a single season.

Frontend:
- New SeasonRatingDialog for rating seasons via StarRating
- useRefreshSeason and useUpdateSeason hooks with query invalidation
- SeasonPage now shows inline season rating (user + TMDB)
- Mark Watched, Rate, and Refresh actions moved under a dropdown menu
2026-07-05 20:58:40 +01:00
X4Lo 1aa0a84f4d Add computed entry stats to collection detail page
Show movies/series/seasons/episodes counts and estimated
total watch time inline — all from already-fetched data.
2026-07-01 00:00:13 +01:00
X4Lo e660b1ec87 Add Showy Homepage dashboard widget
Homepage widget with totals, library, and watchlist mappings. Displays
total entries, collections, favorites, library breakdown
(movies/series), and watchlist breakdown (movies/series).
2026-06-30 23:59:52 +01:00
X4Lo 63aca7e7b8 Add homepage-integration API endpoint
New GET /api/v1/homepage-integration endpoint exposes library stats
(totalEntries, library, libraryMovies, librarySeries, watchlist,
watchlistMovies, watchlistSeries, collections, favorits).
2026-06-30 23:58:26 +01:00
X4Lo ec9498cac0 Updated settings.json.example 2026-06-30 23:57:35 +01:00
X4Lo 0a79ee9768 Add named-token auth support to middleware and configService
authMiddleware now falls back to checking named tokens from settings
when JWT verification fails. configService.getNamedTokens() filters by
endDate, skipping expired tokens. Tokens without an endDate never expire.
2026-06-30 23:54:04 +01:00
X4Lo c6a838a91c Fix show_in_calendar and auto_sync toggles not persisting
Map snake_case field names from frontend to Sequelize camelCase
properties in controller. Normalize response back to snake_case
so dialog switches read correct boolean values.
2026-06-29 05:18:07 +01:00
X4Lo d12d7cb627 Rework SearchPage with tabs, infinite scroll, and anti-spam
- Add Movies & TV / People tabs next to search input
- Filter person results from movie/TV grid
- People tab with larger avatar cards, name always visible
- Infinite scroll with IntersectionObserver sentinel per tab
- Stop auto-scroll after 4 consecutive empty pages, show Load More button instead
2026-06-29 02:49:58 +01:00
X4Lo c09f70054c Add type-level duplicate credit cleanup to maintenance
Pass 1 handles exact role-level dupes. Pass 2 detects same
person/entry/type with different roles and keeps the credit
with a meaningful role, deleting the empty one.
2026-06-29 02:23:31 +01:00
X4Lo ea91c6011a Fix credits linking for TV aggregate format in create and refresh
Handle TV aggregate_credits (roles/jobs arrays) in entry creation,
matching the clean logic already in refresh. Also fix director
detection to search jobs[] array for TV series in both paths.
2026-06-29 02:10:24 +01:00
X4Lo b117b6bb98 Fix EntryCard add to library redirecting to entry
Remove navigate on successful createEntry so the user
stays on the current page after adding from a card
2026-06-26 00:00:37 +01:00
X4Lo 4d6b235ddc Fix DiscoverPage scroll, filter, and cached data persistence
- Save scroll position to sessionStorage keyed by pathname,
  restore only on back-button (POP) navigation
- AppLayout checks sessionStorage before resetting scroll
- Save movie/tv filter per category, restore on re-entry
- Clear react-query cache on fresh navigation so old
  pages aren't shown
- Deduplicate TMDB entries by ID to prevent duplicates
  across infinite scroll pages
- Increase credit character/job columns to TEXT to fix
  overflow on TV series with many aggregate roles
2026-06-25 23:57:05 +01: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 d984210dd9 Add impossible seen dates maintenance endpoint
- Backend: fixImpossibleSeenDates scan/fix in maintenanceService
  detects movies with EntrySeen date before release_date, adds
  them to a "Movies with impossible seen date" collection
- Frontend: ImpossibleSeenDatesSection in SettingsPage with
  Scan and Fix buttons
- Updated API docs (Clients + Reference), cleaned up removed
  migrateSeenWith references
2026-06-25 21:38:31 +01:00
X4Lo 3df2e2ce3e Updated API docs 2026-06-25 03:11:32 +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 4313a794ce Protect backend routes with JWT auth middleware 2026-06-23 04:14:51 +01:00
X4Lo b3a4eb9fde Add jsonwebtoken dependency 2026-06-23 04:12:03 +01:00
X4Lo 0042e7150c Add password-based auth with JWT and remember-me 2026-06-23 04:11:01 +01:00
X4Lo 89deb869ab Update .gitignore 2026-06-23 04:02:37 +01:00
X4Lo d8b95cb3e9 Fix EntrySeenDialog layout and select display values
Season/Episode on same row with grid-cols-2, Date/Accuracy same row.
Selects show labels instead of IDs. Season 0 shown as Specials,
sorted to bottom. All selects stretch full width.
2026-06-23 04:00:52 +01:00
X4Lo b001ee2240 Auto-upgrade TV status on watch, full-width layout, settings tabs
Marking episode/entry as watched now auto-upgrades TV series from
plan_to_watch/null to watching. Settings page uses tabs (General/Maintenance)
with 2-column grid. AppLayout container removed for full-width pages.
2026-06-23 03:53:22 +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 73bff72cec Add Watch Trailer button next to Start Watching, fix cursors 2026-06-18 22:58:38 +01:00
X4Lo 3c089ee110 Add duplicate credits maintenance and fix dedup logic 2026-06-18 22:08:46 +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
X4Lo 8671184dc5 Fix home page navigation and add TMDB cast page
Home page cards now check library store and link directly to EntryDetailsPage
when the entry is already added. Created useTmdbEntryLink hook for shared
library-check logic. Added TmdbCastsPage with filter/search/sort for
TMDB preview cast & crew, and limited credits to 12 on TmdbPreviewPage.
2026-06-18 13:37:39 +01:00
X4Lo 6c2fd3837b removed old routes 2026-06-17 04:03:37 +01:00
X4Lo 3c29cf78ea Add toggle to gray out unseen entries in collections
Hide unseen button near sort controls applies grayscale + low opacity to
posters of entries that haven't been watched. Preference is persisted
per-collection via the existing sort store.
2026-06-17 04:03:16 +01:00
X4Lo e434dd3b5e Persist collection sort order across page reloads
Add useCollectionSortStore with localStorage persistence, keyed by collection ID. CollectionDetailsPage now reads/writes sort preferences through the store instead of local useState.
2026-06-17 03:57:43 +01:00
X4Lo 702cd537d1 fix(ai-query): two-step query for recently-watched endpoints to avoid genre join row multiplication 2026-05-29 02:57:28 +01:00
X4Lo 0459a1b4bf fix(ai-query): correct model column names for EntryRating, Collection, Media 2026-05-29 02:45:53 +01:00
X4Lo 88ada32064 docs(ai-query): add API reference to docs-vault 2026-05-29 02:35:51 +01:00
X4Lo 6b6e95e736 feat(ai-query): add AI query API scaffold with all 15 endpoints 2026-05-29 02:13:12 +01:00