#############################################################
#                Dynamic Decade 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/decade                              #
#        template_variables:                                #
#          # Turn the separator collection on/off           #
#          use_separator: true                              #
#          # Separator style (red, blue, green, gray,       #
#              purple, stb, orig)                           #
#          sep_style: orig                                  #
#          # Sets how the collection is sorted              #
#          sort_by: critic_rating.desc                      #
#          # Sets the collection mode of the collection     #
#          collection_mode:                                 #
#          # Sets the value at the start of the sort title  #
#          collection_section: 12                           #
#          # Sets the number of items per collection        #
#          limit: 100                                       #
#          # Radarr Tag for existing items                  #
#          item_radarr_tag:                                 #
#############################################################

external_templates:
  pmm: templates
  template_variables:
    collection_section: 12

translations:
  pmm: translations

collections:
  Decade Collections:
    template:
      - name: separator
        separator: decade

dynamic_collections:
  Decade:
    type: decade
    title_format: Best of <<key_name>>
    template:
      - smart_filter
      - translation
      - shared
    template_variables:
      search_term:
        default: decade
      sort_by:
        default: critic_rating.desc
      limit:
        default: 100
      image:
        default: decade/best/<<key>>
      translation_key:
        default: decade