AI recommendations for Plex: what works and what doesn't

Updated By Steven Adams

Where a language model helps with Plex recommendations, where it invents films you don't own, and how to run it locally with no API key.

A language model ranks and explains a list of candidates well. It is bad at producing the list: it suggests films you don’t own, under alternate titles, and sometimes films that don’t exist.

The failure everyone hits first

The obvious design is to dump the watch history into a prompt, ask for ten recommendations and create a collection from the answer.

The shape that works

Candidates come from your library, and the model ranks them.

  1. Take what the person watched and finished.
  2. Find similar titles through a metadata source (TMDB similarity, shared genres, keywords, cast, crew) or a service like Trakt.
  3. Filter to what is in your library and drop anything they have seen.
  4. Hand that shortlist to the model and ask it to pick the best ten and say why.

The model chooses from a list you control, so every pick exists. Its job is a sentence explaining why this film follows from that one.

Steps 1 to 3 need no AI. Shortlist also does step 4 in code, ranking the shortlist and writing the reason for each pick, so no model is needed.

Do you need an API key?

No. Without a model you still get personalised rows with a reason on every pick. A model adds web search for recent titles that TMDB misses, and AI rows you describe in your own words. Ranking and the reason for each pick are done in code.

Running a model locally

Ranking twenty candidates and writing ten short sentences is a small job. A modest local model on the same machine as your server is enough. The usual options are Ollama, llama.cpp, LM Studio, vLLM and LocalAI. They all answer requests the way OpenAI’s service does, so a tool built for OpenAI can usually be pointed at one by changing the web address.

The same setting covers hosted gateways that speak this API, such as ollama.com’s cloud and OpenRouter. Give the “Local / OpenAI-compatible” option the gateway’s address and its key. A server on your own network needs the address alone.

What it costs on a cloud provider

Cost depends on how many people you have, how many runs per night and how much goes in each prompt. Sending raw history instead of a summary, and rebuilding rows that haven’t changed, make it larger. AI and cost has figures and the settings that keep the bill down.

Shortlist does this for you

Shortlist builds each person's rows nightly from their own watch history and hides them from other accounts with share filters.

A finished run in Shortlist: the result, duration, people and privacy summary, then the picks built for sarah, each with the reason it was chosen, such as Because you watched drama like GoodFellas.
A nightly run: every row says which watch it follows, so a bad pick can be traced to the watch behind it.
docker run -d --name shortlist -p 5959:5959 \
  -e TZ=Etc/UTC -e PUID=1000 -e PGID=1000 \
  -v /path/to/shortlist/config:/config \
  --restart unless-stopped \
  ghcr.io/stevezau/shortlist:latest

Getting started

Edit this page on GitHub