Commit Graph
269 Commits
Author SHA1 Message Date
ner c5f64af5aa fix: play button bleeding 2026-08-05 19:03:01 +03:00
ner c3adad3fc4 extract YearHint component; fix fetchPriority casing 2026-08-05 18:45:17 +03:00
nerandClaude Opus 5 3dc2ebfe53 feat: replace the starring page with a person page
A credit now opens /person/{id}: portrait, name, department, life dates and
birthplace, the biography, and the full filmography ranked by vote count.
One request carries all of it — combined_credits rides along on the person
call — so the discover based starring query and its with_people filter go.

The biography fills whatever height the portrait leaves and fades where it
is cut, with the whole text in a tooltip on hover; a phone has no height to
respect there, so it simply runs on.

Route level and query level skeletons stand in while it loads, built from
the shadcn primitive.

Development server side fetches go over the loopback rather than SITE_URL,
which is a LAN address meant for other devices: once that address moves the
fetch hangs until undici times out, ten seconds per navigation.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-04 22:09:33 +03:00
nerandClaude Opus 5 6fc41c0901 feat: surface availability, airing progress and the director in preview
Movies get a theatre/stream/blu-ray icon in the info row, series get the
latest aired episode as S03 E07. Both reveal the relevant dates on hover or
tap through a shared Hint tooltip.

Release dates ride along on the details request via append_to_response and
the series fields are already in the tv payload, so neither indicator costs
an extra call. Theatre state is only claimed while the run can still be
current, otherwise a classic with no digital entry would read as in cinemas.

The credits carousel now opens with the director, read from the crew array
that the credits response already carries. A series has no single director,
so the one behind most episodes stands in.

Drop with_cast from the starring query: TMDB ANDs it with with_people, so
every director link would have resolved to an empty list.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-04 19:46:51 +03:00
nerandClaude Opus 4.8 a25252c66d fix: cap hls.js buffers so constrained TV browsers survive seeks
LG webOS (and similar TV browsers) hang when seeking 4K HEVC: hls.js
keeps a large back-buffer and the seek-time flush/re-append spikes
memory past what the TV can handle. Pass a conservative hls.js config
(short backBufferLength, capped max buffer length/size) via the Vidstack
HLS provider; still ample for desktop playback.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-31 16:31:10 +03:00
nerandClaude Opus 4.8 def565cf3b fix: set crossOrigin on the player so cross-origin HLS subtitles render
Vidstack loads text-track cues via JS; cross-origin subtitle tracks
(served by TorrServer on another origin) need the crossorigin attribute
on the media element to render. Also required for native HLS on iOS/TV
to use the cross-origin stream.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-31 15:55:46 +03:00
nerandClaude Opus 4.8 3538738bb9 feat: play MKV/HEVC in-browser via TorrServer -gst HLS with track selection
Route MKV/WebM/AVI through TorrServer's native /gst HLS (copy-mode: HEVC
kept, audio->AAC, keyframe-aligned segments with real duration + seeking)
and play MP4 directly. Add an audio-track menu sourced from /gst/probe
(switching reloads with &audio=N and resumes position), surface the HLS
subtitle tracks through the existing captions menu, and show the Play
button for every video container.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-31 14:28:52 +03:00
nerandClaude Sonnet 4.6 692f5ab4e3 fix: apply fetchpriority=high to the actual LCP carousel poster
The hero overlay only renders when the random-movie index is non-zero,
but the index atom defaults to 0 — so on a fresh load the LCP element
was actually the first Virtuoso carousel item, which lacked `priority`.
Track the initial index and mark only that item's poster as high
priority, covering both the index===0 and index!==0 first-paint paths.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-06 23:17:37 +03:00
nerandClaude Sonnet 4.6 07bbb576f6 perf: mark hero poster image as high fetch priority
Lighthouse flagged the LCP carousel poster for missing fetchpriority=high.
Adds a priority prop to Poster that emits the lowercase fetchpriority
attribute (untyped in this @types/react version, so React forwards it
through as a custom attribute) only on the eagerly-rendered hero image.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-06 23:08:32 +03:00
nerandClaude Sonnet 4.6 127a02f4e1 perf: target modern browsers and preconnect to the image CDN
Add a browserslist targeting evergreen browsers so autoprefixer skips
unnecessary vendor prefixes, and preconnect/dns-prefetch to
image.tmdb.org since poster/backdrop images are the LCP element on
most pages.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-06 22:51:59 +03:00
nerandClaude Sonnet 4.6 dec6560cf0 fix: don't spread dnd-kit attributes onto sortable tab triggers
useSortable's `attributes` (role="button", tabIndex, aria-pressed) were
overriding Radix Tabs.Trigger's own role="tab" and roving-tabindex
management, producing an invalid ARIA tab/role combination that
regressed the accessibility audit. `listeners` alone (onPointerDown /
onKeyDown) is sufficient to drive the drag — the trigger is already a
properly accessible, focusable element.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-06 22:32:06 +03:00
nerandClaude Sonnet 4.6 b31bd062e2 feat: drag-to-reorder torrent provider tabs with localStorage persistence
Lets users customize the order of YTS / Pirate Bay / Toloka tabs in the
torrent search modal via drag-and-drop; the saved order also determines
which provider opens by default. dnd-kit is isolated to the modal's
lazily-loaded chunk so it doesn't affect the main bundle.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-06 22:20:19 +03:00
Hryvenko Ihor fef5838a23 fix: handle stream link 2026-05-01 22:51:08 +03:00
Hryvenko Ihor d7e4d07497 fix: handle stream link 2026-05-01 22:46:59 +03:00
Hryvenko Ihor 88c5410945 fix: handle stream link 2026-05-01 22:46:37 +03:00
Hryvenko Ihor 067c4a65ef fix: handle stream link 2026-05-01 22:32:33 +03:00
Hryvenko Ihor c34f8fd3d0 fix: m3u emitter for safari 2026-05-01 22:26:00 +03:00
Hryvenko Ihor 7b5420a989 fix: handle stream link 2026-05-01 13:50:44 +03:00
Hryvenko IhorandClaude Opus 4.7 c77dcf913d feat(torrents): pass show metadata to m3u stream request
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-01 12:30:04 +03:00
ner f447cf3423 fix: new address for yts provider 2025-12-13 20:16:46 +02:00
ner f790cfef2a fix: prevent new tab from being focused 2025-08-31 16:35:06 +03:00
ner cc3a83d767 fix: prevent new tab from being focused 2025-08-30 13:58:02 +03:00
ner bd708ff8a5 fix: vlc icon changed 2025-08-24 13:21:36 +03:00
ner b6bef36e82 feat: added vlc play button 2025-08-23 23:01:25 +03:00
ner 3460041115 feat: added m3u handler support 2025-08-23 21:44:57 +03:00
ner f78af76da5 feat: safari autoplay 2025-08-17 20:40:34 +03:00
ner 2e16746a40 feat: alt player 2025-08-17 18:31:42 +03:00
ner 6fc34e3797 feat: video format restrictions 2025-08-15 18:42:49 +03:00
ner 82c14c1d5c feat: added download status 2025-08-14 21:38:24 +03:00
ner cd3fabc0d8 feat: customer's torrent streamer can be set 2025-08-14 14:29:30 +03:00
ner 0f5c73c183 fix: favourites pages -> clien side 2025-07-19 12:16:35 +03:00
ner 09e959d3d4 chore: update node to v22 2025-07-19 12:04:05 +03:00
ner 18156324ad fix: title 2024-12-07 23:18:30 +02:00
ner ee5e457db7 fix: preview layout for small screens 2024-12-07 15:39:56 +02:00
ner 3615d5538d fix: titles 2024-11-19 14:44:17 +02:00
ner c7dd7eff19 fix: show in new tab 2024-11-17 21:14:58 +02:00
ner 74bfe5726e fix: preview layout 2024-11-16 20:36:50 +02:00
ner ca40872b98 feat: show page meta 2024-11-16 19:23:21 +02:00
ner c550f1e29e feat: open show in new tab 2024-11-16 19:16:55 +02:00
ner 063a2494ae feat: show page meta 2024-11-16 18:50:18 +02:00
ner bbae7abaf5 fix: auth retry 2024-11-16 15:43:37 +02:00
ner fbbd7b52e3 fix: authorization 2024-11-11 19:32:52 +02:00
ner a3fb95eca1 fix: robots.txt 2024-11-07 20:14:12 +02:00
ner ef6223ff03 fix: robots.txt 2024-11-07 20:07:52 +02:00
ner a2c5ba5184 fix: poster aspect ratio 2024-11-07 17:27:20 +02:00
ner 6098de1e5c fix: show handlers 2024-11-07 17:12:57 +02:00
ner 418ab2cf15 fix: slide flickering 2024-11-07 17:00:45 +02:00
ner af942149af fix: prevent slider flickering 2024-11-07 12:56:43 +02:00
ner 183c7231a1 feat: show page 2024-11-06 22:12:19 +02:00
ner abe1c795a1 fix: removed SpeedInsights 2024-11-04 13:58:51 +02:00