[4] Merge remote-tracking branch 'YozoraXCII/defaults-useall' into nightly

pull/2005/head
meisnate12 8 months ago
commit f82452eb2e

@ -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>>

Binary file not shown.

After

Width:  |  Height:  |  Size: 520 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 301 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 520 KiB

@ -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…
Cancel
Save