Release v1.0.13: fix TheTVDB match crash and improve stability.

Emit plain tuples across thread boundaries, prevent overlapping match workers, scope episode comparisons by season, and cap API pagination.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Bulk Renamer
2026-07-03 20:40:44 -05:00
co-authored by Cursor
parent 445e24ecae
commit 64d7a30328
5 changed files with 89 additions and 41 deletions
+2 -1
View File
@@ -206,8 +206,9 @@ class TvdbClient:
"""Fetch episodes; optional translated titles via language code (e.g. eng)."""
episodes: list[TvdbEpisode] = []
page = 0
max_pages = 50
use_api_season = season is not None and not language
while True:
while page < max_pages:
params: dict[str, Any] = {"page": page}
if use_api_season:
params["season"] = season