Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/pyproject.deps.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "mcp-plex"
version = "2.0.6"
version = "2.0.7"
requires-python = ">=3.11,<3.13"
dependencies = [
"fastmcp>=2.11.2",
Expand Down
1 change: 1 addition & 0 deletions mcp_plex/loader/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ async def _process_imdb_retry_queue(
def _persist_imdb_retry_queue(path: Path, queue: IMDbRetryQueue) -> None:
"""Persist the retry queue to disk."""

path.parent.mkdir(parents=True, exist_ok=True)
path.write_text(json.dumps(queue.snapshot()))


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "mcp-plex"
version = "2.0.6"
version = "2.0.7"

description = "Plex-Oriented Model Context Protocol Server"
requires-python = ">=3.11,<3.13"
Expand Down
3 changes: 2 additions & 1 deletion tests/test_loader_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,10 +358,11 @@ def test_imdb_retry_queue_desync_errors():


def test_persist_imdb_retry_queue_writes_snapshot(tmp_path):
path = tmp_path / "retry.json"
path = tmp_path / "nested" / "dirs" / "retry.json"
queue = IMDbRetryQueue(["tt1"])
_persist_imdb_retry_queue(path, queue)
assert json.loads(path.read_text()) == ["tt1"]
assert path.exists()


def test_ensure_collection_skips_existing():
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.