##############################################################################
#                        Sundance Awards Collections                         #
#                 Created by Yozora, Bullmoose20, & Sohjiro                  #
#             Credit to pjcob & maxwelldeux for the Trakt Lists              #
#          EDITING THIS FILE MAY CAUSE PULLING NEW UPDATES TO FAIL           #
#      https://metamanager.wiki/en/latest/defaults/award/sundance.html       #
##############################################################################

external_templates:
  pmm: templates
  template_variables:
    collection_section: 16

translations:
  pmm: translations

collections:
  Sundance Grand Jury Winners:
    variables:
      key: grand
    template:
      - name: shared
        sort: Sundance !1
        allowed_libraries: movie
        image: award/sundance/grand_jury_winner
      - name: arr
      - name: custom
      - name: translation
        translation_key: sundance_best
    trakt_list_details: https://trakt.tv/users/maxwelldeux/lists/sundance-film-festival-grand-jury-prize

dynamic_collections:
  Sundance Film Festival:
    type: number
    sync: true
    data:
      starting: current_year-5
      ending: current_year
    title_format: Sundance Film Festival <<key_name>>
    template:
      - use_year_collections
      - trakt
      - translation
      - shared
      - arr
      - custom
    template_variables:
      trakt_list:
        default: https://trakt.tv/users/pjcob/lists/<<key>>-sundance
      allowed_libraries:
        default: movie
      image:
        default: award/sundance/<<key>>
      translation_key:
        default: sundance_year