Skip to content

Conversation

@Teagan42
Copy link
Contributor

@Teagan42 Teagan42 commented Oct 7, 2025

What

  • allow the query-media tool to accept similar_to identifiers provided as Plex rating keys, IMDb/TMDb IDs, or titles
  • document the expanded identifier support and cover integer inputs with new tests
  • bump the project version to 2.0.12 to reflect the updated behavior

Why

  • the media query tool must resolve similarity requests when callers provide rating keys or TMDb IDs as raw integers in addition to strings

Affects

  • mcp_plex/server/tools/media_library.py
  • automated server tool tests and version metadata

Testing

  • uv run ruff check .
  • uv run pytest

Documentation

  • Updated the similar_to parameter description for the query-media tool

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

@github-actions
Copy link

github-actions bot commented Oct 7, 2025

Coverage

Coverage Report
FileStmtsMissCoverMissing
mcp_plex/loader
   __init__.py1821194%139, 209, 323–325, 327, 416–435
   qdrant.py198299%338–343
   samples.py41393%55–57
mcp_plex/loader/pipeline
   enrichment.py5207586%234, 255–261, 314, 319, 350, 352, 359, 361, 461, 482, 502, 510–512, 515–519, 522–524, 532–537, 545, 596–597, 621, 679–680, 696, 723, 730, 732, 736, 788, 806, 818, 847, 853, 856–864, 890, 893–895, 912–914, 934–937, 941, 955–959, 981, 983, 986–988
   ingestion.py1551392%82, 133–153, 188, 225, 241, 334, 340, 358
   orchestrator.py95595%60, 136, 165, 188–189
   persistence.py130993%123, 165–166, 174, 185, 189–191, 240
mcp_plex/server
   __init__.py3511297%201, 263, 281–282, 290, 365, 459, 489, 508, 515, 534, 647
   cli.py62198%73
   config.py82199%59
   media.py2232191%159–165, 174–177, 215–222, 245, 279, 285, 291, 309–310
mcp_plex/server/tools
   media_library.py3371296%203, 576, 674, 693, 744, 795, 866, 956–960
TOTAL290716594% 

Tests Skipped Failures Errors Time
196 0 💤 0 ❌ 0 🔥 1m 17s ⏱️

@Teagan42 Teagan42 merged commit 730a5aa into main Oct 7, 2025
4 checks passed
@Teagan42 Teagan42 deleted the codex/update-query_media-tool-for-similar_to branch October 22, 2025 22:32
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