From 8769f678b185a104e21a5faa10e39cebc64a1cfc Mon Sep 17 00:00:00 2001 From: imSp4rky Date: Sun, 12 Jul 2026 07:34:47 -0600 Subject: [PATCH] fix(tags): point IMDbApi provider at api.tiffara.com (IMDxAPI) Upstream migrated the free IMDxAPI from imdbapi.dev to api.tiffara.com. Endpoints and JSON schema are unchanged, so only BASE_URL and the user-facing docs/docstrings needed updating. --- docs/reference/configuration.md | 4 ++-- unshackle/core/providers/imdbapi.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/reference/configuration.md b/docs/reference/configuration.md index 7f8366ed..af0e422e 100644 --- a/docs/reference/configuration.md +++ b/docs/reference/configuration.md @@ -748,8 +748,8 @@ All default to an empty string and enable optional metadata/geolocation features | Key | Type | Default | Description | |-----|------|---------|-------------| -| `imdb_api_enabled` | bool | `false` | Use the free imdbapi.dev metadata provider, which needs no API key. Off by default since the site has been unreliable. | -| `omdb_api_key` | str | `""` | [OMDb](https://www.omdbapi.com/) API key for IMDb metadata lookups; a more reliable alternative to imdbapi.dev. Free keys are available on the OMDb site. | +| `imdb_api_enabled` | bool | `false` | Use the free IMDxAPI (api.tiffara.com) metadata provider, which needs no API key. Off by default since the site has been unreliable. | +| `omdb_api_key` | str | `""` | [OMDb](https://www.omdbapi.com/) API key for IMDb metadata lookups; a more reliable alternative to IMDxAPI. Free keys are available on the OMDb site. | | `tmdb_api_key` | str | `""` | TMDB API key for metadata enrichment and external-ID tags. | | `simkl_client_id` | str | `""` | SIMKL client ID for metadata lookups; an alternative/fallback source to TMDB. | | `decrypt_labs_api_key` | str | `""` | Global Decrypt Labs API key (used by remote CDM / vault). | diff --git a/unshackle/core/providers/imdbapi.py b/unshackle/core/providers/imdbapi.py index 38616421..b57bbd95 100644 --- a/unshackle/core/providers/imdbapi.py +++ b/unshackle/core/providers/imdbapi.py @@ -8,7 +8,7 @@ import requests from unshackle.core.config import config from unshackle.core.providers._base import ExternalIds, MetadataProvider, MetadataResult, _clean, fuzzy_match -# Mapping from our kind ("movie"/"tv") to imdbapi.dev title types +# Mapping from our kind ("movie"/"tv") to IMDxAPI title types KIND_TO_TYPES: dict[str, list[str]] = { "movie": ["movie"], "tv": ["tvSeries", "tvMiniSeries"], @@ -16,11 +16,11 @@ KIND_TO_TYPES: dict[str, list[str]] = { class IMDBApiProvider(MetadataProvider): - """IMDb metadata provider using imdbapi.dev (free, no API key).""" + """IMDb metadata provider using IMDxAPI (api.tiffara.com, free, no API key).""" NAME = "imdbapi" REQUIRES_KEY = False - BASE_URL = "https://api.imdbapi.dev" + BASE_URL = "https://api.tiffara.com" def is_available(self) -> bool: return config.imdb_api_enabled