TMDB Integration
import { Aside } from ‘@astrojs/starlight/components’;
TMDB provides trending and popular discovery jobs plus poster images. It is optional when another discovery source is configured.
Display Modes
Section titled “Display Modes”Without TMDB (List View)
Section titled “Without TMDB (List View)”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)
With TMDB (Poster Grid View)
Section titled “With TMDB (Poster Grid View)”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
Getting a TMDB API Key
Section titled “Getting a TMDB API Key”Step 1: Create a TMDB Account
Section titled “Step 1: Create a TMDB Account”- Go to themoviedb.org/signup
- Sign up for a free account
- Verify your email address
Step 2: Request an API Key
Section titled “Step 2: Request an API Key”- Once logged in, go to themoviedb.org/settings/api
- Click “Request an API Key”
- Select “Developer” when asked for the type of API key
- Fill out the application form:
- Application Name: Blockbusterr (or your preferred name)
- Application URL: Can use
http://localhost:9090or your deployment URL - Application Summary: Brief description (e.g., “Personal media automation tool”)
- Accept the terms and submit
Step 3: Copy Your API Key
Section titled “Step 3: Copy Your API Key”- Once approved, you’ll receive an API Key (v3 auth)
- Copy this key - you’ll need it for configuration
Step 4: Add to Configuration
Section titled “Step 4: Add to 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:
- Open
http://localhost:9090 - Go to Configuration tab
- Find the TMDB section
- Paste your API key
- Click Save
Via Environment Variable:
TMDB_API_KEY=your_api_key_hereStep 5: Restart Blockbusterr
Section titled “Step 5: Restart Blockbusterr”Restart the application to apply the changes:
docker restart blockbusterrVerifying TMDB Integration
Section titled “Verifying TMDB Integration”Test the Preview
Section titled “Test the Preview”- Go to the Jobs tab
- Click Preview on any job
- If configured correctly, you’ll see poster images
- If not configured, you’ll see a clean list view (both work fine!)
Check Logs
Section titled “Check Logs”Look for TMDB initialization messages:
docker logs blockbusterr | grep -i tmdbYou should see:
INFO TMDB API key configured - poster images enabledFeatures
Section titled “Features”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
Troubleshooting
Section titled “Troubleshooting”Posters Not Loading?
Section titled “Posters Not Loading?”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:
docker exec blockbusterr curl -s "https://api.themoviedb.org/3/configuration?api_key=YOUR_KEY"Should return JSON configuration data.
Check Logs:
docker logs blockbusterr | grep -i tmdbLook for error messages like:
- “Invalid API key”
- “TMDB API request failed”
- “Rate limit exceeded”
Rate Limiting
Section titled “Rate Limiting”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)
Prefer List View?
Section titled “Prefer List View?”If you prefer the list view over posters:
- Remove the API key from configuration
- Or set it to an empty string:
tmdb: api_key: ""The application automatically switches to list view mode when TMDB is not configured.
Configuration Options
Section titled “Configuration Options”tmdb: api_key: "your_api_key_here" # TMDB API key (optional)Privacy & Data
Section titled “Privacy & Data”What Data is Sent?
Section titled “What Data is Sent?”When TMDB is configured, Blockbusterr sends:
- TMDB IDs (for movies)
- TVDB IDs (for TV shows)
- Your API key (authentication)
What Data is Received?
Section titled “What Data is Received?”Blockbusterr receives:
- Poster image URLs
- Backdrop image URLs (not currently used)
Data Storage
Section titled “Data Storage”- 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
Alternative: No TMDB
Section titled “Alternative: No TMDB”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.
TMDB API Documentation
Section titled “TMDB API Documentation”For more information about TMDB API:
Next Steps
Section titled “Next Steps”- Learn about Job Previews
- Configure your first job
- Explore other integrations