Skip to content

Commit

Permalink
Add minimum_items_<<key>> support to universe Defaults file (#2219)
Browse files Browse the repository at this point in the history
Co-authored-by: GitHub Action <[email protected]>
  • Loading branch information
YozoraXCII and actions-user authored Sep 10, 2024
1 parent 4990c91 commit 53f9642
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Added new studios : Disney Television Animation, DisneyToon Studios, Dynamic Pla
# Defaults
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
Add `minimum_items_<<key>>` to universe Default file

# Bug Fixes
Fixed multiple anime `int()` Errors
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.2-build33
2.0.2-build33.1
4 changes: 3 additions & 1 deletion defaults/both/universe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ templates:
mdblist_list_<<key>>.exists: false
value: <<trakt_url>>
default:
minimum_items_<<key>>: <<minimum_items>>
mdblist_list_<<key>>: <<mdblist_list>>
trakt_list_<<key>>: <<trakt_list>>
name_mapping_<<key>>: <<name_mapping>>
Expand All @@ -36,7 +37,8 @@ templates:
- imdb_list_<<key>>
- mdblist_url
- trakt_url
minimum_items: <<minimum_items>>
- minimum_items
minimum_items: <<minimum_items_<<key>>>>
name_mapping: <<name_mapping_<<key>>>>
imdb_list: <<imdb_list_<<key>>>>
trakt_list: <<trakt_list_<<key>>>>
Expand Down
4 changes: 2 additions & 2 deletions docs/defaults/collection_variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -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_<<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__<<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__<<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_<<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> |
Expand Down

0 comments on commit 53f9642

Please sign in to comment.