diff --git a/VERSION b/VERSION index 0327001f..fddc74db 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.17.3-develop51 +1.17.3-develop52 diff --git a/docs/home/guides/wt/wt-04.md b/docs/home/guides/wt/wt-04.md index a6668ff6..f5e956de 100644 --- a/docs/home/guides/wt/wt-04.md +++ b/docs/home/guides/wt/wt-04.md @@ -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. diff --git a/docs/metadata/templates.md b/docs/metadata/templates.md index 6c25441c..05e30ea1 100644 --- a/docs/metadata/templates.md +++ b/docs/metadata/templates.md @@ -7,7 +7,9 @@ For example, an actor collection might look like this: ```yaml collections: Bruce Lee: - actor: tmdb + plex_search: + all: + actor: tmdb tmdb_person: 19429 sort_title: !_Bruce Lee sync_mode: sync @@ -19,13 +21,17 @@ Then you add another: ```yaml collections: Bruce Lee: - actor: tmdb + plex_search: + all: + actor: tmdb tmdb_person: 19429 sort_title: !_Bruce Lee sync_mode: sync collection_order: release Chris Pratt: - actor: tmdb + plex_search: + all: + actor: tmdb tmdb_person: 73457 sort_title: !_Chris Pratt sync_mode: sync @@ -45,7 +51,9 @@ For example, a template for those two collections might look like this: ```yaml templates: Actor: - actor: tmdb + plex_search: + all: + actor: tmdb tmdb_person: <> sort_title: !_<> 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 templates: Actor: - actor: tmdb + plex_search: + all: + actor: tmdb tmdb_person: <> sort_title: !_<> sync_mode: sync @@ -99,6 +109,34 @@ collections: 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: <> + sort_title: !_<> + Common: + summary: "Movies that <> (TMDb ID: <>) 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 There are some attributes unique to `templates`; `default`, `optional`, `conditionals`, and `move_prefix`.