Metadata Providers
Dubby enriches your media with artwork, descriptions, cast & crew, and genre information from external metadata providers.
TMDB (The Movie Database)
Section titled “TMDB (The Movie Database)”TMDB is the primary metadata provider. It supplies:
- Posters — Portrait artwork (2:3 ratio)
- Backdrops — Landscape artwork (16:9 ratio)
- Logos — Transparent title treatments
- Descriptions — Plot overviews in multiple languages
- Cast & crew — Actors, directors, writers with profile photos
- Genres — Genre classifications
- Ratings — Content ratings and audience scores
- Release dates — Per-country release information
Getting a TMDB API key
Section titled “Getting a TMDB API key”- Create a free account at themoviedb.org
- Go to Settings > API in your TMDB account
- Request an API key (select “Developer” for personal use)
- Copy the API Key (v3 auth) value
Configuration
Section titled “Configuration”Set the API key via environment variable:
TMDB_API_KEY=your-api-key-hereOr configure it in the Dubby admin UI under Settings > Metadata. The UI-configured value is stored in the database and takes effect immediately without restarting.
How matching works
Section titled “How matching works”During a library scan, each media item goes through a matching process:
- Parse the filename to extract title and year
- Search TMDB for the title (with year as a filter when available)
- Select the best match based on title similarity and year proximity
- Download artwork, descriptions, and metadata
Match statuses
Section titled “Match statuses”| Status | Meaning |
|---|---|
matched | Successfully matched to a TMDB entry |
pending | Waiting to be matched (queued) |
pending_retry | Match failed temporarily, will retry |
unmatched | No match found — requires manual matching |
manual | Manually matched by an admin |
Unmatched items appear in the admin dashboard for manual resolution. You can search TMDB and select the correct match.
Image handling
Section titled “Image handling”Image proxy
Section titled “Image proxy”TMDB images are downloaded and cached locally on the server. This means:
- Fast loading for all clients (no external CDN dependency)
- Images survive if TMDB is temporarily unavailable
- Consistent URLs for all clients
Images are cached in DUBBY_METADATA_CACHE_DIR (defaults to DUBBY_DATA_DIR/images).
Image sizes
Section titled “Image sizes”The server provides multiple sizes for each image type:
| Size | Use case |
|---|---|
small | Thumbnails, list views |
medium | Grid cards, search results |
large | Detail pages, hero sections |
original | Full resolution source |
Clients request the appropriate size for their display context.
Custom image selection
Section titled “Custom image selection”Admins can select alternative artwork for any media item:
- Open the media item’s detail page
- Click the artwork to open the image picker
- Browse available images from TMDB
- Select your preferred poster, backdrop, or logo
- Reset to the provider default at any time
Metadata editing
Section titled “Metadata editing”Admins can manually edit metadata fields for any media item:
- Title and sort title
- Overview/description
- Year
- Genres
- Content rating
Manual edits are preserved across library rescans. A full scan refreshes provider data but won’t overwrite manual edits.
Refreshing metadata
Section titled “Refreshing metadata”To update metadata from providers:
- Single item — Use the “Refresh metadata” option on the item’s detail page
- Full library scan — Triggers a metadata refresh for all items in the library
Metadata refresh is rate-limited to respect TMDB’s API limits.