Skip to content

Conversation

@Teagan42
Copy link
Contributor

What

  • map Plex episodes to TMDb seasons by name or air date when numeric indices differ
  • add air_date to TMDBSeason to support year-based mapping
  • test season-number resolution using TMDb season air dates

Why

  • fixes failed TMDb episode lookups when Plex uses year-indexed seasons like MythBusters

Affects

  • loader season resolution
  • TMDb season model
  • unit tests

Testing

  • uv run ruff check .
  • uv run pytest

Documentation

  • updated AGENTS.md architecture notes

https://chatgpt.com/codex/tasks/task_e_68c65d89ca6483288426656f49d14b9e

@github-actions
Copy link

Coverage

Coverage Report
FileStmtsMissCoverMissing
mcp_plex
   cache.py36489%22, 50–52
   imdb_cache.py20290%17–18
   loader.py2902292%33–35, 86, 99–100, 113, 120, 185, 201, 213, 453–455, 465, 468–472, 597, 852
   server.py2982293%59–60, 102–103, 226, 454, 458, 480–486, 518, 528, 559–560, 577–578, 601, 604–605, 663
TOTAL7695093% 

Tests Skipped Failures Errors Time
35 0 💤 0 ❌ 0 🔥 27.015s ⏱️

@Teagan42 Teagan42 merged commit 0bcef7e into main Sep 14, 2025
4 checks passed
@Teagan42 Teagan42 deleted the codex/add-tmdb-season-number-helper branch September 14, 2025 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants