[52] doc update

pull/1058/head
meisnate12 2 years ago
parent 6a6364ef15
commit 9d91428e3d

@ -1 +1 @@
1.17.3-develop51 1.17.3-develop52

@ -17,7 +17,7 @@ $ docker run --rm -it -v "/Users/mroche/plex-meta-manager:/config:rw" meisnate12
... ...
``` ```
PMM may start cataloging your movies at this point; you cna hit control-C to stop that if it's happening. PMM may start cataloging your movies at this point; you can hit control-C to stop that if it's happening.
We can see there that it connected to the Plex Library but failed to find that `Movies.yml` metadata file. We can see there that it connected to the Plex Library but failed to find that `Movies.yml` metadata file.

@ -7,7 +7,9 @@ For example, an actor collection might look like this:
```yaml ```yaml
collections: collections:
Bruce Lee: Bruce Lee:
actor: tmdb plex_search:
all:
actor: tmdb
tmdb_person: 19429 tmdb_person: 19429
sort_title: !_Bruce Lee sort_title: !_Bruce Lee
sync_mode: sync sync_mode: sync
@ -19,13 +21,17 @@ Then you add another:
```yaml ```yaml
collections: collections:
Bruce Lee: Bruce Lee:
actor: tmdb plex_search:
all:
actor: tmdb
tmdb_person: 19429 tmdb_person: 19429
sort_title: !_Bruce Lee sort_title: !_Bruce Lee
sync_mode: sync sync_mode: sync
collection_order: release collection_order: release
Chris Pratt: Chris Pratt:
actor: tmdb plex_search:
all:
actor: tmdb
tmdb_person: 73457 tmdb_person: 73457
sort_title: !_Chris Pratt sort_title: !_Chris Pratt
sync_mode: sync sync_mode: sync
@ -45,7 +51,9 @@ For example, a template for those two collections might look like this:
```yaml ```yaml
templates: templates:
Actor: Actor:
actor: tmdb plex_search:
all:
actor: tmdb
tmdb_person: <<person>> tmdb_person: <<person>>
sort_title: !_<<collection_name>> sort_title: !_<<collection_name>>
sync_mode: sync sync_mode: sync
@ -85,7 +93,9 @@ Here's the full example Actor template and two different ways to use it, as it w
```yaml ```yaml
templates: templates:
Actor: Actor:
actor: tmdb plex_search:
all:
actor: tmdb
tmdb_person: <<person>> tmdb_person: <<person>>
sort_title: !_<<collection_name>> sort_title: !_<<collection_name>>
sync_mode: sync sync_mode: sync
@ -99,6 +109,34 @@ collections:
person: 73457 person: 73457
``` ```
## Multi-Template Variables
When using multiple Templates in a single definition you can send the same variable to all templates by using the `variables` attribute.
```yaml
templates:
Actor:
plex_search:
all:
actor: tmdb
tmdb_person: <<person>>
sort_title: !_<<collection_name>>
Common:
summary: "Movies that <<collection_name>> (TMDb ID: <<person>>) are in"
sync_mode: sync
collection_order: release
collections:
Bruce Lee:
variables: {person: 19429}
template: [{name: Actor}, {name: Common}]
Chris Pratt:
variables:
person: 19429
template:
- name: Actor
- name: Common
```
## Special Template Attributes ## Special Template Attributes
There are some attributes unique to `templates`; `default`, `optional`, `conditionals`, and `move_prefix`. There are some attributes unique to `templates`; `default`, `optional`, `conditionals`, and `move_prefix`.

Loading…
Cancel
Save