@@ -8,30 +8,12 @@ See the top-level [README](../README.md) for setup instructions.
88
99All these scripts use the same ` .env ` and requirements.
1010
11- ### ` .env ` contents
12-
11+ Any that communicate with Plex require:
1312```
14- TMDB_KEY=TMDB_API_KEY # https://developers.themoviedb.org/3/getting-started/introduction
15- TVDB_KEY=TVDB_V4_API_KEY # currently not used; https://thetvdb.com/api-information
16- PLEX_URL=https://plex.domain.tld # URL for Plex; can be a domain or IP:PORT
17- PLEX_TOKEN=PLEX-TOKEN
18- PLEX_OWNER=yournamehere # account name of the server owner
19- LIBRARY_NAMES=Movies,TV Shows,Movies 4K # comma-separated list of libraries to act on
20- CAST_DEPTH=20 # how deep to go into the cast for actor collections
21- TOP_COUNT=10 # how many actors to export
22- TARGET_LABELS=this label, that label # comma-separated list of labels to remove posters from
23- REMOVE_LABELS=True # attempt to remove the TARGET_LABELs from items after resetting the poster
24- DELAY=1 # optional delay between items
25- POSTER_DIR=extracted_posters # put downloaded posters here
26- POSTER_DEPTH=20 # grab this many posters [0 grabs all]
27- POSTER_DOWNLOAD=0 # if set to 0, generate a script rather than downloading
28- POSTER_CONSOLIDATE=1 # if set to 0, posters are separated into folders by library
29- KOMETA_CONFIG_DIR=/opt/kometa/Kometa/config/ # path to Kometa config directory
30-
31- # ORIGINAL TO ASSETS
32- USE_ASSET_FOLDERS=1 # should the asset directory use asset folders?
33- ASSETS_BY_LIBRARIES=1 # should those asset folders be sorted into library folders?
34- ASSET_DIR=assets # top-level directory for those assets
13+ PLEXAPI_AUTH_SERVER_BASEURL=https://plex.domain.tld
14+ # Just the base URL, no /web or anything at the end.
15+ # i.e. http://192.168.1.11:32400 or the like
16+ PLEXAPI_AUTH_SERVER_TOKEN=PLEX-TOKEN
3517```
3618
3719## Scripts:
@@ -54,8 +36,6 @@ You've deleted stuff from Plex and want to clean up the leftover backup art that
5436
5537The script uses these settings from the ` .env ` :
5638```
57- PLEX_URL=https://plex.domain.tld # URL for Plex; can be a domain or IP:PORT
58- PLEX_TOKEN=PLEX-TOKEN
5939LIBRARY_NAMES=Movies,TV Shows,Movies 4K # comma-separated list of libraries to act on
6040DELAY=1 # optional delay between items
6141KOMETA_CONFIG_DIR=/opt/kometa/config/ # path to Kometa config directory
0 commit comments