2026-10-04 17:19:24 +00:00
2026-01-10 15:33:36 +01:00
2026-09-13 15:56:06 +02:00
2026-07-14 16:01:30 +02:00
2026-02-08 15:29:20 +01:00
2026-02-08 15:29:20 +01:00
2026-09-13 15:56:06 +02:00
2026-09-13 15:56:06 +02:00
2026-09-13 15:56:06 +02:00
2026-01-10 15:33:36 +01:00
2026-09-13 15:56:06 +02:00

MetaMesh Plugin: TMDB

A MetaMesh plugin that fetches metadata from The Movie Database (TMDB) API.

Description

This plugin enriches video metadata by querying the TMDB API:

  • Search by IMDB ID: Uses existing IMDB ID for precise matching
  • Search by title: Falls back to title/year search
  • Image download: Downloads poster and backdrop images to /files/plugin/tmdb/
  • Alternative posters: Lists up to 10 posters (the primary plus the best-voted alternatives, as url locator CIDs — nothing extra is downloaded)
  • Rich metadata: Fetches plot, rating, genres, studios

Note: This runs on the background queue as it makes external API calls.

Metadata Fields

Field Description
tmdbid TMDB ID
imdbid IMDB ID
title Localized title
originalTitle Original title
movieYear Release year
releasedate Full release date
rating Vote average
plot/eng English plot synopsis
poster Poster image CID
posters/{lang3}/{cid} Alternative posters key-set, poster among them (METADATA_KEYS.md §6)
backdrop Backdrop image CID
genres Genre set
studio Production company set

Dependencies

  • Requires file-info and filename-parser plugins
  • Optional: jellyfin-nfo (provides IMDB IDs from NFO files for better matching)

Configuration

Field Type Required Description
apiKey string Yes TMDB API key or v4 bearer token
language select No Metadata language (default: en-US)

API Endpoints

Endpoint Method Description
/health GET Health check
/manifest GET Plugin manifest
/configure POST Update configuration (API key)
/process POST Process a file

Running Locally

npm install
npm run build
npm start

Docker

Build the image for the dev stack:

# From the plugin directory
docker build -t metamesh-plugin-tmdb:main .

# Restart the plugin container (if already running)
docker restart meta-plugin-tmdb-0

Run standalone:

docker run -p 8080:8080 metamesh-plugin-tmdb:main

Environment Variables

Variable Default Description
PORT 8080 HTTP server port
HOST 0.0.0.0 HTTP server host
FILES_PATH /files Base path for image downloads

License

MIT

S
Description
No description provided
Readme
125 KiB
Languages
TypeScript 98.7%
Dockerfile 1.3%