You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# In apply_all_status, map libraries according to this JSON.
101
-
102
-
reset_posters:
103
-
track_reset_status: 1# should reset-posters-* keep track of status and pick up where it left off?
104
-
clear_reset_status: 0
105
-
local_reset_archive: 1# should reset-posters-tmdb keep a local archive of posters?
106
-
override_overlay_status: 0
107
-
target_labels: this label, that label # comma-separated list of labels to reset posters on
108
-
remove_labels: 0# attempt to remove the TARGET_LABELs from items after resetting the poster
109
-
reset_seasons: 1# reset-posters-* resets season artwork as well in TV libraries
110
-
reset_episodes: 1# reset-posters-* resets episode artwork as well in TV libraries [requires RESET_SEASONS=True]
111
-
retain_reset_status_file: 0# Don't delete the reset progress file at the end
112
-
flush_status_at_start: 0# Delete the reset progress file at the start instead of reading it
113
-
reset_seasons_with_series: 0# If there isn't a season poster, use the series poster
114
-
dry_run: 0# [currently only works with reset-posters-*]; don't actually do anything, just log
115
-
116
-
list_item_ids:
117
-
include_collection_members: 0
118
-
only_collection_members: 0
119
-
120
-
delete_collection:
121
-
keep_collections: "bing,bang"# List of collections to keep
122
-
123
-
refresh_metadata:
124
-
refresh_1970_only: 1# If 1, only refresh things that have an originally-available date of 1970-01-01
125
-
126
-
rematch_items:
127
-
unmatched_only: 1# If 1, only rematch things that are currently unmatched
128
-
129
-
reset_added_at:
130
-
adjust_date_futures_only: 0# Only look at items that show up as added in the future
131
-
adjust_date_epoch_only: 1# Only adjust items that have "originally available" dates of `1970-01-01`
132
-
133
-
actor:
134
-
cast_depth: 20# how deep to go into the cast for actor collections
135
-
top_count: 10# how many actors to export
136
-
job_type: "Actor"
137
-
known_for_only: 0# ignore cast members who are not primarily known as actors
138
-
build_collections: 0# build yaml for Kometa config.yml
139
-
num_collections: 20# this many actors in Kometa yaml
140
-
track_gender: 1# Pay attention to actor gender [as recorded on TMDB]
141
-
min_gender_none: 5# include minimum this many "none" gendered actors in the YAML, if possible
142
-
min_gender_female: 5# include minimum this many "female" gendered actors in the YAML, if possible
143
-
min_gender_male: 5# include minimum this many "male" gendered actors in the YAML, if possible
144
-
min_gender_nb: 5# include minimum this many "non-binary" gendered actors in the YAML, if possible
145
-
146
-
low_poster_count:
147
-
poster_threshold: 10# how many posters counts as a "low" count?
148
-
149
-
crew:
150
-
depth: 20
151
-
count: 100
152
-
target_job: Director
153
-
show_jobs: 0
154
-
```
13
+
The `config.yaml` template can be viewed here: [../config.template.yaml](../config.template.yaml).
155
14
156
15
## Scripts:
157
16
1.[clean-overlay-backup.py](#clean-overlay-backuppy) - clean out leftover overlay backup art
@@ -452,6 +311,24 @@ You want to seed a Kometa metadata file with the contents of one or more librari
452
311
453
312
Here is a basic script to do that.
454
313
314
+
Script-specific variables in `config.yaml`:
315
+
316
+
```yaml
317
+
metadata:
318
+
download_images: false # should the script download files like images and themes
319
+
only_first_genre: true # should the script include only the first genre that Plex has assigned to the item?
320
+
321
+
include_audience_rating: true
322
+
include_content_rating: true
323
+
# ... rest of fields redacted for space...
324
+
```
325
+
326
+
There has recently been a regression in some PlexAPI code such that for the moment you should leave `download_images: false`
327
+
328
+
This should be cleared up relatively soon.
329
+
330
+
You can turn off individual fields with the `include_` flags.
331
+
455
332
### Usage
456
333
1. setup as above
457
334
1. Run with `metadata-extractor.py`
@@ -462,6 +339,8 @@ IMPORTANT NOTES:
462
339
463
340
This script backs up all Kometa-supported metadata [with a few minor exceptions], which includes things you may not have changed. It also includes the "Overlay" label. It backs up this label because it *also* backs up the current art, which might be overlaid. You will probably want to edit or trim this file before using it to restore.
464
341
342
+
NOTE: This functionality is hobbled currently by the image-downloading issue.
0 commit comments