Hosts plex collections for dataserver2 TVShows.yml for TV shows Movies.yml for movies
Rest are just samples/things I am playing with but not in production. If you wish to create/add a new .yml, let me know
Kometa Wiki here: https://kometa.wiki/en/latest/
chat.openai.com is great for iterating on this and generating lists
- Script:
./run-kometa.shruns Kometa one time on demand. - Defaults (override via env vars when running):
KOMETA_APPDATA=/mnt/cache/appdata/Kometa/configCONFIG_PATH=$KOMETA_APPDATA(can be a directory withconfig.ymlinside, or a direct file path)CONTAINER_NAME=KometaIN_CONTAINER_CONFIG=/config/config.ymlDOCKER_IMAGE=ghcr.io/kometateam/kometa:latest(only used if no container namedCONTAINER_NAMEexists)
-
Run with defaults inside existing container:
./run-kometa.sh
-
Use a different container name:
CONTAINER_NAME=my-kometa ./run-kometa.sh
-
Point to a non-default config path:
- Directory:
CONFIG_PATH=/mnt/cache/appdata/Kometa/config ./run-kometa.sh - File:
CONFIG_PATH=/mnt/user/appdata/Kometa/config/config.yml ./run-kometa.sh
- Directory:
-
Use a mirrored image if GHCR requires login:
DOCKER_IMAGE=myregistry/kometa:latest ./run-kometa.sh
If using GHCR and you see a permission error, authenticate once:
export CR_PAT=YOUR_GITHUB_TOKEN # scope: read:packages
echo $CR_PAT | docker login ghcr.io -u YOUR_GITHUB_USERNAME --password-stdin
If you've removed the manual Movie_Franchises.yml in favor of Kometa's built-in franchise defaults, add a cleanup operation to your Movies library so the legacy collections disappear on the next run:
libraries:
Movies:
delete_not_scheduled: true
delete_unmanaged: true
operations:
delete_collections:
configured: false
managed: true
less: 99999configured: false ensures only collections not defined in the current run are considered, while managed: true lets Kometa remove the previously labeled franchise collections.