updated to support 1.19.1nightly5

This commit is contained in:
bullmoose20
2023-10-03 22:49:33 -04:00
committed by cpt-kuesel
parent 2943062795
commit 577740828b
2 changed files with 156 additions and 162 deletions

View File

@@ -1,6 +1,6 @@
# bullmoose20 PMM files
## Basics
I run PMM nightly (not lsio image) and Plex(hotio image) on Unraid 6.11.2. At the top of my config.yml file I will usually specify the version that this config.yml file works with.
I run PMM nightly (not lsio image) and Plex(hotio image) on Unraid 6.12.4. At the top of my config.yml file I will usually specify the version that this config.yml file works with.
<br>
@@ -16,71 +16,54 @@ Unzip the fonts into `config/metadata/overlays/fonts/` to use this config withou
You can put the fonts elsewhere, but if you choose to do that, you will need to adjust the ratings section (rating1_font:, rating2_font:, rating3_font:) of the overlays within the config.yml file to point to the location you chose.
I also prefer to have a copy of the local assets so that if I need to recover to the original posters, they are there. I use grab-all-posters.py from chazlarson's repo to help with that: https://github.com/chazlarson/Media-Scripts/tree/main/Plex-Meta-Manager and the following in my .env:
```
ARTWORK=1
BACKGROUND_NAME=background
CAST_DEPTH=100
CURRENT_POSTER_DIR=\\nzwhs01\data\media\posters\
DELAY=1
KEEP_COLLECTIONS=bing,bang # List of collections to keep
INCLUDE_COLLECTION_ARTWORK=1 # should get-all-posters retrieve collection posters?
ONLY_COLLECTION_ARTWORK=0 # should get-all-posters retrieve ONLY collection posters?
GRAB_SEASONS=1 # should get-all-posters retrieve season posters?
GRAB_EPISODES=1 # should get-all-posters retrieve episode posters? [requires GRAB_SEASONS]
GRAB_BACKGROUNDS=1 # should get-all-posters retrieve backgrounds?
ONLY_CURRENT=1 # should get-all-posters retrieve ONLY current artwork?
LOCAL_RESET_ARCHIVE=1 # should reset-posters-tmdb keep a local archive of posters?
USE_ASSET_NAMING=1 # should grab-all-posters name images to match PMM's Asset Directory requirements?
USE_ASSET_FOLDERS=1 # should those PMM-Asset-Directory names use asset folders?
ASSETS_BY_LIBRARIES=1 # should those PMM-Asset-Directory images be sorted into library folders?
ASSET_DIR=assets # top-level directory for those PMM-Asset-Directory images
GRAB_EPISODES=1
GRAB_SEASONS=1
GRAB_BACKGROUNDS=0
KEEP_JUNK=0
TRACK_COMPLETION=0
INCLUDE_COLLECTION_ARTWORK=0
KEEP_COLLECTIONS=bing,bang
LIBRARY_MAP={"LIBRARY_ON_PLEX":"LIBRARY_ON_TARGET_PLEX", ...}
LIBRARY_NAMES=TV Shows, Movies
LOCAL_RESET_ARCHIVE=1
NAME_IN_TITLE=1
ONLY_COLLECTION_ARTWORK=0
PLEX_OWNER=bullmoose
PLEX_PATHS=0
PLEX_TOKEN='(redacted)'
PLEX_URL='http://192.168.2.242:32400'
POSTER_CONSOLIDATE=0
POSTER_DEPTH=0
POSTER_DIR=extracted_posters
POSTER_DOWNLOAD=1
POSTER_NAME=poster
REMOVE_LABELS=1
RESET_EPISODES=1
RESET_SEASONS=1
TARGET_LABELS=bing,bang,boing
TMDB_KEY=(redacted)
TARGET_PLEX_OWNER=yournamehere
TARGET_PLEX_TOKEN=PLEX-TOKEN-TWO
TARGET_PLEX_URL=https://plex.otherdomain.tld
TOP_COUNT=10
TRACK_RESET_STATUS=1
TVDB_KEY=TVDB_V4_API_KEY
UNDO=0
LOG_FILE_ACTIONS=1
OPTIMIZE_DB=0
PERSON_DEPTH=10
DB_PATH=\\NZWHS01\appdata\plex\Plug-in Support\Databases
DELETE=0
DIR_PATH=\\NZWHS01\appdata\plex\Metadata
EMPTY_TRASH=0
CLEAN_BUNDLES=0
RENAME=0
TC_DEL=0
TC_PATH=\\NZWHS01\appdata\plex\Cache\PhotoTranscoder
TMP_DIR=c:\folder\plex_db
SLEEP=60
```
ADD_SOURCE_EXIF_COMMENT=0 # If set to 1, add the source URL to the image EXIF tags
CURRENT_POSTER_DIR=current_posters # put downloaded current posters and artwork here
DEFAULT_YEARS_BACK=20 # If there is no "last run date" stored, go this many years back [integer; negative values will be made positive]
DELAY=1
FOLDERS_ONLY=0 # If set to 1, just build out the folder hierarchy; no image downloading
GRAB_BACKGROUNDS=1 # If set to 1, backgrounds are retrieved [into a folder `backgrounds`]
GRAB_EPISODES=1 # grab episode posters [requires GRAB_SEASONS]
GRAB_SEASONS=1 # grab season posters
INCLUDE_COLLECTION_ARTWORK=0 # If set to 1, collection posters are retrieved
KEEP_JUNK=0 # If set to 1, keep files that script would normally delete [incorrect filetypes, mainly]
LIBRARY_NAMES=Movies,TV Shows
ONLY_COLLECTION_ARTWORK=0 # If set to 1, ONLY collection posters are retrieved
#ONLY_THESE_COLLECTIONS=Bing|Bang|Boing # only grab artwork for these collections and items in them; if empty, no filter
POSTER_CONSOLIDATE=0 # if set to 0, posters are separated into folders by library
POSTER_DEPTH=1 # grab this many posters [0 grabs all]
POSTER_DIR=extracted_posters # put downloaded posters here
POSTER_DOWNLOAD=1 # if set to 0, generate a script rather than downloading
RESET_LIBRARIES=Bing,Bang,Boing # reset "last time" count to 0 for these libraries
SUPERCHAT=1
ONLY_CURRENT=0
ASSET_DIR=assets
USE_ASSET_NAMING=1
USE_ASSET_FOLDERS=1
ASSETS_BY_LIBRARIES=1
FIND_OVERLAID_IMAGES=1
RETAIN_OVERLAID_IMAGES=0
THREADED_DOWNLOADS=0
TMDB_KEY=(redacted)
TRACK_COMPLETION=0 # If set to 1, movies/shows are tracked as complete by rating id
TRACK_IMAGE_SOURCES=1 # If set to 1, keep a file containing file names and source URLs
TRACK_URLS=1 # If set to 1, URLS are tracked and won't be downloaded twice
USE_ASSET_SUBFOLDERS=0 # If set to 1, create asset folders in subfolders ["Collections", "Other", or [0-9, A-Z]] ]
NO_FS_WARNING=1
PLEXAPI_PLEXAPI_TIMEOUT='360'
PLEXAPI_LOG_BACKUP_COUNT='3'
PLEXAPI_LOG_FORMAT='%(asctime)s %(module)12s:%(lineno)-4s %(levelname)-9s %(message)s'
PLEXAPI_LOG_LEVEL='INFO'
PLEXAPI_LOG_PATH='plexapi.log'
PLEXAPI_LOG_ROTATE_BYTES='512000'
PLEXAPI_LOG_SHOW_SECRETS='false'
PLEXAPI_AUTH_SERVER_BASEURL='http://192.168.2.242:32400'
PLEXAPI_AUTH_SERVER_TOKEN='(redacted)'
```
<br>