Skip to content

feat(series): seasons by their TMDB name, a toggle per series - #98

Merged
mathieuletyrant merged 2 commits into
mainfrom
claude/lucid-clarke-qsky35
Nov 9, 2026
Merged

mathieuletyrant merged 2 commits into
mainfrom
claude/lucid-clarke-qsky35

Conversation

@mathieuletyrant

@mathieuletyrant mathieuletyrant commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

BEGIN_COMMIT_OVERRIDE
feat(series): seasons by their TMDB name ("Arc East Blue"), a toggle per series
END_COMMIT_OVERRIDE

Summary

Add support for storing and displaying custom season names from TMDB (e.g., "Arc East Blue" for One Piece Season 1). Previously, only generic "Season N" labels were shown. A per-series "Season names" toggle, independent of Absolute numbering, turns them on.

Changes

  • Database: New seasons table to store season numbers and their custom names per series (migration 0013_season_names); tracked_series.named_seasons column for the toggle (migration 0014_named_seasons)
  • Domain: Extended Series interface with seasonNames map; TrackedSeries.namedSeasons
  • TMDB Client: Extract season names from TMDB API responses and handle cases where TMDB repeats the season number in the name
  • Repository: Updated DrizzleCatalogRepository to persist and retrieve season names alongside episodes
  • UI: "Season names" toggle on the series page (shown only when TMDB names a season); season headers use the name when it is on, falling back to "Season N"
  • CSV Export/Import: named_seasons column
  • MCP: the series tool returns season names and the toggle
  • Documentation: Glossary entry "Named seasons"

Implementation Details

  • Season names are only stored when they differ from the default "Season N" format (TMDB sometimes includes the number redundantly)
  • The seasonNames map is keyed by season number for efficient lookup
  • Season names are refreshed on each catalog update, replacing previous values

🤖 Generated with Claude Code

https://claude.ai/code/session_01MqWWDVUrBRBWJQpmfke2gN

TMDB names some seasons ("S01 - Arc East Blue" for One Piece). Snug now keeps
those names (without the repeated "S01 - ", English when untranslated, none for a
plain "Season 2") and shows them as the season title when the Series uses Absolute
numbering; SxxEyy series keep "Season 1". The MCP series tool returns them too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MqWWDVUrBRBWJQpmfke2gN
Season names no longer ride on Absolute numbering: a second per-series toggle,
"Season names", titles seasons by their TMDB name ("Arc East Blue"). It shows
only when TMDB names at least one season, is kept per User and Series, and goes
through the CSV Export and Import (named_seasons column) and the MCP series tool.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MqWWDVUrBRBWJQpmfke2gN
@mathieuletyrant
mathieuletyrant merged commit 9431de3 into main Nov 9, 2026
1 check passed
@mathieuletyrant mathieuletyrant changed the title Store and display custom season names from TMDB feat(series): seasons by their TMDB name, a toggle per series Nov 9, 2026
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