# Meta

This section documents the **metadata provider modules** under `providers/metadata/`.

They power **Settings → Metadata** in the UI.

They are separate from auth and sync modules.

{% tabs %}
{% tab title="End users" %}

### What a metadata provider does

Each metadata provider handles:

* looking up stable IDs (TMDb IDs, plus extra IDs when available)
* normalizing titles/years for matching
* building image URLs (posters, backdrops)
* caching results to avoid rate limits

### Where the TMDb key lives

Metadata reads the TMDb API key from:

* `tmdb.api_key` (preferred)
* `metadata.tmdb_api_key` (fallback/compat)

### Common behavior

* cache TTL is controlled by `metadata.ttl_hours`
* cache is **in-memory** (per process)

### Gotchas

* Missing API key causes provider errors.
* Restarts flush the cache.
* TMDb rate limits (HTTP 429) slow lookups and matching.
  {% endtab %}

{% tab title="Power users" %}

### Key files in this section

* [registry](/blueprint-architecture/meta/registry.md)

### Provider modules

* [\_meta\_TMDB](/blueprint-architecture/meta/_meta_tmdb.md)
  {% endtab %}
  {% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.crosswatch.app/blueprint-architecture/meta.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
