Add minimum_items_<<key>> support to universe Defaults file (#2219)

Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
YozoraXCII 2024-09-10 18:49:47 +01:00 committed by GitHub
parent 4990c91590
commit 53f9642904
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 4 deletions

View file

@ -18,6 +18,7 @@ Added new studios : Disney Television Animation, DisneyToon Studios, Dynamic Pla
# Defaults # Defaults
Fixed #2150; change xmen list to a new one Fixed #2150; change xmen list to a new one
Added `A Quiet Place: Day One` to the `A Quiet Place` collection in the `franchise` Defaults file Added `A Quiet Place: Day One` to the `A Quiet Place` collection in the `franchise` Defaults file
Add `minimum_items_<<key>>` to universe Default file
# Bug Fixes # Bug Fixes
Fixed multiple anime `int()` Errors Fixed multiple anime `int()` Errors

View file

@ -1 +1 @@
2.0.2-build33 2.0.2-build33.1

View file

@ -26,6 +26,7 @@ templates:
mdblist_list_<<key>>.exists: false mdblist_list_<<key>>.exists: false
value: <<trakt_url>> value: <<trakt_url>>
default: default:
minimum_items_<<key>>: <<minimum_items>>
mdblist_list_<<key>>: <<mdblist_list>> mdblist_list_<<key>>: <<mdblist_list>>
trakt_list_<<key>>: <<trakt_list>> trakt_list_<<key>>: <<trakt_list>>
name_mapping_<<key>>: <<name_mapping>> name_mapping_<<key>>: <<name_mapping>>
@ -36,7 +37,8 @@ templates:
- imdb_list_<<key>> - imdb_list_<<key>>
- mdblist_url - mdblist_url
- trakt_url - trakt_url
minimum_items: <<minimum_items>> - minimum_items
minimum_items: <<minimum_items_<<key>>>>
name_mapping: <<name_mapping_<<key>>>> name_mapping: <<name_mapping_<<key>>>>
imdb_list: <<imdb_list_<<key>>>> imdb_list: <<imdb_list_<<key>>>>
trakt_list: <<trakt_list_<<key>>>> trakt_list: <<trakt_list_<<key>>>>

View file

@ -25,9 +25,9 @@ File paths need to be valid in the context where Kometa is running; this is prim
| `file_poster` | **Description:** Sets the poster filepath for all collections.<br>**Values:** Filepath directly to the Image | | `file_poster` | **Description:** Sets the poster filepath for all collections.<br>**Values:** Filepath directly to the Image |
| `file_poster_<<key>>`<sup>1</sup> | **Description:** Sets the poster filepath of the specified key's collection.<br>**Values:** Filepath directly to the Image | | `file_poster_<<key>>`<sup>1</sup> | **Description:** Sets the poster filepath of the specified key's collection.<br>**Values:** Filepath directly to the Image |
| `url_background` | **Description:** Sets the background url for all collections.<br>**Values:** URL directly to the Image | | `url_background` | **Description:** Sets the background url for all collections.<br>**Values:** URL directly to the Image |
| `url_background__<<key>>`<sup>1</sup> | **Description:** Sets the background url of the specified key's collection.<br>**Values:** URL directly to the Image | | `url_background_<<key>>`<sup>1</sup> | **Description:** Sets the background url of the specified key's collection.<br>**Values:** URL directly to the Image |
| `file_background` | **Description:** Sets the background filepath for all collections.<br>**Values:** Filepath directly to the Image | | `file_background` | **Description:** Sets the background filepath for all collections.<br>**Values:** Filepath directly to the Image |
| `file_background__<<key>>`<sup>1</sup> | **Description:** Sets the background filepath of the specified key's collection.<br>**Values:** Filepath directly to the Image | | `file_background_<<key>>`<sup>1</sup> | **Description:** Sets the background filepath of the specified key's collection.<br>**Values:** Filepath directly to the Image |
| `visible_library` | **Description:** Controls visible on Library Recommended Tab for all collections in a Defaults file. (Only works with Plex Pass)<br>**Values:**<table class="clearTable"><tr><td>`true`</td><td>Visible</td></tr><tr><td>`false`</td><td>Not Visible</td></tr><tr><td>[Any `schedule` Option](../config/schedule.md)</td><td>Visible When Scheduled</td></tr></table> | | `visible_library` | **Description:** Controls visible on Library Recommended Tab for all collections in a Defaults file. (Only works with Plex Pass)<br>**Values:**<table class="clearTable"><tr><td>`true`</td><td>Visible</td></tr><tr><td>`false`</td><td>Not Visible</td></tr><tr><td>[Any `schedule` Option](../config/schedule.md)</td><td>Visible When Scheduled</td></tr></table> |
| `visible_library_<<key>>`<sup>1</sup> | **Description:** Controls visible on Library Recommended Tab of the specified key's collection. (Only works with Plex Pass)<br>**Default:** `visible_library`<br>**Values:**<table class="clearTable"><tr><td>`true`</td><td>Visible</td></tr><tr><td>`false`</td><td>Not Visible</td></tr><tr><td>[Any `schedule` Option](../config/schedule.md)</td><td>Visible When Scheduled</td></tr></table> | | `visible_library_<<key>>`<sup>1</sup> | **Description:** Controls visible on Library Recommended Tab of the specified key's collection. (Only works with Plex Pass)<br>**Default:** `visible_library`<br>**Values:**<table class="clearTable"><tr><td>`true`</td><td>Visible</td></tr><tr><td>`false`</td><td>Not Visible</td></tr><tr><td>[Any `schedule` Option](../config/schedule.md)</td><td>Visible When Scheduled</td></tr></table> |
| `visible_home` | **Description:** Controls visible on Home Tab for all collections in a Defaults file. (Only works with Plex Pass)<br>**Values:**<table class="clearTable"><tr><td>`true`</td><td>Visible</td></tr><tr><td>`false`</td><td>Not Visible</td></tr><tr><td>[Any `schedule` Option](../config/schedule.md)</td><td>Visible When Scheduled</td></tr></table> | | `visible_home` | **Description:** Controls visible on Home Tab for all collections in a Defaults file. (Only works with Plex Pass)<br>**Values:**<table class="clearTable"><tr><td>`true`</td><td>Visible</td></tr><tr><td>`false`</td><td>Not Visible</td></tr><tr><td>[Any `schedule` Option](../config/schedule.md)</td><td>Visible When Scheduled</td></tr></table> |