mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-25 05:50:21 +00:00
add use_all
template variables to Defaults Collections
This commit is contained in:
parent
2397bae9b9
commit
b167a1a5f3
3 changed files with 9 additions and 0 deletions
|
@ -13,6 +13,7 @@ Add Page Topics Options to `imdb_search`
|
|||
Add `lxml` Docker Version using an old lxml version that supports more cpus
|
||||
|
||||
# Updates
|
||||
Add `use_all` template variable to default collections, which allows all collections to be disabled with one variable.
|
||||
Let conditional `.not` and `.exists` work with default variables
|
||||
|
||||
# Defaults
|
||||
|
|
|
@ -64,6 +64,12 @@ templates:
|
|||
- file_poster_<<key>>.exists: false
|
||||
file_poster.exists: false
|
||||
value: <<url_poster>>
|
||||
final_use:
|
||||
conditions:
|
||||
- use_<<key>>.exists: true
|
||||
value: <<use_<<key>>>>
|
||||
- use_all: false
|
||||
value: false
|
||||
default:
|
||||
collection_section: "00"
|
||||
key: <<mapping_name>>
|
||||
|
@ -110,6 +116,7 @@ templates:
|
|||
- delete_collections_named
|
||||
- schedule
|
||||
run_definition:
|
||||
- <<final_use>>
|
||||
- <<use_<<key>>>>
|
||||
- <<allowed_libraries>>
|
||||
name_mapping: <<name_mapping>>
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
| Variable | Description & Values |
|
||||
|:----------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `language` | **Description:** Set the language of Collection Names and Summaries<br>**Default:** `default`<br>**Values:** `default` (English), `fr` (French), or `de` (German) |
|
||||
| `use_all` | **Description:** Turns off all Collections in a Defaults file.<br>**Values:** `false` to turn off the collection |
|
||||
| `use_<<key>>`<sup>1</sup> | **Description:** Turns off individual Collections in a Defaults file.<br>**Values:** `false` to turn off the collection |
|
||||
| `name_<<key>>`<sup>1</sup> | **Description:** Changes the name of the specified key's collection.<br>**Values:** New Collection Name |
|
||||
| `summary_<<key>>`<sup>1</sup> | **Description:** Changes the summary of the specified key's collection.<br>**Values:** New Collection Summary |
|
||||
|
|
Loading…
Reference in a new issue