Repository navigation
feat(series): seasons by their TMDB name, a toggle per series - #98
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
seasonstable to store season numbers and their custom names per series (migration 0013_season_names);tracked_series.named_seasonscolumn for the toggle (migration 0014_named_seasons)Seriesinterface withseasonNamesmap;TrackedSeries.namedSeasonsDrizzleCatalogRepositoryto persist and retrieve season names alongside episodesnamed_seasonscolumnseriestool returns season names and the toggleImplementation Details
seasonNamesmap is keyed by season number for efficient lookup🤖 Generated with Claude Code
https://claude.ai/code/session_01MqWWDVUrBRBWJQpmfke2gN