[23] update dynamic.md with added options

This commit is contained in:
meisnate12 2022-03-11 18:11:47 -05:00
parent 695f9f4ab3
commit cf50c07e42
2 changed files with 107 additions and 1 deletions

View file

@ -1 +1 @@
1.16.0-develop22
1.16.0-develop23

View file

@ -123,6 +123,8 @@ Depending on the `type` of dynamic collection, `data` is used to specify the opt
| [`decade`](#decade) | Create a collection for each decade found in the library | ❌ | ✅ | ❌ | ❌ | ❌ |
| [`country`](#country) | Create a collection for each country found in the library | ❌ | ✅ | ❌ | ✅ | ✅ |
| [`resolution`](#resolution) | Create a collection for each resolution found in the library | ❌ | ✅ | ❌ | ❌ | ❌ |
| [`subtitle_language`](#subtitle-language) | Create a collection for each subtitle language found in the library | ❌ | ✅ | ❌ | ❌ | ❌ |
| [`audio_language`](#audio-language) | Create a collection for each audio language found in the library | ❌ | ✅ | ❌ | ❌ | ❌ |
| [`network`](#network) | Create a collection for each network found in the library | ❌ | ❌ | ✅ | ❌ | ❌ |
| [`mood`](#mood) | Create a collection for each mood found in the library | ❌ | ❌ | ❌ | ✅ | ❌ |
| [`style`](#style) | Create a collection for each style found in the library | ❌ | ❌ | ❌ | ✅ | ❌ |
@ -1209,6 +1211,110 @@ dynamic_collections:
480p: SD Movies
```
### Subtitle Language
Create a collection for each subtitle language found in the library
<table class="dualTable colwidths-auto align-default table">
<tr>
<th><code>type</code> Option</th>
<td><code>subtitle_language</code></td>
</tr>
<tr>
<th><code>data</code> Value</th>
<td>Not Used</td>
</tr>
<tr>
<th>Keys</th>
<td>Subtitle Language</td>
</tr>
<tr>
<th>Key Names</th>
<td>Subtitle Language</td>
</tr>
<tr>
<th>Default <code>title_format</code></th>
<td><code>Top &lt;&lt;key_name&gt;&gt; &lt;&lt;library_type&gt;&gt;s</code></td>
</tr>
<tr>
<th>Default Template</th>
<td>
```yaml
default_template:
smart_filter:
limit: 50
sort_by: critic_rating.asc
any:
subtitle_language: <<subtitle_language>>
```
</td>
</tr>
</table>
#### Example:
* Create a collection for each subtitle language found in the library
```yaml
dynamic_collections:
Subtitle Languages: # mapping name does not matter just needs to be unique
type: subtitle_language
```
### Audio Language
Create a collection for each audio language found in the library
<table class="dualTable colwidths-auto align-default table">
<tr>
<th><code>type</code> Option</th>
<td><code>audio_language</code></td>
</tr>
<tr>
<th><code>data</code> Value</th>
<td>Not Used</td>
</tr>
<tr>
<th>Keys</th>
<td>Audio Language</td>
</tr>
<tr>
<th>Key Names</th>
<td>Subtitle Language</td>
</tr>
<tr>
<th>Default <code>title_format</code></th>
<td><code>Top &lt;&lt;key_name&gt;&gt; &lt;&lt;library_type&gt;&gt;s</code></td>
</tr>
<tr>
<th>Default Template</th>
<td>
```yaml
default_template:
smart_filter:
limit: 50
sort_by: critic_rating.asc
any:
audio_language: <<audio_language>>
```
</td>
</tr>
</table>
#### Example:
* Create a collection for each audio language found in the library
```yaml
dynamic_collections:
Audio Languages: # mapping name does not matter just needs to be unique
type: audio_language
```
### Network
Create a collection for each network found in the library.