#############################################################
#                   Seasonal Collections                    #
#         Created by Yozora, Bullmoose20, & Sohjiro         #
#############################################################
#  Call this from your config.yml (Movie only)              #
#  If nothing is specified these are the defaults           #
#                                                           #
#    metadata_path:                                         #
#      - git: PMM/movie/seasonal                            #
#        template_variables:                                #
#          # Sets the collection mode of the collection     #
#          collection_mode:                                 #
#          # Sets the value at the start of the sort title  #
#          collection_section: "00"                         #
#          # Sets how all collections are sorted            #
#          sort_by: title.asc                               #
#          # Turn the separator collection on/off           #
#          use_separator: false                             #
#          # Separator style (red, blue, green, gray,       #
#              purple, stb, orig)                           #
#          sep_style: orig                                  #
#                                                           #
#          # For each collection use the "key" to set       #
#          # the options.                                   #
#          # Available collections                          #
#          #   KEY              COLLECTION                  #
#          #   independence     Independence Day            #
#          #   easter           Easter                      #
#          #   valentine        Valentine's Day             #
#          #   patrick          St. Patrick's Day           #
#          #   thanksgiving     Thanksgiving                #
#          #   halloween        Halloween                   #
#          #   christmas        Christmas                   #
#          #   years            New Year's Day              #
#                                                           #
#          # Available options. Replace "key" with the      #
#          # desired collection's key from the chart above. #
#                                                           #
#          # Turn the collection on/off                     #
#          use_key: true                                    #
#          # Set the schedule of a collection.              #
#          schedule_key:                                    #
#                                                           #
#          # Default Schedules                              #
#          #   KEY              COLLECTION                  #
#          #   independence     range(06/23-07/11)          #
#          #   easter           range(03/15-04/30)          #
#          #   valentine        range(02/01-02/29)          #
#          #   patrick          range(03/01-03/18)          #
#          #   thanksgiving     range(11/01-11/30)          #
#          #   halloween        range(10/01-10/31)          #
#          #   christmas        range(12/01-12/31)          #
#          #   years            range(12/26-01/04)          #
#                                                           #
#          # Sets how the collection is sorted              #
#          sort_by_key: title.asc                           #
#          # Set visible_library for the collection         #
#          visible_library_key:                             #
#          # Set visible_home for the collection            #
#          visible_home_key:                                #
#          # Set visible_shared for the collection          #
#          visible_shared_key:                              #
#          # Adds missing from the collection to radarr     #
#          radarr_add_missing_key:                          #
#          # Radarr Folder to add to                        #
#          radarr_folder_key:                               #
#          # Radarr Tag for added missing                   #
#          radarr_tag_key:                                  #
#          # Radarr Tag for existing items                  #
#          item_radarr_tag_key:                             #
#############################################################

external_templates:
  git: PMM/templates

templates:
  Holiday:
    default:
      key: <<collection_name>>
      sort_by: title.asc
      sort_by_<<key>>: <<sort_by>>
    optional:
      - schedule_<<key>>
    schedule: <<schedule_<<key>>>>
    smart_label: <<sort_by_<<key>>>>
    summary: A collection of <<collection_name>> and other movies that may relate to the season.
    delete_not_scheduled: true

collections:
  Seasonal Collections:
    template:
      - name: separator off
        separator: seasonal

  Independence Day:
    variables:
      key: independence
    template:
      - name: Holiday
        schedule_independence: range(06/23-07/11)
      - name: shared
        visible_home_<<key>>: true
        visible_shared_<<key>>: true
        image: seasonal/<<key>>
      - name: arr
    imdb_list: 
      - https://www.imdb.com/list/ls068664510/
      - https://www.imdb.com/list/ls080925875/

  Easter:
    variables:
      key: easter
    template:
      - name: Holiday
        schedule_easter: range(03/15-04/30)
      - name: shared
        visible_home_<<key>>: true
        visible_shared_<<key>>: true
        image: seasonal/<<key>>
      - name: arr
    imdb_list: 
      - https://www.imdb.com/list/ls062665509/
      - https://www.imdb.com/list/ls051733651/

  Valentine's Day:
    variables:
      key: valentine
    template:
      - name: Holiday
        schedule_valentine: range(02/01-02/29)
      - name: shared
        visible_home_<<key>>: true
        visible_shared_<<key>>: true
        image: seasonal/<<key>>
      - name: arr
    imdb_list:
      - https://www.imdb.com/list/ls000094398/
      - https://www.imdb.com/list/ls057783436/
      - https://www.imdb.com/list/ls064427905/

  St. Patrick's Day:
    variables:
      key: patrick
    template:
      - name: Holiday
        schedule_patrick: range(03/01-03/18)
      - name: shared
        visible_home_<<key>>: true
        visible_shared_<<key>>: true
        image: seasonal/<<key>>
      - name: arr
    imdb_list: https://www.imdb.com/list/ls063934595/

  Thanksgiving:
    variables:
      key: thanksgiving
    template:
      - name: Holiday
        schedule_thanksgiving: range(11/01-11/30)
      - name: shared
        visible_home_<<key>>: true
        visible_shared_<<key>>: true
        image: seasonal/<<key>>
      - name: arr
    imdb_list: 
      - https://www.imdb.com/list/ls000835734/
      - https://www.imdb.com/list/ls091597850/

  Halloween:
    variables:
      key: halloween
    template:
      - name: Holiday
        schedule_halloween: range(10/01-10/31)
      - name: shared
        visible_home_<<key>>: true
        visible_shared_<<key>>: true
        image: seasonal/<<key>>
      - name: arr
    imdb_list:
      - https://www.imdb.com/list/ls023118929/
      - https://www.imdb.com/list/ls000099714/
    tmdb_collection:
      - 91361    # Halloween Collection
      - 8581     # A Nightmare on Elm Street Collection
      - 1733     # The Mummy Collection
      - 8091     # Alien Collection
    tmdb_movie:
      - 23437    # A Nightmare on Elm Street (2010)

  Christmas:
    variables:
      key: christmas
    template:
      - name: Holiday
        schedule_christmas: range(12/01-12/31)
      - name: shared
        visible_home_<<key>>: true
        visible_shared_<<key>>: true
        image: seasonal/<<key>>
      - name: arr
    imdb_list: https://www.imdb.com/list/ls000096828/

  New Year's Day:
    variables:
      key: years
    template:
      - name: Holiday
        schedule_years: range(12/26-01/04)
      - name: shared
        visible_home_<<key>>: true
        visible_shared_<<key>>: true
        image: seasonal/<<key>>
      - name: arr
    imdb_list: https://www.imdb.com/list/ls066838460/