Python script to automate Plex collections and other metadata
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Chaz Larson 36504e2594
reformat assets page, add tags to updates (#2223)
3 months ago
.github reformat assets page, add tags to updates (#2223) 3 months ago
config 2.0.1 8 months ago
defaults [35] [34] Fix Resolution Collections Sort Order (#2215) 4 months ago
docs reformat assets page, add tags to updates (#2223) 3 months ago
fonts [106] small updates 3 years ago
json-schema Adds a few things to validate the kitchen sink 7 months ago
modules [32] fix secrets (#2205) 4 months ago
.dockerignore [7] Update github build action 8 months ago
.gitignore add webp support for overlays 8 months ago
.readthedocs.yml [24] move to mkdocs 1 year ago
.spellcheck.yml [13] add spellcheck 8 months ago
CHANGELOG [35] [34] Fix Resolution Collections Sort Order (#2215) 4 months ago
Dockerfile [14] [13] Add nano to Docker image (#2122) 6 months ago
LICENSE [81] add convert and overlay summary 12 months ago
README.md Update README.md 8 months ago
VERSION [35] [34] Fix Resolution Collections Sort Order (#2215) 4 months ago
kometa.py [5] Switched from retrying to tenacity for http request retries (#2105) 7 months ago
mkdocs.yml [6] Add SAG to awards nav (#2110) 7 months ago
requirements.txt [32] fix secrets (#2205) 4 months ago

README.md

Kometa

GitHub release (latest by date) Docker Image Version (latest semver) Docker Pulls Develop GitHub commits since latest stable release (by SemVer) Nightly GitHub commits since latest stable release (by SemVer)

Discord Reddit Wiki Translations GitHub Sponsors Sponsor or Donate Feature Requests

Kometa is a powerful tool designed to give you complete control over your media libraries. With Kometa, you can take your customization to the next level, with granular control over metadata, collections, overlays, and much more.

Transform your media library with Kometa and discover its full potential! Connect to third-party services like TMDb, Trakt, and IMDb, among others, to create one-of-a-kind collections, overlays and more. Your media library will stand out and be tailored to your specific needs.

What Can Kometa Do?

Overhaul Your Media Libraries

  • Elevate your library with beautifully crafted metadata - customize artwork, titles, summaries, and more to create a stunning library.

Kometa Defaults

  • Take advantage of pre-made modular Collections & Overlays to reduce the manual effort and get to the good stuff with less effort!

Third-Party Integrations

  • Harness the power of Trakt, TMDb, IMDb and more to create collections and overlays!
  • Integrate with Sonarr and Radarr to automate your library growth.

And More!

  • We're constantly working on new features to take your library management experience to the next level.
  • Consider sponsoring the project to allow us to continue building great features for you!

Demo Video

The below YouTube video has been created by one of our community members to showcase some of the things that Kometa can do for you.

Kometa

Example Kometa Libraries

Here are some examples of the things you can achieve using Kometa!

Example Movie Collections using the Kometa Defaults (click to enlarge):

Movie Collection Preview

Example Show Overlays using the Kometa Defaults (click to enlarge):

Show Library Preview

Kometa Defaults

Want your library to look like the above images? With the Kometa Defaults you can! These powerful and modular files were designed by the Kometa team to make it simple to create a personalized, one-of-a-kind media collection without the hassle of manually defining each one.

Want to see what the community has to offer? Check out the Kometa Community Configs repository on GitHub to see user-submitted configuration files, or even add your own to the mix!

With Kometa, you can also manage metadata for all your media types, from movies and shows to music and more. And since your metadata is managed outside your libraries, you'll never have to worry about losing your customizations in the event of a media server database loss, you can simply reapply them! It is also easy to move your customizations between servers if you need to.

Getting Started

To get started with Kometa, follow these simple steps:

  1. Install Kometa on your device. You can find the installation instructions for a variety of platforms here.

  2. Once you have installed Kometa, create your Configuration File. This file contains important information such as URLs and credentials needed to connect to services like Plex and TMDb

  3. After creating the Configuration File, you can start updating Metadata and building automatic Collections by creating a Collection File for each Library you want to work with. If you'd rather use some of our pre-made Collection Files, take a look at the Kometa Defaults

  4. Finally, check out the Wiki, you'll find new and exciting ways to truly unlock the potential of your libraries.

Step-by-Step Guides

If you're a beginner to the concepts of Python, Git and/or Kometa and find the above steps challenging, don't worry. We've got some step-by-step guides that can help you get started. These guides will take you through the process of installing Kometa, creating your Configuration File and getting some basic Collections up and running.

For those who need full installation walkthroughs, please refer to the following walkthrough guides:

If you are using unRAID, Kubernetes, QNAP, or Synology refer to the following basic guide to Docker container setup for each system:

this doesn't cover the Kometa setup specifics found in the guides above with regard to creating the config file and collection file, so you may want to go through the Docker Walkthrough first on your computer to gain that understanding.

Example Usage

Kometa puts you in control of your media library by letting you create custom Collections that make discovering and organizing your content a breeze. With powerful search and filtering options, you can build Collections based on popular builders like TMDb, IMDb, Trakt, and many more.

Imagine having Collections like these at your fingertips:

  • Trending and Popular (based on TMDb, IMDb, Trakt, etc.)
  • Streaming Services (like Netflix, Disney+, and more)
  • Networks
  • Studios
  • Genres
  • Actors
  • Decades

Kometa gives you endless possibilities to curate and organize your media library any way you want. Create custom Collections and Overlays that fit your unique preferences and make discovering your content effortless.

But if you don't want to spend time manually creating Collections and Overlays, we've got you covered. Check out the Kometa Defaults - a handcrafted selection of tried-and-tested Collections and Overlays made by the Kometa team.

Develop & Nightly Branches

The Develop and Nightly branches are "beta" versions of Kometa that are updated more frequently than the stable version (Master branch). These branches are where bug fixes, new features, and other changes are added before being released to the Master branch.

However, these branches (especially Nightly) are recommended for more technical users who don't mind updating frequently to get the latest changes. Keep in mind that these beta branches may have bugs or other issues that could cause problems with Kometa or your media server. So, if you're not comfortable with technical issues, it's best to stick with the Master branch.

Develop Branch (click to expand)

Develop GitHub commits since latest stable release (by SemVer)

The develop branch has the most updated documented fixes and enhancements to Kometa. This version is tested and documented to some degree, but it is still an active Develop branch, so there may be rough edges.

Switching to develop:

Add ":develop" to the image name in your run command or configuration:
```
kometateam/kometa:develop
```
In the directory where you cloned Kometa:
```bash
git checkout develop
```
To switch back:
```bash
git checkout master
```

If switching to the develop branch, it is recommended to also use the develop branch of the wiki, which documents any changes made from the Master branch.


Nightly Branch (click to expand)

Nightly GitHub commits since latest stable release (by SemVer)

This branch will have squashed commits which can cause git pull/git fetch to error you can use git reset origin/nightly --hard to fix the branch.

There is also a nightly branch which will have the absolute latest version of the script, but it could easily break, there is no guarantee that it even works, and any new features will not be documented until they have progressed enough to reach the develop branch.

Switching to nightly:

Add ":nightly" to the image name in your run command or configuration:
```
kometateam/kometa:nightly
```
In the directory where you cloned Kometa:
```bash
git checkout nightly
```
To switch back:
```bash
git checkout master
```

As this branch is subject to extreme change, there is no promise of the feature being documented in the nightly branch of the wiki and all discussions relating to changes made in the nightly branch will be held within the Kometa Discord Server.

Discord Support Server

If you're looking for support for any questions or issues you might have, or if you just want to be a part of our growing community, Join the Kometa Discord Server.

Feature Requests

At Kometa, we value our community's input and actively seek feedback to drive the evolution of our product. We want to hear your ideas on how to enhance Kometa, and we encourage you to visit our Feature Request page to share your thoughts or vote on what features you would like to see added next. Your voice matters and helps shape the future of Kometa, so please don't hesitate to join in the conversation and be a part of our community-driven development process.

Errors and Configuration Questions

If you're having trouble, we recommend first joining the Kometa Discord Server and seeking support there. If that isn't possible for you, here's what you can do:

  • If you get an error, update to the latest version and check if the issue persists. If it does, report the bug by filling out the Bug Report template.
  • If you spot a mistake or have an idea to improve the Kometa Wiki, submit a request using the Wiki Request template.
  • If you have a question about metadata configuration, start a discussion on the Discussions. Remember, the community helps shape the future of Kometa, so your input is valuable!

For support on any of the above, visit the Discord server.

Contributing

  • Pull Requests are greatly encouraged, please submit all Pull Requests to the nightly branch.