Skip to content

feat(web): badge and title episode rows on the player page - #114

Merged
WarlaxZ merged 1 commit into
mainfrom
worktree-snug-brewing-haven
Sep 8, 2026
Merged

WarlaxZ merged 1 commit into
mainfrom
worktree-snug-brewing-haven

Conversation

@WarlaxZ

@WarlaxZ WarlaxZ commented Sep 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • The /play/ page's episode list ("up next" / "all episodes") showed raw filenames end to end, which meant reading through every torrent uploader's naming conventions just to tell episodes apart.
  • Each row now leads with a coloured S05E04-style badge (or S03 for a season-pack file with no episode number), and shows the episode's own title (e.g. "King of Hell") when the filename names one — falling back to the original full filename + size when nothing reliable can be extracted.
  • The list also gets a heading for the show/film itself (e.g. "The Boys"), pulled from the same parseRelease the breadcrumb already uses.

Test plan

  • npm test — all pass (3360 tests)
  • npm run typecheck — clean
  • npm run lint — only the known pre-existing App.tsx warning
  • npm run build — web bundle builds clean
  • New unit tests in upNext.test.ts covering badge formatting, episode-title extraction, the fallback path, and the show-title heading
  • Visually checked the rendered rows/badges/heading against a real season's episode names in a browser

The player page's episode list showed raw filenames end to end, which
meant reading every torrent-uploader's naming quirks just to tell one
row from the next. Each row now leads with a coloured S05E04-style
badge and, where the filename names one, the episode's own title —
falling back to the full filename when nothing extractable survives.
The list also gets a heading for the show/film itself.
@WarlaxZ
WarlaxZ merged commit 36eb041 into main Sep 8, 2026
6 checks passed
@WarlaxZ
WarlaxZ deleted the worktree-snug-brewing-haven branch September 8, 2026 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants