mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2025-02-16 22:08:25 +00:00
[112] update seasonal
This commit is contained in:
parent
2ec14ff023
commit
f7e26e5c74
4 changed files with 116 additions and 33 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.17.3-develop111
|
||||
1.17.3-develop112
|
||||
|
|
|
@ -19,11 +19,22 @@ templates:
|
|||
sort_by_<<key>>: <<sort_by>>
|
||||
schedule_<<key>>: <<schedule>>
|
||||
limit_<<key>>: <<limit>>
|
||||
tmdb_collection_<<key>>: <<tmdb_collection>>
|
||||
tmdb_movie_<<key>>: <<tmdb_movie>>
|
||||
imdb_list_<<key>>: <<imdb_list>>
|
||||
trakt_list_<<key>>: <<trakt_list>>
|
||||
summary_<<key>>: <<season_summary>>
|
||||
name_<<key>>: <<season_name>>
|
||||
emoji_<<key>>: <<emoji>>
|
||||
optional:
|
||||
- schedule
|
||||
- tmdb_collection
|
||||
- tmdb_movie
|
||||
- limit
|
||||
- imdb_list
|
||||
- trakt_list
|
||||
- season_summary
|
||||
- season_name
|
||||
smart_label:
|
||||
sort_by: <<sort_by_<<key>>>>
|
||||
limit: <<limit_<<key>>>>
|
||||
|
@ -31,40 +42,57 @@ templates:
|
|||
label: <<smart_label>>
|
||||
schedule: <<schedule_<<key>>>>
|
||||
delete_not_scheduled: true
|
||||
tmdb_collection: <<tmdb_collection>>
|
||||
tmdb_movie: <<tmdb_movie>>
|
||||
tmdb_collection: <<tmdb_collection_<<key>>>>
|
||||
tmdb_movie: <<tmdb_movie_<<key>>>>
|
||||
imdb_list: <<imdb_list_<<key>>>>
|
||||
trakt_list: <<trakt_list_<<key>>>>
|
||||
cache_builders: 1
|
||||
summary: <<summary_<<key>>>>
|
||||
name: <<emoji_<<key>>>><<name_<<key>>>>
|
||||
|
||||
collections:
|
||||
Seasonal Collections:
|
||||
template:
|
||||
- name: separator off
|
||||
- name: separator
|
||||
separator: seasonal
|
||||
use_separator: false
|
||||
|
||||
dynamic_collections:
|
||||
Seasonal:
|
||||
type: custom
|
||||
data:
|
||||
years: 🎊 New Year's Day
|
||||
valentine: 💘 Valentine's Day
|
||||
patrick: ☘ St. Patrick's Day
|
||||
easter: 🐰 Easter
|
||||
mother: 🤱 Mother's Day
|
||||
memorial: 🪖 Memorial Day
|
||||
father: 👨 Father's Day
|
||||
independence: 🎆 Independence Day
|
||||
labor: ⚒ Labor Day
|
||||
halloween: 🎃 Halloween
|
||||
thanksgiving: 🦃 Thanksgiving
|
||||
christmas: 🎅 Christmas
|
||||
years: New Year's Day
|
||||
valentine: Valentine's Day
|
||||
patrick: St. Patrick's Day
|
||||
easter: Easter
|
||||
mother: Mother's Day
|
||||
memorial: Memorial Day
|
||||
father: Father's Day
|
||||
independence: Independence Day
|
||||
labor: Labor Day
|
||||
halloween: Halloween
|
||||
thanksgiving: Thanksgiving
|
||||
christmas: Christmas
|
||||
title_format: <<key_name>> <<library_typeU>>s
|
||||
template:
|
||||
- holiday
|
||||
- translation
|
||||
- shared
|
||||
- arr
|
||||
- imdb
|
||||
template_variables:
|
||||
emoji:
|
||||
years: "🎊 "
|
||||
valentine: "💘 "
|
||||
patrick: "☘ "
|
||||
easter: "🐰 "
|
||||
mother: "🤱 "
|
||||
memorial: "🪖 "
|
||||
father: "👨 "
|
||||
independence: "🎆 "
|
||||
labor: "⚒ "
|
||||
halloween: "🎃 "
|
||||
thanksgiving: "🦃 "
|
||||
christmas: "🎅 "
|
||||
schedule:
|
||||
years: range(12/26-01/04)
|
||||
valentine: range(02/01-02/29)
|
||||
|
@ -125,6 +153,4 @@ dynamic_collections:
|
|||
default: seasonal/<<key>>
|
||||
translation_key:
|
||||
default: season
|
||||
use_separator:
|
||||
default: false
|
||||
|
||||
|
|
|
@ -41,8 +41,8 @@ All [Shared Variables](../variables) are available as well as the additional Var
|
|||
| `order_<<key>>` | **Description:** Controls the sort order of the collections in their collection section.<br>**Values:** Any number |
|
||||
| `collection_mode` | **Description:** Controls the collection mode of all collections in this file.<br>**Values:**<table class="clearTable"><tr><td>`default`</td><td>Library default</td></tr><tr><td>`hide`</td><td>Hide Collection</td></tr><tr><td>`hide_items`</td><td>Hide Items in this Collection</td></tr><tr><td>`show_items`</td><td>Show this Collection and its Items</td></tr></table> |
|
||||
| `minimum_items` | **Description:** Controls the minimum items that the collection must have to be created.<br>**Default:** `2`<br>**Values:** Any number |
|
||||
| `movie_<<key>>` | **Description:** Adds the TMDb Movie IDs given to the specified key's collection. Overrides the [default movie](#default-movie) for that movie if used.<br>**Values:** List of TMDb Movie IDs |
|
||||
| `name_mapping_<<key>>` | **Description:** Sets the name mapping value for using assets of the specified key's collection.Overrides the [default name_mapping](#default-name_mapping) for that movie if used.<br>**Values:** Any String |
|
||||
| `movie_<<key>>` | **Description:** Adds the TMDb Movie IDs given to the specified key's collection. Overrides the [default movie](#default-movie) for that collection if used.<br>**Values:** List of TMDb Movie IDs |
|
||||
| `name_mapping_<<key>>` | **Description:** Sets the name mapping value for using assets of the specified key's collection.Overrides the [default name_mapping](#default-name_mapping) for that collection if used.<br>**Values:** Any String |
|
||||
| `sort_title` | **Description:** Sets the sort title for all collections. Use `<<collection_name>>` to use the collection name. **Example:** `"!02_<<collection_name>>"`<br>**Values:** Any String with `<<collection_name>>` |
|
||||
| `sort_title_<<key>>` | **Description:** Sets the sort title of the specified key's collection.<br>**Default:** `sort_title`<br>**Values:** Any String |
|
||||
| `build_collection` | **Description:** Controls if you want the collection to actually be built. i.e. you may just want these movies sent to Radarr.<br>**Values:** `false` to not build the collection |
|
||||
|
|
|
@ -43,18 +43,24 @@ Note that the `templates_variables:` section only needs to be used if you do wan
|
|||
|
||||
All [Shared Variables](../variables) are available as well as the additional Variables below which can be used to customize the file.
|
||||
|
||||
| Variable | Description & Values |
|
||||
|:-------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `use_separator` | **Description:** Turn the separator collection off.<br>**Values:** `true` to turn on the collection |
|
||||
| `sep_style` | **Description:** Separator Style.<br>**Default:** `orig`<br>**Values:** `orig`, `red`, `blue`, `green`, `gray`, `purple`, or `stb` |
|
||||
| `limit` | **Description:** Changes the Builder Limit for all collections in a Defaults file.<br>**Values:** Number Greater then 0 |
|
||||
| `limit_<<key>>` | **Description:** Changes the Builder Limit of the specified key's collection.<br>**Default:** `limit`<br>**Values:** Number Greater then 0 |
|
||||
| `sort_by` | **Description:** Changes the Smart Filter Sort for all collections in a Defaults file.<br>**Default:** `release.desc`<br>**Values:** [Any `smart_filter` Sort Option](../../metadata/builders/smart.md#sort-options) |
|
||||
| `sort_by_<<key>>` | **Description:** Changes the Smart Filter Sort of the specified key's collection.<br>**Default:** `sort_by`<br>**Values:** [Any `smart_filter` Sort Option](../../metadata/builders/smart.md#sort-options) |
|
||||
| `schedule_<<key>>` | **Description:** Changes the Schedule of the specified key's collection.<br>**Default:**<table class="clearTable"><tr><td><code>🎊 New Year's Day Movies</code></td><td>range(12/26-01/04)</td></tr><tr><td><code>💘 Valentine's Day Movies</code></td><td>range(02/01-02/29)</td></tr><tr><td><code>☘ St. Patrick's Day Movies</code></td><td>range(03/01-03/18)</td></tr><tr><td><code>🐰 Easter Movies</code></td><td>range(03/20-04/30)</td></tr><tr><td><code>🤱 Mother's Day Movies</code></td><td>range(05/05-05/10)</td></tr><tr><td><code>🪖 Memorial Day Movies</code></td><td>range(5/18-6/7)</td></tr><tr><td><code>👨 Father's Day Movies</code></td><td>range(06/15-06/20)</td></tr><tr><td><code>🎆 Independence Day Movies</code></td><td>range(06/23-07/11)</td></tr><tr><td><code>⚒ Labor Day Movies</code></td><td>range(09/01-09/10)</td></tr><tr><td><code>🎃 Halloween Movies</code></td><td>range(10/01-10/31)</td></tr><tr><td><code>🦃 Thanksgiving Movies</code></td><td>range(11/01-11/30)</td></tr><tr><td><code>🎅 Christmas Movies</code></td><td>range(12/01-12/31)</td></tr></table><br>**Values:** [Any Schedule Option](../../metadata/details/schedule) |
|
||||
| `exclude` | **Description:** Exclude these Seasons from creating a Dynamic Collection.<br>**Values:** List of Seasons Keys |
|
||||
| `seasonal_name` | **Description:** Changes the title format of the Dynamic Collections.<br>**Default:** `<<key_name>> <<library_translationU>>s`<br>**Values:** Any string with `<<key_name>>` in it. |
|
||||
| `seasonal_summary` | **Description:** Changes the summary format of the Dynamic Collections.<br>**Default:** `A collection of <<key_name>> <<library_translation>>s that may relate to the season.`<br>**Values:** Any string. |
|
||||
| Variable | Description & Values |
|
||||
|:--------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `use_separator` | **Description:** Turn the separator collection off.<br>**Values:** `true` to turn on the collection |
|
||||
| `sep_style` | **Description:** Separator Style.<br>**Default:** `orig`<br>**Values:** `orig`, `red`, `blue`, `green`, `gray`, `purple`, or `stb` |
|
||||
| `tmdb_collection_<<key>>` | **Description:** Adds the TMDb Collection IDs given to the specified key's collection. Overrides the [default tmdb_collection](#default-tmdb_collection) for that collection if used.<br>**Values:** List of TMDb Collection IDs |
|
||||
| `tmdb_movie_<<key>>` | **Description:** Adds the TMDb Movie IDs given to the specified key's collection. Overrides the [default tmdb_movie](#default-tmdb_movie) for that collection if used.<br>**Values:** List of TMDb Movie IDs | |
|
||||
| `imdb_list_<<key>>` | **Description:** Adds the Movies in the IMDb List to the specified key's collection. Overrides the [default imdb_list](#default-imdb_list) for that collection if used.<br>**Values:** List of IMDb List URLs | | |
|
||||
| `trakt_list_<<key>>` | **Description:** Adds the Movies in the Trakt List to the specified key's collection.<br>**Values:** List of Trakt List URLs | | | |
|
||||
| `emoji` | **Description:** Controls the Emoji Prefix for all Collections. Set to `""` to remove all emojis.<br>**Values:** Any String |
|
||||
| `emoji_<<key>>` | **Description:** Controls the Emoji Prefix for the specified key's collection.<br>**Values:** Any String |
|
||||
| `limit` | **Description:** Changes the Builder Limit for all collections in a Defaults file.<br>**Values:** Number Greater then 0 |
|
||||
| `limit_<<key>>` | **Description:** Changes the Builder Limit of the specified key's collection.<br>**Default:** `limit`<br>**Values:** Number Greater then 0 |
|
||||
| `sort_by` | **Description:** Changes the Smart Filter Sort for all collections in a Defaults file.<br>**Default:** `release.desc`<br>**Values:** [Any `smart_filter` Sort Option](../../metadata/builders/smart.md#sort-options) |
|
||||
| `sort_by_<<key>>` | **Description:** Changes the Smart Filter Sort of the specified key's collection.<br>**Default:** `sort_by`<br>**Values:** [Any `smart_filter` Sort Option](../../metadata/builders/smart.md#sort-options) |
|
||||
| `schedule_<<key>>` | **Description:** Changes the Schedule of the specified key's collection.<br>**Default:**<table class="clearTable"><tr><td><code>🎊 New Year's Day Movies</code></td><td>range(12/26-01/04)</td></tr><tr><td><code>💘 Valentine's Day Movies</code></td><td>range(02/01-02/29)</td></tr><tr><td><code>☘ St. Patrick's Day Movies</code></td><td>range(03/01-03/18)</td></tr><tr><td><code>🐰 Easter Movies</code></td><td>range(03/20-04/30)</td></tr><tr><td><code>🤱 Mother's Day Movies</code></td><td>range(05/05-05/10)</td></tr><tr><td><code>🪖 Memorial Day Movies</code></td><td>range(5/18-6/7)</td></tr><tr><td><code>👨 Father's Day Movies</code></td><td>range(06/15-06/20)</td></tr><tr><td><code>🎆 Independence Day Movies</code></td><td>range(06/23-07/11)</td></tr><tr><td><code>⚒ Labor Day Movies</code></td><td>range(09/01-09/10)</td></tr><tr><td><code>🎃 Halloween Movies</code></td><td>range(10/01-10/31)</td></tr><tr><td><code>🦃 Thanksgiving Movies</code></td><td>range(11/01-11/30)</td></tr><tr><td><code>🎅 Christmas Movies</code></td><td>range(12/01-12/31)</td></tr></table><br>**Values:** [Any Schedule Option](../../metadata/details/schedule) |
|
||||
| `exclude` | **Description:** Exclude these Seasons from creating a Dynamic Collection.<br>**Values:** List of Seasons Keys |
|
||||
| `seasonal_name` | **Description:** Changes the title format of the Dynamic Collections.<br>**Default:** `<<key_name>> <<library_translationU>>s`<br>**Values:** Any string with `<<key_name>>` in it. |
|
||||
| `seasonal_summary` | **Description:** Changes the summary format of the Dynamic Collections.<br>**Default:** `A collection of <<key_name>> <<library_translation>>s that may relate to the season.`<br>**Values:** Any string. |
|
||||
|
||||
The below is an example config.yml extract with some Template Variables added in to change how the file works.
|
||||
|
||||
|
@ -69,4 +75,55 @@ libraries:
|
|||
use_independence: false
|
||||
schedule_thanksgiving: range(10/01-10/30)
|
||||
sort_by: random
|
||||
```
|
||||
|
||||
## Default `tmdb_collection`
|
||||
|
||||
```yaml
|
||||
halloween:
|
||||
- 185103 # Hotel Transylvania
|
||||
- 11716 # Addams Family
|
||||
- 750822 # Addams Family Animated
|
||||
- 313086 # Conjuring
|
||||
- 91361 # Halloween Collection
|
||||
- 8581 # A Nightmare on Elm Street Collection
|
||||
- 1733 # The Mummy Collection
|
||||
- 8091 # Alien Collection
|
||||
- 2980 # Ghostbusters
|
||||
- 751156 # Hocus Pocus
|
||||
```
|
||||
|
||||
## Default `tmdb_collection`
|
||||
|
||||
```yaml
|
||||
halloween:
|
||||
- 23437 # A Nightmare on Elm Street (2010)
|
||||
```
|
||||
|
||||
## Default `imdb_list`
|
||||
|
||||
```yaml
|
||||
years: https://www.imdb.com/list/ls066838460/
|
||||
valentine:
|
||||
- https://www.imdb.com/list/ls000094398/
|
||||
- https://www.imdb.com/list/ls057783436/
|
||||
- https://www.imdb.com/list/ls064427905/
|
||||
patrick: https://www.imdb.com/list/ls063934595/
|
||||
easter:
|
||||
- https://www.imdb.com/list/ls062665509/
|
||||
- https://www.imdb.com/list/ls051733651/
|
||||
mother: https://www.imdb.com/list/ls072551197/
|
||||
memorial: https://www.imdb.com/list/ls002014923/
|
||||
father: https://www.imdb.com/list/ls020471057/
|
||||
independence:
|
||||
- https://www.imdb.com/list/ls068664510/
|
||||
- https://www.imdb.com/list/ls080925875/
|
||||
labor: https://www.imdb.com/list/ls002014923/
|
||||
halloween:
|
||||
- https://www.imdb.com/list/ls023118929/
|
||||
- https://www.imdb.com/list/ls000099714/
|
||||
thanksgiving:
|
||||
- https://www.imdb.com/list/ls000835734/
|
||||
- https://www.imdb.com/list/ls091597850/
|
||||
christmas: https://www.imdb.com/list/ls000096828/
|
||||
```
|
Loading…
Add table
Reference in a new issue