Script to retrieve metadata from MAL and Anilist and import it to plex with a Kometa metadata file
7.4K
See https://github.com/Arial-Z/Romaji-Renamer
Requirements: Plex Media Server, Plex-Meta-Manager
to create the default files
docker run --name romaji-renamer --rm --pull=always -v "SCRIPT_CONFIG_PATH_GOES_HERE:/config:rw" -v "KOMETA_PATH_GOES_HERE:/pmm:rw" arialz/romaji-renamer --run
default.env to .env.env to fill out the variables and settings.#Url of the Plex server (Needed)
plex_url=http://127.0.0.1:32400
#Plex token (Needed)
plex_token=zadazdzadazdazdazdazdazd
# Run the animes script (Yes/No)
RUN_ANIMES_SCRIPTS=Yes
# Plex animes library name need to be in a double quote (Needed for the animes script)
ANIME_LIBRARY_NAME="Animes"
# Path to the created animes metadata file (Needed for the animes script)
METADATA_ANIMES=$SCRIPT_FOLDER/pmm/metadata-animes.yml
# Run the movies script (Yes/No)
RUN_MOVIES_SCRIPTS=No
# Plex movies animes library name need to be in a double quote (Needed for the movies script)
MOVIE_LIBRARY_NAME="Animes Movies"
# Path to the created movies metadata file (Needed for the movies script)
METADATA_MOVIES=$SCRIPT_FOLDER/pmm/metadata-animes-movies.yml
# Run the seasonal download script (Yes/No)
RUN_SEASONAL_SCRIPTS=No
# Number of animes added to the sesonal animes auto-download collection (Needed for the seasonal-animes-download.sh script)
DOWNLOAD_LIMIT=20
# Path to the created seasonal-animes-download file (Needed for the seasonal-animes-download.sh script)
DOWNLOAD_ANIMES_COLLECTION=$SCRIPT_FOLDER/pmm/seasonal-animes-download.yml
# Kometa Asset Folder to import posters (Needed)
ASSET_FOLDER=$SCRIPT_FOLDER/pmm/assets
# Folder where the logs of script are kept (Default is okay change if you want)
LOG_FOLDER=$SCRIPT_FOLDER/config/logs
# Type of rating used in Plex by Anilist (audience, critic, user / leave empty to disable)
WANTED_RATING=audience
# Source for RATING (MAL / ANILIST)
RATING_SOURCE=ANILIST
# Use the english name as title (and also sort_title) instead of the romaji one, the romaji title will be set as original title (Yes/No)
MAIN_TITLE_ENG=No
# Use the english name as sort_title instead of the romaji one (Yes/No)
SORT_TITLE_ENG=No
# Use the native name as original_title instead of the romaji/english one (Yes/No)
ORIGINAL_TITLE_NATIVE=Yes
# Download poster (Yes/No)
POSTER_DOWNLOAD=Yes
# Download seasons poster (Yes/No)
POSTER_SEASON_DOWNLOAD=Yes
# Source for poster (MAL / ANILIST)
POSTER_SOURCE=ANILIST
# Ignore seasons rating and poster (Yes/No)
IGNORE_SEASONS=No
# Anilist have some full uppercase title, this settings will remove them "86 EIGHTY-SIX" > "86 Eighty-Six" (Yes/No)
REDUCE_TITLE_CAPS=Yes
#Add the anime season to the season label in plex (Fall 2022, Spring 2021, ...)
SEASON_YEAR=No
# Anime metadata cache time (in days min : 1)
DATA_CACHE_TIME=3
Animes:
metadata_path:
- file: config/metadata-animes.yml
Configuration finished.
docker run --name romaji-renamer --rm --pull=always -v "SCRIPT_CONFIG_PATH_GOES_HERE:/config:rw" -v "KOMETA_PATH_GOES_HERE:/pmm:rw" arialz/plex-romaji-renamer --run
Content type
Image
Digest
sha256:e60982126…
Size
71.7 MB
Last updated
about 2 months ago
docker pull arialz/romaji-renamer