- Get rid of buggy DC for holidays, use explicit collections instead

This commit is contained in:
nwithan8 2023-10-21 13:39:02 -06:00
parent 8d405223a7
commit b1c03192d9
3 changed files with 210 additions and 183 deletions

View File

@ -2,166 +2,119 @@ external_templates:
- repo: templates/collections
- repo: templates/dynamic_collections
dynamic_collections:
## Use DC as suffix to avoid name conflicts with static collections
## These get generated in the order they are listed here, so put the more intensive ones at the bottom
Per-Holiday DC Movies: # mapping name does not matter just needs to be unique
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
horror: Horror
trick: Kid-Friendly Halloween
slash: Slasher
thanksgiving: Thanksgiving
christmas: Christmas
hallmark: Hallmark Christmas
title_format: <<key_name>> <<library_type>>s
template:
- Per_Holiday
template_variables:
emoji:
years: "🎊 "
valentine: "💘 "
patrick: "☘ "
easter: "🐰 "
mother: "🤱 "
memorial: "🪖 "
father: "👨 "
independence: "🎆 "
labor: "⚒ "
halloween: "🎃 "
horror: "👻 "
trick: "🍬 "
slash: "🔪 "
thanksgiving: "🦃 "
christmas: "🎅 "
hallmark: "🎁 "
schedule:
years: range(12/26-01/04)
valentine: range(02/01-02/20)
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)
horror: range(10/01-10/31)
trick: range(10/01-10/31)
slash: range(10/01-10/31)
thanksgiving: range(11/01-11/30)
christmas: range(12/01-12/31)
hallmark: range(12/01-12/31)
level:
years: "++"
valentine: "++"
patrick: "++"
easter: "++"
mother: "++"
memorial: "++"
father: "++"
independence: "++"
labor: "++"
halloween: "+++"
horror: "+"
trick: "++"
slash: "+"
thanksgiving: "++"
christmas: "++"
hallmark: "+"
seasonal_summary:
years: "Ring in the New Year with these movies!"
valentine: "Love me tender, love me sweet, never let me go."
patrick: "Kiss Me, I'm Irish."
easter: "Hoppy Easter!"
mother: "Thanks Mom!"
memorial: "Remembering those who gave their lives for our freedom."
father: "Thanks Dad!"
independence: "Celebrate the 4th of July with these movies!"
labor: "Labor Day is a day off, but these movies are hard work."
halloween: "Boo!"
horror: "Don't be scared, it's just a movie."
trick: "Trick or Treat!"
slash: "He's right behind you!"
thanksgiving: "Gobble gobble!"
christmas: "Cozy up with some Christmas classics."
hallmark: "Christmas movies with extra-sap!"
collections:
"🎊 New Year's Day":
schedule: range(12/26-01/05)
visible_home: range(12/26-01/04)
visible_shared: range(12/26-01/04)
template: { name: Holiday,
level: "++" }
summary: "Ring in the New Year with these movies!"
imdb_list:
years:
- https://www.imdb.com/list/ls066838460/
valentine:
"💘 Valentine's Day":
schedule: range(02/01-02/21)
visible_home: range(02/01-02/20)
visible_shared: range(02/01-02/20)
template: { name: Holiday,
level: "++" }
summary: "Love me tender, love me sweet, never let me go."
imdb_list:
- https://www.imdb.com/list/ls000094398/
- https://www.imdb.com/list/ls057783436/
- https://www.imdb.com/list/ls064427905/
patrick:
"☘ St. Patrick's Day":
schedule: range(03/01-03/19)
visible_home: range(03/01-03/18)
visible_shared: range(03/01-03/18)
template: { name: Holiday,
level: "++" }
summary: "Kiss Me, I'm Irish."
imdb_list:
- https://www.imdb.com/list/ls063934595/
easter:
"🐰 Easter":
schedule: range(03/20-05/01)
visible_home: range(03/20-04/30)
visible_shared: range(03/20-04/30)
template: { name: Holiday,
level: "++" }
summary: "Hoppy Easter!"
imdb_list:
- https://www.imdb.com/list/ls062665509/
- https://www.imdb.com/list/ls051733651/
mother:
"🤱 Mother's Day":
schedule: range(05/05-05/11)
visible_home: range(05/05-05/10)
visible_shared: range(05/05-05/10)
template: { name: Holiday,
level: "++" }
summary: "Thanks Mom!"
imdb_list:
- https://www.imdb.com/list/ls072551197/
memorial:
"🪖 Memorial Day":
schedule: range(5/18-6/8)
visible_home: range(5/18-6/7)
visible_shared: range(5/18-6/7)
template: { name: Holiday,
level: "++" }
summary: "Remembering those who gave their lives for our freedom."
imdb_list:
- https://www.imdb.com/list/ls002014923/
father:
"👨 Father's Day":
schedule: range(06/15-06/21)
visible_home: range(06/15-06/20)
visible_shared: range(06/15-06/20)
template: { name: Holiday,
level: "++" }
summary: "Thanks Dad!"
imdb_list:
- https://www.imdb.com/list/ls020471057/
independence:
"🎆 Independence Day":
schedule: range(06/23-07/11)
visible_home: range(06/23-07/10)
visible_shared: range(06/23-07/10)
template: { name: Holiday,
level: "++" }
summary: "Celebrate the 4th of July with these movies!"
imdb_list:
- https://www.imdb.com/list/ls068664510/
- https://www.imdb.com/list/ls080925875/
labor:
"⚒ Labor Day":
schedule: range(09/01-09/11)
visible_home: range(09/01-09/10)
visible_shared: range(09/01-09/10)
template: { name: Holiday,
level: "++" }
summary: "Labor Day is a day off, but these movies are hard work."
imdb_list:
- https://www.imdb.com/list/ls002014923/
halloween:
"🎃 Halloween":
schedule: range(10/01-11/01)
visible_home: range(10/01-10/31)
visible_shared: range(10/01-10/31)
template: { name: Holiday,
level: "+++" }
summary: "Boo!"
imdb_list:
- 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/
trakt_list:
valentine:
- https://trakt.tv/users/movie-pal/lists/valentine-s-day
- https://trakt.tv/users/barsaky/lists/den-svateho-valentina-valentine-s-day
- https://trakt.tv/users/abbelea/lists/movies-best-of-love
patrick:
- https://trakt.tv/users/triadcool/lists/irish
- https://trakt.tv/users/sympli/lists/st-patricks-day-movies
halloween:
- https://trakt.tv/users/29zombies/lists/halloween
- https://trakt.tv/users/galacticboy/lists/not-so-spooky-halloween
# - https://trakt.tv/users/kairbear08/lists/halloween
# - https://trakt.tv/users/mybicycle/lists/halloween
# - https://trakt.tv/users/jayinftl/lists/halloween
# - https://trakt.tv/users/roswellgeek/lists/halloween
trick:
- https://trakt.tv/users/hdlists/lists/halloween-movies-for-kids
horror:
- https://trakt.tv/users/lish408/lists/31-days-of-horror-2023
slash:
- https://trakt.tv/users/hdlists/lists/80s-slasher-movies
thanksgiving:
- https://trakt.tv/users/galacticboy/lists/thanksgiving-movies
- https://trakt.tv/users/shahid1296/lists/thanksgiving
- https://trakt.tv/users/retrogran/lists/thanksgiving-season-movies
- https://trakt.tv/users/padawan_seneca/lists/vibe-autumn-tv-series-movies
christmas:
- https://trakt.tv/users/movistapp/lists/christmas-movies
- https://trakt.tv/users/questdvd/lists/absolute-hayes-christmas-classics
- https://trakt.tv/users/littlestella3/lists/christmas
hallmark:
- https://trakt.tv/users/mzdiobolik/lists/hallmark-christmas-movies
tmdb_collection:
halloween:
- 185103 # Hotel Transylvania
- 11716 # Addams Family
- 750822 # Addams Family Animated
@ -173,15 +126,74 @@ dynamic_collections:
- 2980 # Ghostbusters
- 751156 # Hocus Pocus
tmdb_movie:
halloween:
- 23437 # A Nightmare on Elm Street (2010)
visible_library:
default: true
visible_home:
default: true
visible_shared:
default: true
image:
default: seasonal/<<key>>
translation_key:
default: season
"👻 Horror":
schedule: range(10/01-11/01)
visible_home: range(10/01-10/31)
visible_shared: range(10/01-10/31)
template: { name: Holiday,
level: "+" }
summary: "Don't be scared, it's just a movie."
trakt_list:
- https://trakt.tv/users/lish408/lists/31-days-of-horror-2023 # TODO: Change annually
"🍬 Trick or Treat":
schedule: range(10/01-11/01)
visible_home: range(10/01-10/31)
visible_shared: range(10/01-10/31)
template: { name: Holiday,
level: "++" }
summary: "Trick or Treat!"
trakt_list:
- https://trakt.tv/users/hdlists/lists/halloween-movies-for-kids
"🔪 Slasher":
schedule: range(10/01-11/01)
visible_home: range(10/01-10/31)
visible_shared: range(10/01-10/31)
template: { name: Holiday,
level: "+" }
summary: "He's right behind you!"
trakt_list:
- https://trakt.tv/users/hdlists/lists/80s-slasher-movies
"🦃 Thanksgiving":
schedule: range(11/01-12/01)
visible_home: range(11/01-11/30)
visible_shared: range(11/01-11/30)
template: { name: Holiday,
level: "++" }
summary: "Gobble gobble!"
imdb_list:
- https://www.imdb.com/list/ls000835734/
- https://www.imdb.com/list/ls091597850/
trakt_list:
- https://trakt.tv/users/galacticboy/lists/thanksgiving-movies
- https://trakt.tv/users/shahid1296/lists/thanksgiving
- https://trakt.tv/users/retrogran/lists/thanksgiving-season-movies
- https://trakt.tv/users/padawan_seneca/lists/vibe-autumn-tv-series-movies
"🎅 Christmas":
schedule: range(12/01-01/01)
visible_home: range(12/01-12/31)
visible_shared: range(12/01-12/31)
template: { name: Holiday,
level: "++" }
summary: "Cozy up with some Christmas classics."
imdb_list:
- https://www.imdb.com/list/ls000096828/
trakt_list:
- https://trakt.tv/users/movistapp/lists/christmas-movies
- https://trakt.tv/users/questdvd/lists/absolute-hayes-christmas-classics
- https://trakt.tv/users/littlestella3/lists/christmas
"🎁 Hallmark Christmas":
schedule: range(12/01-01/01)
visible_home: range(12/01-12/31)
visible_shared: range(12/01-12/31)
template: { name: Holiday,
level: "+" }
summary: "Christmas movies with extra-sap!"
trakt_list:
- https://trakt.tv/users/mzdiobolik/lists/hallmark-christmas-movies

View File

@ -80,6 +80,21 @@ templates:
- weekly(sunday)
visible_library: true
Holiday:
default:
level: ""
optional:
- poster_url
sort_title: 06_+<<level>>_<<collection_name>>
smart_label: title.asc
sync_mode: sync
collection_order: custom
visible_library: true
url_poster: <<poster_url>>
run_again: true
visible_home: true
visible_shared: true
Collection:
default:
level: ""

View File

@ -87,7 +87,7 @@ templates:
trakt_list_<<key>>: <<trakt_list>>
mdblist_list_<<key>>: <<mdblist_list>>
summary_<<key>>: <<seasonal_summary>>
name_<<key>>: <<seasonal_name>>
name_<<key>>: <<key>>
emoji_<<key>>: <<emoji>>
optional:
- poster_url