Skip to content

TMDB Integration

import { Aside } from ‘@astrojs/starlight/components’;

TMDB (The Movie Database) integration provides high-quality poster images for the job preview feature. The TMDB API key is completely optional - without it, you’ll see a clean list view instead.

When no TMDB API key is configured, the preview shows a simple, clean list with:

  • Title, year, and rating
  • Popularity metrics
  • Genre information
  • Status badges (NEW/EXISTS/FILTERED)

When TMDB is configured, you get beautiful poster images:

  • High-quality movie and TV show posters (500px width)
  • Visual grid layout
  • Hover effects and details
  • Automatic fallback to styled placeholders if a poster is unavailable
  1. Go to themoviedb.org/signup
  2. Sign up for a free account
  3. Verify your email address
  1. Once logged in, go to themoviedb.org/settings/api
  2. Click “Request an API Key”
  3. Select “Developer” when asked for the type of API key
  4. Fill out the application form:
    • Application Name: Blockbusterr (or your preferred name)
    • Application URL: Can use http://localhost:9090 or your deployment URL
    • Application Summary: Brief description (e.g., “Personal media automation tool”)
  5. Accept the terms and submit
  1. Once approved, you’ll receive an API Key (v3 auth)
  2. Copy this key - you’ll need it for configuration

Add the API key to your Blockbusterr configuration:

Via Configuration File:

Edit config/config.yaml:

tmdb:
api_key: "your_api_key_here"

Via Web UI:

  1. Open http://localhost:9090
  2. Go to Configuration tab
  3. Find the TMDB section
  4. Paste your API key
  5. Click Save

Via Environment Variable:

Terminal window
TMDB_API_KEY=your_api_key_here

Restart the application to apply the changes:

Terminal window
docker restart blockbusterr
  1. Go to the Jobs tab
  2. Click Preview on any job
  3. If configured correctly, you’ll see poster images
  4. If not configured, you’ll see a clean list view (both work fine!)

Look for TMDB initialization messages:

Terminal window
docker logs blockbusterr | grep -i tmdb

You should see:

INFO TMDB API key configured - poster images enabled

With TMDB integration enabled:

  • High-Quality Posters: 500px width images from TMDB
  • Visual Grid: Clean poster grid layout with hover effects
  • Automatic Caching: Poster URLs cached for faster loading
  • Graceful Fallback: Styled placeholders if poster unavailable
  • No Performance Impact: Fetched asynchronously, doesn’t slow down jobs

Check API Key:

  • Verify it’s correctly entered in configuration
  • Ensure no extra spaces or quotes
  • Try copying the key again from TMDB

Check Network Access:

Terminal window
docker exec blockbusterr curl -s "https://api.themoviedb.org/3/configuration?api_key=YOUR_KEY"

Should return JSON configuration data.

Check Logs:

Terminal window
docker logs blockbusterr | grep -i tmdb

Look for error messages like:

  • “Invalid API key”
  • “TMDB API request failed”
  • “Rate limit exceeded”

TMDB has rate limits:

  • 40 requests per 10 seconds
  • 1000 requests per day (for free accounts)

Blockbusterr respects these limits and caches aggressively to minimize API calls.

If you hit rate limits:

  • Reduce preview frequency
  • Consider upgrading to TMDB paid tier (not usually necessary)

If you prefer the list view over posters:

  1. Remove the API key from configuration
  2. Or set it to an empty string:
tmdb:
api_key: ""

The application automatically switches to list view mode when TMDB is not configured.

tmdb:
api_key: "your_api_key_here" # TMDB API key (optional)

When TMDB is configured, Blockbusterr sends:

  • TMDB IDs (for movies)
  • TVDB IDs (for TV shows)
  • Your API key (authentication)

Blockbusterr receives:

  • Poster image URLs
  • Backdrop image URLs (not currently used)
  • Poster URLs are cached in the local database
  • No personal data is sent to TMDB
  • TMDB cannot see what you’re adding to your library

You don’t need TMDB to use Blockbusterr. The list view provides all the same functionality:

List View Includes:

  • ✅ Title and year
  • ✅ Rating and votes
  • ✅ Popularity metrics
  • ✅ Genres
  • ✅ Runtime
  • ✅ Overview/description
  • ✅ Status badges (Will Add / Exists / Filtered)
  • ✅ Filter reasons

The only difference is visual - no poster images.

For more information about TMDB API: