Seasonal Collections¶
The seasonal
Default Metadata File is used to dynamically create seasonal collections based on holidays .
Requirements & Recommendations¶
Supported Library Types: Movie
Collections Section 000¶
Collection |
Key |
Description |
---|---|---|
|
|
Separator Collection to denote the Section of Collections. |
|
|
Collection of Movies related to New Year’s Day. |
|
|
Collection of Movies related to Valentine’s Day. |
|
|
Collection of Movies related to St. Patrick’s Day. |
|
|
Collection of Movies related to Easter. |
|
|
Collection of Movies related to Mother’s Day. |
|
|
Collection of Movies related to Memorial Day. |
|
|
Collection of Movies related to Father’s Day. |
|
|
Collection of Movies related to Independence Day. |
|
|
Collection of Movies related to Labor Day. |
|
|
Collection of Movies related to Halloween. |
|
|
Collection of Movies related to Veteran’s Day. |
|
|
Collection of Movies related to Thanksgiving. |
|
|
Collection of Movies related to Christmas. |
|
|
Collection of Movies related to Asian American Pacific Islander Month |
|
|
Collection of Movies related to Disability Month |
|
|
Collection of Movies related to Black History Month |
|
|
Collection of Movies related to LGBTQ Month |
|
|
Collection of Movies related to National Hispanic Heritage Month |
|
|
Collection of Movies related to Women’s History Month |
Config¶
The below YAML in your config.yml will create the collections:
libraries:
Movies:
metadata_path:
- pmm: seasonal
Template Variables¶
Template Variables can be used to manipulate the file in various ways to slightly change how it works without having to make your own local copy.
Note that the template_variables:
section only needs to be used if you do want to actually change how the defaults work. Any value not specified is its default value if it has one if not it’s just ignored.
All Shared Collection Variables are available as well as the additional Variables below which can be used to customize the file.
This file contains a Separator so all Shared Separator Variables are available as well.
Variable |
Description & Values |
||||
---|---|---|---|---|---|
|
Description: Adds the TMDb Collection IDs given to the specified key’s collection. Overrides the default tmdb_collection for that collection if used. |
||||
|
Description: Adds the TMDb Movie IDs given to the specified key’s collection. Overrides the default tmdb_movie for that collection if used. |
||||
|
Description: Adds the Movies in the IMDb List to the specified key’s collection. Overrides the default imdb_list for that collection if used. |
||||
|
Description: Adds the Movies in the Trakt List to the specified key’s collection. |
||||
|
Description: Adds the Movies in the MDb List to the specified key’s collection. |
||||
|
Description: Controls the Emoji Prefix for all Collections. Set to |
||||
|
Description: Controls the Emoji Prefix for the specified key’s collection. |
||||
|
Description: Changes the Builder Limit for all collections in this file. |
||||
|
Description: Changes the Builder Limit of the specified key’s collection. |
||||
|
Description: Changes the Sync Mode for all collections in a Defaults file.
|
||||
|
Description: Changes the Sync Mode of the specified key’s collection.
|
||||
|
Description: Changes the Smart Filter Sort for all collections in this file. |
||||
|
Description: Changes the Smart Filter Sort of the specified key’s collection. |
||||
|
Description: Changes the Schedule for all collections in this file. Use |
||||
|
Description: Changes the Schedule of the specified key’s collection. Overrides the default schedule for that collection if used. |
||||
|
Description: Overrides the default data dictionary. Defines the data that the custom dynamic collection processes. |
||||
|
Description: Appends to the default data dictionary. |
||||
|
Description: Exclude these Seasons from creating a Dynamic Collection. |
||||
|
Description: Changes the title format of the Dynamic Collections. |
||||
|
Description: Changes the summary format of the Dynamic Collections. |
Each default collection has a
key
that when calling to effect a specific collection you must replace<<key>>
with when calling.
The below is an example config.yml extract with some Template Variables added in to change how the file works.
libraries:
Movies:
metadata_path:
- pmm: seasonal
template_variables:
use_separator: true
sep_style: stb
use_independence: false
schedule_thanksgiving: range(10/01-10/30)
sort_by: random
# Add a custom holiday
append_data:
veteran: Veteran's Day
schedule_veteran: range(11/01-11/30)
imdb_list_veteran: https://www.imdb.com/list/ls565595526/
emoji_veteran: "🪖 "
Default values¶
These are lists provided for reference to show what values will be in use if you do no customization. If you want to customize these values, use the methods described above. These do not show how to change a name or a list.
Default data
¶
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
veteran: Veteran's Day
thanksgiving: Thanksgiving
christmas: Christmas
aapi: Asian American & Pacific Islander Heritage Month
disabilities: Day of Persons with Disabilities
black_history: Black History Month
lgbtq: LGBTQ+ Pride Month
latinx: Latinx Heritage Month
women: Women's History Month
Default tmdb_collection
¶
tmdb_collection:
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_movie
¶
tmdb_movie:
halloween:
- 23437 # A Nightmare on Elm Street (2010)
Default imdb_list
¶
imdb_list:
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/ls561621160/
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/
veteran:
- https://www.imdb.com/list/ls565595526/
thanksgiving:
- https://www.imdb.com/list/ls000835734/
- https://www.imdb.com/list/ls091597850/
christmas: https://www.imdb.com/list/ls000096828/
women:
- https://www.imdb.com/search/keyword/?keywords=women-in-film&ref_=fn_kw_kw_9
- https://www.imdb.com/search/keyword/?keywords=women%27s-rights&ref_=fn_kw_kw_2
- https://www.imdb.com/search/keyword/?keywords=women%27s-suffrage&ref_=fn_kw_kw_13
Default mdblist
¶
mdblist_list:
aapi:
- https://mdblist.com/lists/plexmetamanager/asian-american-pacific-islander-heritage-month
disabilities:
- https://mdblist.com/lists/plexmetamanager/day-of-persons-with-disabilities
lgbtq:
- https://mdblist.com/lists/plexmetamanager/lgbtq-pride-month
latinx:
- https://mdblist.com/lists/plexmetamanager/latinx-heritage-month
Default track_list
¶
trakt_list:
black_history:
- https://trakt.tv/users/hoochzilla/lists/black-cinema?display=movie&sort=title,asc
- https://trakt.tv/users/bluephi8/lists/black-history?display=movie&sort=title,asc
Default schedule
¶
schedule:
years: range(12/26-01/04)
valentine: range(02/01-02/29)
patrick: range(03/01-03/18)
easter: range(03/20-04/30)
mother: range(05/05-05/10)
memorial: range(5/18-6/7)
father: range(06/15-06/20)
independence: range(06/23-07/11)
labor: range(09/01-09/10)
halloween: range(10/01-10/31)
veteran: range(11/01-11/30)
thanksgiving: range(11/01-11/30)
christmas: range(12/01-12/31)
aapi: range(04/30-05/31)
disabilities: range(12/02-12/04)
black_history: range(02/01-03/01)
lgbtq: range(05/31-06/30)
latinx: range(09/15-10/15)
women: range(02/28-03/31)