Using the posters in Plex
Plex can show your Formula 1 library with a poster for every season, a poster for every race weekend and a picture for every session. A free helper called Kometa puts them there for you, and keeps them up to date. This guide takes you through it one step at a time.
What you will get
The Library page shows a whole library this way, season by season.
What you need
- Plex Media Server, and the Plex Web App open in your browser.
- Your Formula 1 videos, in folders as step 1 shows.
- A computer to run Kometa on. It can be the computer Plex runs on. Kometa has no window of its own: you set it up by filling in one text file and starting it with one command.
- A free account at The Movie Database (TMDb). Kometa always asks for its key, even though this guide does not use it.
1. Put your videos in folders
Kometa's Formula 1 guide shapes the library like this. Plex calls the levels show, season and episode:
- Every Formula 1 season is a show, in a folder named
Season 2025. Keep that name: the pictures are matched to the show by it. - Every race weekend is a season of that show, in a folder that starts with its round:
23 - Qatar GP. Plex numbers it by the round. - Every session is an episode: one file, named with the round, the episode number and the
session, such as
23x12 - Qatar GP - Race Session.mkv.
Formula 1 ← the library's folder
└── Season 2025 ← a show: the 2025 season
├── 01 - Australian GP ← a season of the show: round 1
│ ├── 01x01 - Australian GP - Free Practice 1.mkv
│ ├── 01x05 - Australian GP - Qualifying Session.mkv
│ └── 01x08 - Australian GP - Race Session.mkv
└── 23 - Qatar GP ← round 23, a sprint weekend
├── 23x06 - Qatar GP - Sprint Race Session.mkv
└── 23x12 - Qatar GP - Race Session.mkv
Which episode number is which session
The pictures go to the episodes by their number. A sprint weekend has more sessions, so its numbers differ:
| Episode | Standard weekend | Sprint weekend |
|---|---|---|
| 1 | Free Practice 1 | Free Practice 1 |
| 2 | Free Practice 2 | Pre-Sprint-Qualifying Buildup |
| 3 | Free Practice 3 | Sprint Qualifying |
| 4 | Pre-Qualifying Buildup | Post-Sprint-Qualifying |
| 5 | Qualifying | Pre-Sprint Buildup |
| 6 | Post-Qualifying | Sprint |
| 7 | Pre-Race Buildup | Post-Sprint |
| 8 | Race | Pre-Qualifying Buildup |
| 9 | Post-Race | Qualifying |
| 10 | Highlights | Post-Qualifying |
| 11 | Pre-Race Buildup | |
| 12 | Race | |
| 13 | Post-Race | |
| 14 | Highlights | |
| 15 | Bonus Content |
2. Make the Formula 1 library in Plex
The library needs Plex's Personal Media Shows agent. An agent is the part of Plex that looks up titles and pictures; this one does not look your videos up on the internet, which suits recordings no online database lists. Since Plex Media Server 1.43.0, Plex hides it when you make a new library unless one setting is on.
- In the Plex Web App, open Settings and choose your server.
- Choose Library, turn on Show Legacy Agent during library set up, and save the change. (An older Plex Media Server does not have this setting and shows the agent anyway.)
- Under Manage, choose Libraries, then Add Library.
- Choose TV Shows and name the library, for example
Formula 1. Note the exact name: you will type it in step 4. - Add the folder that holds your season folders (
Formula 1in the example above). - Choose Advanced, and under Agent choose Personal Media Shows (Legacy).
- Finish adding the library.
You should see: one show per season folder, such as “Season 2025”, and inside it one season per race weekend.
Already have a Formula 1 library with another agent? Plex's page on agents shows how to change it, and says the change applies only to videos added after it.
3. Install Kometa
- Open Kometa's installation walkthrough and choose the computer you will run it on. Kometa recommends its Docker version unless you already use Python.
- Follow it until it asks for three things, and gather them as it says:
- Your Plex address: the address that computer uses to reach Plex directly, such as
http://192.168.1.12:32400. Not app.plex.tv. - Your Plex token, a password for programs: in the Plex Web App, open any video's
⋯ menu, choose Get Info, then the XML link at the bottom
(Plex's
page). The token is the part after
X-Plex-Token=in the address of the page that opens. - Your TMDb key: sign in at themoviedb.org, open Settings from your account menu, choose API and request a key. If it shows two keys, use the v3 one.
- Your Plex address: the address that computer uses to reach Plex directly, such as
- Make the file
config.ymlas the walkthrough shows, with your Plex address, Plex token and TMDb key in it. Then come back here for itslibrariespart.
4. Point Kometa at the Formula 1 file
One file on this site tells Kometa which picture goes on which season, race weekend and session, for every season from 1950 on.
- Open
config.ymlin a plain text editor, such as Notepad on Windows or TextEdit on a Mac. - Replace its
libraries:part with the lines below. If it already lists libraries of your own, keep them and add theFormula 1:lines under them.libraries: Formula 1: metadata_files: - url: https://f1-circuits.zurag.be/kometa/formula-1-metadata.yml - Change
Formula 1to your library's exact name in Plex, if you named it otherwise. - Keep the spaces at the start of each line as shown: two per level. Kometa reads the levels from them.
- Save the file. The
plex:andtmdb:parts stay as you filled them in.
5. Run Kometa once
Type the command for the way you installed Kometa, in the window the walkthrough had you use:
- Kometa with Python, from its folder:
uv run python kometa.py --run - Kometa with Docker (put the full path of the folder that holds
config.ymlin place ofFULL_PATH_TO_CONFIG):docker run --rm -it -v "FULL_PATH_TO_CONFIG:/config:rw" kometateam/kometa --run - Kometa with Docker Compose, from the folder that holds
compose.yml:docker compose run --rm kometa --run
Kometa writes what it does as it goes. Let it finish: the first time it sets a picture on every season, race weekend and session it finds, so it takes a while.
You should see: Kometa connect to TMDb and to Plex, work through your Formula 1 library, and end. In Plex, after reloading the page, every season, race weekend and session has its picture.
6. Keep it up to date
Leave Kometa running in its normal way, without --run: the part “Scheduling and updates” of the
walkthrough shows how for your installation. Then it
runs by itself once a day, at 05:00 unless you change it. Each time it reads the Formula 1 file again, so a new
race weekend gets its pictures.
When the pictures get a new look, the file names new addresses for them, and Kometa puts the new pictures in on its next run. A picture it has already put in is not sent again. To get a new look at once, run step 5 again.
If it doesn't work
- Nothing changed in Plex. Open the newest
meta.login thelogsfolder next toconfig.yml, and read the lines marked CRITICAL, then ERROR. - Kometa does not work on the library. The name under
libraries:must be the library's name in Plex, letter for letter. - A season gets no pictures. Its show must be called exactly
Season 2025(with its own year) in Plex. - A race poster sits on the wrong race weekend. In Plex, each race weekend's season number must be its round. Check the number at the start of its folder.
- A thumbnail sits on the wrong session. Check the episode numbers against the table in step 1: a sprint weekend is numbered differently from a standard one.
- Pictures stay empty. Plex fetches every picture from this site, so the computer Plex runs on
must reach
https://f1-circuits.zurag.be. Open a poster in a browser on that computer to check. - Kometa's own help page explains its messages.
For the technically minded
- The file is /kometa/formula-1-metadata.yml,
a Kometa metadata file, explained on the Kometa page. Per show
(
"Season 2025") it setsf1_season,round_prefix,shorten_gpand the season poster asurl_poster; per season of the show (a round) the race poster; per episode the session thumbnail. It covers every season from 1950 to next year; Kometa skips what the library does not hold. The first request after the service starts can take minutes: it reads every season's schedule from Jolpica. - Every address in it carries the address version,
?v=a1. Such an address is kept by clients for good; the version is raised when the look changes, which gives every picture a new address. Kometa (with its cache on, the default) sets a poster only when its address differs from the one it set last, so the raise is what brings a new look in. - The pictures are three routes, each a plain
GET:/posters/season/{season}.png,/posters/race/{race name}/{season}.pngand/posters/session/{race name}/{season}/{session}.png. A race name is Jolpica's, with its spaces and other characters encoded:Qatar%20Grand%20Prix,S%C3%A3o%20Paulo%20Grand%20Prix. - They take options such as
style=minimal,bg=photo,width=600andformat=jpg. Try every option in the poster builder; all of them are listed in the API reference. The file uses the default look. For another look, save a copy of the file, add your options to its addresses, and give Kometa that copy with a- file:line in place of the- url:line (Kometa's page on files); your copy then no longer takes in new races by itself.