Skip to content

Simple Python script to create and update indexers from Jackett to Radarr, Sonarr and Lidarr

License

Notifications You must be signed in to change notification settings

Guilhem23/Jackett_Indexerr

Repository files navigation

Jackett_Indexerr

Simple Python script to create and update indexers from Jackett in Radarr, Sonarr and Lidarr

Usage

  • Install virtual environnement
make pipenv-install
  • Run script
make run

Configuration

Run script once to create initial config.ini file

Complete config.ini with your own (remove unneeded apps if needed)

[default]
jackett_apikey = foo
jackett_url = https://localhost/jackett
indexer_prefix = AUTO: 

[sonarr]
apikey = foo
url = https://localhost/sonarr/api/
categoryprefixes = ['TV']
animecategoryprefixes = ['Anime', 'TV']

[radarr]
apikey = foo
url = https://localhost/radarr/api/
categoryprefixes = ['Movies']
animecategoryprefixes = ['Anime', 'Movies']

[lidarr]
apikey = foo
url = https://localhost/lidarr/api/v1/
categoryprefixes = ['Audio']

Extra

Overriding category for an indexer: edit add_indexer.py and add your own overrides if needed

TODO: move this expert config to config.ini

categories_override = {
    "cpasbienclone" : {
        "categories" : "7000",
        "anime_categories" : "7000"
    },
     "my_favorite_tracker" : {
         "categories" : "2000",
         "anime_categories" : "5000"
     }
}

TODO

  • Move override to config file
  • Add indexer blacklist in config to avoid adding indexer without music to lidarr for example

Greetings

Started from code snippet provided by ninnghazad in Jackett Issue

Thanks to ninnghazad for saving me a copple of hours ;)

https://github.com/ninnghazad

Jackett/Jackett#1413

About

Simple Python script to create and update indexers from Jackett to Radarr, Sonarr and Lidarr

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published