Skip to content

bwittgen/dataserver2-collections

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

207 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dataserver2-collections

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

Run on Unraid

  • Script: ./run-kometa.sh runs Kometa one time on demand.
  • Defaults (override via env vars when running):
    • KOMETA_APPDATA=/mnt/cache/appdata/Kometa/config
    • CONFIG_PATH=$KOMETA_APPDATA (can be a directory with config.yml inside, or a direct file path)
    • CONTAINER_NAME=Kometa
    • IN_CONTAINER_CONFIG=/config/config.yml
    • DOCKER_IMAGE=ghcr.io/kometateam/kometa:latest (only used if no container named CONTAINER_NAME exists)

Examples

  • 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
  • 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

Cleanup Legacy Franchise Collections

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: 99999

configured: false ensures only collections not defined in the current run are considered, while managed: true lets Kometa remove the previously labeled franchise collections.

About

Hosts plex collections for dataserver2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors