Skip to content

TMDB Integration

The TMDB integration connects movie information across Film Diary and Lists, Targets & Types. I can follow a film into its credits, see which lists contain it, and check which work by an actor or director I’ve watched. The same IDs connect each part.

Movie pages bring together posters, trailers, streaming listings, credits, and release details. Person and television pages use the same foundation. Writing credits are grouped into roles such as screenplay, story, novel, and characters, rather than presenting every credit as the same job.

Movie Page Interface

Finding familiar faces

Recognizing a face in a film is often what sends me here. “Jimmy’s Seen” matches a person’s acting, writing, and directing credits to my watch history and shows the films, dates, and rewatches.

The Known For selection filters self-credits and incidental television appearances. A single Saturday Night Live appearance should not outweigh a substantial film role.

Jimmy's Seen Section

Movie pages also connect back to the curated lists. The 2025 writeup recorded Fight Club on 12 lists; opening a list appearance leads back to the collection. Those counts come from the imported data and change as it is updated.

Movie Lists Section

Sharing a film

When I text my mom a recommendation such as /tmdb/550, the title, description, and poster can appear in the message preview. Opening it brings her to the overview, trailer, viewing information, and my watch history on the site.

Caching and traffic

Early live-request pages ran into trouble when crawlers began visiting thousands of URLs and multiplying the API calls. Pages timed out, and I temporarily shut them down while working through caching, PHP checks, Apache rules, and later Turnstile.

The current movie-detail flow uses cached data rather than a live fallback for every visit. Shared PHP helpers keep the API key server-side, while stored JSON supplies the links between watch history, credits, and curated lists.