mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-22 20:43:07 +00:00
[52] doc update
This commit is contained in:
parent
6a6364ef15
commit
9d91428e3d
3 changed files with 45 additions and 7 deletions
2
VERSION
2
VERSION
|
@ -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.
|
||||
|
||||
|
|
|
@ -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: <<person>>
|
||||
sort_title: !_<<collection_name>>
|
||||
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: <<person>>
|
||||
sort_title: !_<<collection_name>>
|
||||
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: <<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
|
||||
|
||||
There are some attributes unique to `templates`; `default`, `optional`, `conditionals`, and `move_prefix`.
|
||||
|
|
Loading…
Reference in a new issue