-
Notifications
You must be signed in to change notification settings - Fork 1
TMDB Ratings and Metadata
TMDB integration adds a gold-star
rating (e.g. ★ 7.6) to movie programmes in the guide, and richer
poster/synopsis/rating/director overlays for on-demand video — off by
default, since it needs your own free API token.
Create a TMDB account, then under
Settings → API request an
API key (any use-case description is fine) and copy the API Read
Access Token — the long JWT-looking string, not the shorter "API
Key". That's the value --tmdb-api-token wants.
-
Guide ratings —
--tmdb-api-tokenadds a rating to movie programmes in the guide grid and details popup, matched by title/year against the programme's category. Fetched in background threads (never blocking guide rendering) and cached on disk for 30 days. TheTMDBattribution mark shown alongside every rating is required by TMDB's API terms. -
Director — the
ioverlay (compact banner, guide details popup, and the VOD info overlay) shows a movie's director when available. Some EPG feeds already tag this themselves (XMLTV's<credits><director>) — that's used directly, for free, with no token needed at all. Only when a feed doesn't provide one does--tmdb-api-tokenfall back to a TMDB lookup, and unlike the rating above, that fallback isn't bulk-fetched for the whole guide grid — only for whatever's currently shown in anioverlay, so a fresh view sometimes shows no director yet; reopening it picks it up once fetched. -
Local files & YouTube — a local video file
or YouTube video gets its full poster/synopsis/rating/
director from a TMDB lookup against its guessed/oEmbed title, the
same as any other VOD item's
ioverlay. See each page for exactly how the title guess/search works.
Plex never needs a TMDB token for its own metadata — it already has all of that from Plex's own library data.
Retyping --tmdb-api-token on every invocation gets old fast. Two
ways to save one instead, checked in this order:
-
Per bookmark — like the Xtream/Stalker/Plex credentials, stored
as plain text in
bookmarks.json, but fully masked (not just redacted) in the log file. Launching that bookmark applies its token the same as typing--tmdb-api-tokendirectly. -
A global default —
tvdinner store-tmdb TOKENapplies to every invocation that doesn't otherwise specify one, stored as plain text in~/.config/tvdinner/tmdb_token.json(%APPDATA%\tvdinner\tmdb_token.jsonon Windows; override with--tmdb-token-file).tvdinner clear-tmdbremoves it.
An explicit --tmdb-api-token (typed directly, or carried by a
launched bookmark) always overrides the global default.
If a cached rating/metadata entry ever looks wrong (a mismatched title, say):
-
--no-tmdb-cache— always query TMDB fresh, and don't write a cache either. -
--refresh-tmdb-cache— force one fresh lookup now for whatever's fetched this run, then resume normal caching after that.
-
Keybindings Reference —
iis the key that shows all of this.