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

external_templates:
  pmm: templates
  template_variables:
    collection_section: 16

translations:
  pmm: translations

collections:
  Golden Globe Best Motion Pictures:
    variables:
      key: best
    template:
      - name: shared
        sort: Golden Globes !1
        allowed_libraries: movie
        image: award/golden/best_picture_winner
      - name: arr
      - name: custom
      - name: translation
        translation_key: golden_best
    trakt_list: https://trakt.tv/users/maxwelldeux/lists/golden-globe-award-best-motion-picture

dynamic_collections:
  Golden Globes Awards:
    type: number
    sync: true
    data:
      starting: current_year-5
      ending: current_year
    title_format: Golden Globe <<key_name>>
    template:
      - use_year_collections
      - imdb
      - translation
      - shared
      - arr
      - custom
    template_variables:
      imdb_list:
        default: https://www.imdb.com/search/title/?release_date=<<key>>-01-01,<<key>>-12-31&groups=golden_globe_winner&sort=<<imdb_sort>>
      imdb_sort:
        default: moviemeter,asc
      image:
        default: award/golden/winner/<<key>>
      translation_key:
        default: golden_year