#############################################################
#                 Golden Globes Collections                 #
#         Created by Yozora, Bullmoose20, & Sohjiro         #
#         Credit to maxwelldeux for the Trakt Lists         #
#############################################################
#  Call this from your config.yml (Movie or Show)           #
#  If nothing is specified these are the defaults           #
#                                                           #
#    metadata_path:                                         #
#      - git: PMM/award/golden                              #
#        template_variables:                                #
#          # Turn the individual year collections on/off    #
#          use_year_collections: true                       #
#          # Sets the sort of the IMDb Search               #
#          imdb_sort: moviemeter,desc                       #
#          collection_order: custom                         #
#          # Sets the collection mode of the collection     #
#          collection_mode:                                 #
#          # Sets the value at the start of the sort title  #
#          collection_section: 16                           #
#############################################################

external_templates:
  git: PMM/templates
  template_variables:
    collection_section: 16

templates:
  Golden:
    default:
      imdb_sort: moviemeter,asc
    summary: <<key>> Golden Globe Winners
    imdb_list: https://www.imdb.com/search/title/?release_date=<<key>>-01-01,<<key>>-12-31&groups=golden_globe_winner&sort=<<imdb_sort>>
    url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/award/golden/winner/<<key>>.jpg

collections:
  Golden Globe Best Motion Pictures:
    template:
      - name: award
        image: golden/best_picture_winner
      - name: shared
        sort: Golden Globes !1
    trakt_list_details: 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 Globes <<key_name>>
    template:
      - use_year_collections
      - Golden
      - award
      - shared
