Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

RickDB/Docker-PlexAniSync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker-PlexAniSync

Docker

Usage

docker

docker run -d \
  --name=plexanisync \
  --restart unless-stopped \
  -e PLEX_SECTION=Anime \
  -e PLEX_URL=http://127.0.0.1:32400 \
  -e PLEX_TOKEN=SomePlexToken \
  -e ANI_USERNAME=SomeUser \
  -e ANI_TOKEN=SomeToken \
  -e INTERVAL=3600 \
  -v /etc/localtime:/etc/localtime:ro \
  ghcr.io/rickdb/plexanisync:latest

Environment Variables

ID Default Required Note
PLEX_SECTION Anime The library where your anime resides
PLEX_URL http://127.0.0.1:32400 The address to your Plex Media Server, for example: http://127.0.0.1:32400
PLEX_TOKEN - Follow this guide
ANI_USERNAME - Your AniList.co username
ANI_TOKEN - Get it here
INTERVAL 3600 The time in between syncs
PLEX_EPISODE_COUNT_PRIORITY - If set to True, Plex episode watched count will take priority over AniList (default = False)
SKIP_LIST_UPDATE - If set to True, it will NOT update your AniList which is useful if you want to do a test run to check if everything lines up properly. (default = False)
LOG_FAILED_MATCHES - If set to True, failed matches will be written to /plexanisync/failed_matches.txt (default = False)

Custom mappings

In order to provide a custom_mappings.yaml file, mount the file on your host to /plexanisync/custom_mappings.yaml like this:

-v /path/to/your/custom_mappings.yaml:/plexanisync/custom_mappings.yaml

You can modify the file on the host system anytime and it will be used during the next run. Restarting the container is not necessary.