## 3_decades_top.yml

templates:
  decade_top:
    cache_builders: 6
    collection_mode: hide
    collection_order: custom
    delete_not_scheduled: false
    limit: 250
    sort_title: "+3_<<num>>_<<collection_name>>"
    sync_mode: sync
    visible_home: false
    visible_library: false
    visible_shared: false
    imdb_search:
      language: <<language>>
      limit: 500
      release.after: <<release.after>>
      release.before: <<release.before>>
      sort_by: rating.desc
      type: <<type>>
      votes.gte: <<votes.gte>>

collections:
  "Top Rated of the 1940s":
    summary: "Top rated movies of the 1940s"
    url_poster: https://raw.githubusercontent.com/0x5f3/pmm.config/main/assets/3_decades_top/decades_top_1940s.png
    template: {
                    name: decade_top,
                    num: "Z",
                    type: "movie,tv_movie",
                    release.after: 1940-01-01,
                    release.before: 1949-12-31,
                    votes.gte: 100,
                    language: "en"
                    }

  "Top Rated of the 1950s":
    summary: "Top rated movies of the 1950s"
    url_poster: https://raw.githubusercontent.com/0x5f3/pmm.config/main/assets/3_decades_top/decades_top_1950s.png
    template: {
                    name: decade_top,
                    num: "Y",
                    type: "movie,tv_movie",
                    release.after: 1950-01-01,
                    release.before: 1959-12-31,
                    votes.gte: 100,
                    language: "en"
                    }

  "Top Rated of the 1960s":
    summary: "Top rated movies of the 1960s"
    url_poster: https://raw.githubusercontent.com/0x5f3/pmm.config/main/assets/3_decades_top/decades_top_1960s.png
    template: {
                    name: decade_top,
                    num: "X",
                    type: "movie,tv_movie",
                    release.after: 1960-01-01,
                    release.before: 1969-12-31,
                    votes.gte: 100,
                    language: "en"
                    }

  "Top Rated of the 1970s":
    summary: "Top rated movies of the 1970s"
    url_poster: https://raw.githubusercontent.com/0x5f3/pmm.config/main/assets/3_decades_top/decades_top_1970s.png
    template: {
                    name: decade_top,
                    num: "W",
                    type: "movie,tv_movie",
                    release.after: 1970-01-01,
                    release.before: 1979-12-31,
                    votes.gte: 100,
                    language: "en"
                    }

  "Top Rated of the 1980s":
    summary: "Top rated movies of the 1980s"
    url_poster: https://raw.githubusercontent.com/0x5f3/pmm.config/main/assets/3_decades_top/decades_top_1980s.png
    template: {
                    name: decade_top,
                    num: "V",
                    type: "movie,tv_movie",
                    release.after: 1980-01-01,
                    release.before: 1989-12-31,
                    votes.gte: 100,
                    language: "en"
                    }

  "Top Rated of the 1990s":
    summary: "Top rated movies of the 1990s"
    url_poster: https://raw.githubusercontent.com/0x5f3/pmm.config/main/assets/3_decades_top/decades_top_1990s.png
    template: {
                    name: decade_top,
                    num: "U",
                    type: "movie,tv_movie",
                    release.after: 1990-01-01,
                    release.before: 1999-12-31,
                    votes.gte: 100,
                    language: "en"
                    }

  "Top Rated of the 2000s":
    summary: "Top rated movies of the 2000s"
    url_poster: https://raw.githubusercontent.com/0x5f3/pmm.config/main/assets/3_decades_top/decades_top_2000s.png
    template: {
                    name: decade_top,
                    num: "T",
                    type: "movie,tv_movie",
                    release.after: 2000-01-01,
                    release.before: 2009-12-31,
                    votes.gte: 1000,
                    language: "en"
                    }

  "Top Rated of the 2010s":
    summary: "Top rated movies of the 2010s"
    url_poster: https://raw.githubusercontent.com/0x5f3/pmm.config/main/assets/3_decades_top/decades_top_2010s.png
    template: {
                    name: decade_top,
                    num: "S",
                    type: "movie,tv_movie",
                    release.after: 2010-01-01,
                    release.before: 2019-12-31,
                    votes.gte: 1000,
                    language: "en"
                    }

  "Top Rated of the 2020s":
    summary: "Top rated movies of the 2020s"
    url_poster: https://raw.githubusercontent.com/0x5f3/pmm.config/main/assets/3_decades_top/decades_top_2020s.png
    template: {
                    name: decade_top,
                    num: "R",
                    type: "movie,tv_movie",
                    release.after: 2020-01-01,
                    release.before: 2029-12-31,
                    votes.gte: 1000,
                    language: "en"
                    }