##About
Anime Tools is a tool I've written to attempt to fix some small issues I have with how anime's meta data on plex is currently obtained. I use a custom metadata agent for plex(hama) to get the correct information for shows which generally works.
That said, I find that sometimes the genre information retrieved is pulled from tvdb due to anidb rate limiting, or some other issue I haven't worked out.
The first release provides a way of updating individual genres on shows or updating all the genres in an entire library.
$ pip install -r requirements.txt
$ pip install setup.py
This project includes a number of helpers in the Makefile
to streamline common development tasks.
Anime Tools needs to be configured before it will run, it also caches the offline database. If you are using docker, both the cache path and configuration path should be mapped.
Copy config/anime_tools.yml.example to ~/.config/anime_tools/anime_tools.yml and fill in the missing plex details.
The following demonstrates setting up and working with a development environment:
### create a virtualenv for development
$ make virtualenv
$ source env/bin/activate
### run anime_tools cli application
$ anime_tools --help
### run pytest / coverage
$ make test
Copy config/anime_tools.yml.example to config/anime_tools.yml and fill in the missing plex details
$ make docker # on systems with make
$ docker build -t anime_tools:latest . # on systems with no make
$ docker run -v ./config:/etc/anime_tools -v ./db-cache:/root/.config/anime_tools/db-cache -it anime_tools
####Updating a single show
anime_tools update_all [library name] [show name]
####Updating an entire library