From c1f2c80b0743f60fb3c8444b6523da0fd48631bc Mon Sep 17 00:00:00 2001 From: nwithan8 Date: Fri, 17 Nov 2023 17:29:43 -0700 Subject: [PATCH] - Add Christmas Advent Calendar --- plex/pmm/collections/holidays/movies.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/plex/pmm/collections/holidays/movies.yml b/plex/pmm/collections/holidays/movies.yml index 639d86f..eccf718 100644 --- a/plex/pmm/collections/holidays/movies.yml +++ b/plex/pmm/collections/holidays/movies.yml @@ -2,6 +2,18 @@ external_templates: - repo: templates/collections - repo: templates/dynamic_collections +templates: + Christmas_Advent_Calendar: + allowed_library_types: movie + summary: Day <> of the Christmas Advent Calendar + sort_title: 061_Christmas_Advent_Calendar_<> # 061_ is after 060_ for Holiday templates, before 065_ for Collection templates + trakt_list: + - https://trakt.tv/users/pierredurrr/lists/advent-calendar + limit: <> + visible_home: yearly(12/<>) + visible_shared: yearly(12/<>) + visible_library: yearly(12/<>) + collections: # Recommended levels (will appear in the order below): # ++++ - Major holidays, especially those with a specific date or small range (top priority) @@ -324,3 +336,15 @@ collections: collection_order: random trakt_list: - https://trakt.tv/users/mzdiobolik/lists/hallmark-christmas-movies + +dynamic_collection: + Christmas Advent Calendar DC: # mapping name does not matter just needs to be unique + type: number + sync: true + data: + starting: 1 + ending: 25 + title_format: "🎄 Advent Calendar - Day {number}" + schedule: range(12/01-12/26) + template: + - Christmas_Advent_Calendar