Kometa: metadata, collections and overlays for a Plex library
Python script to update metadata information for items in plex as well as automatically build collections and playlists. The Wiki Documentation is linked below.
At a glance
- What is it?
- Kometa is a Python tool that connects to Plex and third-party metadata services to rebuild collections, overlays and item metadata from configuration files. It suits Plex admins who want their customisations stored as text rather than in Plex's own database.
- Who is it for?
- Adopt Kometa if you run Plex, keep your library configuration in Git, and want collections and overlays rebuilt from files after any database loss. Do not adopt it if you use Jellyfin or Emby, or if you have no interest in maintaining YAML.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository received new commits within the last day.
- What is it written in?
- Mainly Python, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 24, 2026, and from our analysis. They are not legal advice.
Star history
- Kometa-Team/Kometa3,463 ★ · +43
| Repository | 2026-09-24 | 2026-11-24 |
|---|---|---|
| Kometa-Team/Kometa | 3.4k | 3.5k |
43 Stars in the last 61 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
The problem Kometa solves for a Plex library owner
Plex stores custom artwork, titles, summaries and collection membership inside its own database. That database is the single copy. If it is lost or rebuilt, the edits go with it, and moving a library to a new server means redoing the work by hand. Kometa moves that layer outside Plex. The README states that because metadata is managed outside your libraries, you never have to worry about losing your customisations in the event of a media server database loss, and that the same files let you move customisations between servers.
The second problem is repetition. Building a collection such as a director's filmography, or an overlay that stamps a resolution badge on every poster, is tedious through the Plex interface. Kometa connects to TMDb and IMDb, among others, so a collection definition can be a rule rather than a list of items you maintain by hand. The README frames the pre-made Kometa Defaults as modular files that remove the need to define each collection manually.
The audience is narrow and specific: someone running Plex who is comfortable editing YAML, holding API keys, and running a scheduled Python process. Kometa is not a media server and it does not replace Plex. It is a client of Plex plus a set of metadata providers, and everything it does lands back in the Plex library it was pointed at.
How Kometa works: files in, Plex API calls out
The repository layout shows a single entry point, kometa.py, with the working code under modules/. The pyproject.toml lists the runtime dependencies, and they map onto the architecture. plexapi==4.18.2 handles communication with the Plex server. tmdbapis==1.2.30, letterboxdpy==6.5.7 and the serializd-py git dependency pull metadata from external services. arrapi==1.4.14 covers Sonarr and Radarr, which the README names as the automation path for library growth. pillow==12.3.0 is present for image work, which is what overlays require. apprise==1.9.0 handles notifications. jsonschema==4.26.0 and ruamel-yaml==0.19.1 point at the configuration layer: YAML files validated against the schemas in the json-schema/ directory.
The data flow follows from those pieces. You supply a configuration file with service URLs and credentials. You supply collection files, one per library you want to work with, per the README's getting started steps. Kometa reads them, queries the metadata providers for matching items, then writes the results to Plex through the API. Overlays are composited as images before being pushed. Nothing is stored in a Kometa-side database; the configuration files are the source of truth, and Plex is the target.
The schedule==1.2.2 dependency is the other structural clue. Kometa is designed to run repeatedly rather than once, so the intended deployment is a container or a scheduled task that re-applies your definitions on an interval. That matters for cost: every run touches the metadata providers and your Plex server, so run frequency is a quota decision, not just a convenience one.
Installing Kometa and running a first collection
The README does not put installation commands in the repository. It directs readers to the Kometa Wiki install overview, and splits the walkthroughs into a local guide for running the script directly on Windows, OS X or Linux and a Docker walkthrough for command-line use. Separate basic Docker setup guides are listed for unRAID, Kubernetes, QNAP and Synology. The Docker image is published as kometateam/kometa on Docker Hub, and the repository's Dockerfile shows the container's entry point and its volume:
ARG BASE_TAG=base
FROM kometateam/kometa:${BASE_TAG}
ENV KOMETA_DOCKER=True
COPY . /
VOLUME /config
ENTRYPOINT ["/tini", "-s", "python3", "kometa.py", "--"]Two things are worth reading off that file. The container expects a mounted /config volume, which is where your configuration file and collection files live. And KOMETA_DOCKER is set inside the image, so the script knows it is running in a container. If you run the script directly instead, pyproject.toml declares requires-python = ">=3.12", so a Python older than 3.12 is not supported.
After installation the README's sequence is: create the configuration file with your Plex and TMDb URLs and credentials, then create a collection file for each library you want to work with, or use the pre-made Kometa Defaults instead of writing one. The Defaults are the faster path for a first run, and the README links them as modular files rather than examples. The exact keys for the configuration file are documented on the Wiki config overview page, not in the repository, so treat the Wiki as required reading before the first run rather than as a reference for later.
One practical note on the entry point: the Dockerfile passes -- to kometa.py, which means arguments after it are forwarded. The README does not enumerate the available arguments, so if you want to limit a run to a single library or a dry run, check the Wiki rather than guessing at a flag.
Where Kometa is the wrong tool
Kometa is Plex-specific. The pyproject.toml description reads "Metadata editor for Plex", and plexapi is the only media server client in the dependency list. There is no Jellyfin or Emby client. If your library lives in either of those, Kometa cannot reach it, and no configuration change will fix that.
The second boundary is that Kometa is a re-application engine, not a live sync. Because your definitions live in files and Plex holds the result, a change you make by hand in the Plex interface can be overwritten on the next run. That is the intended behaviour, and it is also the failure mode people hit first: they edit a poster in Plex, Kometa runs, and the poster reverts. The README does not document any rollback mechanism for a run that produced results you did not want, so the recovery path is your own file history plus a re-run with corrected definitions.
Third, the dependency on external metadata services is a hard dependency. TMDb, IMDb and the other providers are queried at run time. If a provider is unreachable or rate-limits you, the run is affected, and tenacity==9.1.4 in the dependency list indicates retry logic rather than a guarantee. For a large library, the number of provider calls per run is the constraint to watch. Kometa is a poor fit if you want a one-shot metadata fix; it is built to run on a schedule, and the schedule is what keeps the provider traffic meaningful.
Kometa compared with Plex Meta Manager and manual Plex editing
The most direct alternative is Plex Meta Manager, the project Kometa descends from and the name most guides still use. The difference is not in the approach, which is the same file-driven model, but in the state of the two codebases. Kometa is the maintained line: the repository's last push was on 2026-09-23, and the release list shows v2.5.0 on 2026-09-21, v2.4.8 on 2026-08-15 and v2.4.7 on 2026-08-12. Anyone starting today should be reading Kometa documentation, because that is where the current configuration schema and the Defaults live. Note that pyproject.toml still carries version = "2.4.7" while the release list shows v2.5.0; the VERSION file at the repository root is the other place to check which build you actually have.
The other alternative is doing it by hand in Plex. That is genuinely cheaper for a small library with a handful of custom posters and one or two collections. The trade-off is durability: manual edits live in the Plex database, and the README's own argument is that file-managed metadata survives a database loss. If your library is small and static, that argument does not buy you much. If you have hundreds of collections or overlays applied across thousands of items, rebuilding by hand after a database failure is not realistic, and that is the point at which Kometa's configuration overhead pays for itself.
Maintenance cost, licence and upgrade path
Kometa is MIT licensed. In practice that means you can run it, modify it and redistribute it, including inside a commercial service, provided the copyright notice and permission notice are kept. The repository ships a LICENSE file at the top level, and that file, not this article, is the authoritative text. Nothing here is legal advice; if you plan to redistribute a modified Kometa, read the LICENSE yourself.
The upgrade cost is driven by the configuration schema rather than by the code. Your YAML is validated against the schemas in json-schema/, so a schema change between versions can reject a configuration that previously worked. The repository carries a CHANGELOG.md and a VERSION file, and the release cadence visible in the release list is roughly monthly, with patch releases in between. Pinning a version and reading the changelog before moving is the low-effort path; tracking master is not, because the Dockerfile references a base image built from a branch and the repository also carries develop and nightly branches with their own commit counts.
On the development side, the project is doing more than shipping features. pyproject.toml describes a pyright ratcheting baseline: the error count is not required to be zero, but it is not allowed to increase on a pull request, enforced by .pyright-baseline.json, scripts/pyright_baseline.py and a CI workflow. That is a reasonable compromise for a codebase this size, and it also tells you something about adopting a fork: type errors exist by design, so a fork is not automatically cleaner than upstream. There are tests/ and stubs/ directories, and the coverage configuration in pyproject.toml sources modules/, which is where the code you would be patching lives.
Editorial conclusion
Adopt Kometa if you run Plex, keep your library configuration in Git, and want collections and overlays rebuilt from files after any database loss. Do not adopt it if you use Jellyfin or Emby, or if you have no interest in maintaining YAML. Before committing, verify that your Plex token and TMDb credentials work against your server, and read the collection file documentation for the library type you plan to change first.
Frequently asked questions
What is Kometa for Plex?
Kometa is a Python script that updates metadata for items in Plex and automatically builds collections and playlists. It connects to services such as TMDb and IMDb to create collections and overlays, and it integrates with Sonarr and Radarr to automate library growth.
Why use Kometa instead of editing Plex by hand?
The README states that because metadata is managed outside your libraries, you will not lose customisations if the media server database is lost, and that you can move customisations between servers. Kometa also lets you use pre-made modular Collection and Overlay files instead of defining each one manually.
How do I install Kometa?
The README points to the Kometa Wiki install overview rather than giving commands in the repository. It lists a local walkthrough for Windows, OS X or Linux, a Docker walkthrough for the command line, and basic Docker setup guides for unRAID, Kubernetes, QNAP and Synology. The published image is kometateam/kometa and the container expects a /config volume.
How do I set up Kometa with Plex?
The README's sequence is to install Kometa, create a configuration file containing the URLs and credentials needed to connect to services like Plex and TMDb, then create a collection file for each library you want to work with, or use the Kometa Defaults instead. The configuration file keys are documented on the Wiki config overview page.
How do I use Kometa with Plex?
After installation, the README describes creating a configuration file with your Plex and TMDb URLs and credentials, then creating a collection file for each library you want to work with. The Kometa Defaults can replace hand-written collection files, and the Wiki covers the available options.
What does Kometa do?
Kometa updates metadata information for items in Plex and automatically builds collections and playlists. The README also describes customising artwork, titles and summaries, integrating with Sonarr and Radarr, and using pre-made modular Collections and Overlays.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/kometa-team-kometa)Star history chart for your README
[](https://hysenlabs.com/projects/kometa-team-kometa)Was this useful?