## 1_documentary.yml

templates:
  plex:
    cache_builders: 4
    collection_mode: hide
    delete_not_scheduled: false
    sort_title: "+1_<<num>>_<<collection_name>>"
    sync_mode: sync
    visible_home: false
    visible_library: false
    visible_shared: false

collections:
  "Documentaries: All":
    summary: "Documentaries"
    url_poster: config/assets/1_documentary/documentary_all.png
    template: {
                    name: plex,
                    num: "F"
                }
    smart_filter:
      all:
        genre: documentary
      sort_by: title.asc

  "Documentaries: Random":
    summary: "Random documentaries"
    url_poster: config/assets/1_documentary/documentary_random.png
    template: {
                    name: plex,
                    num: "G"
                }
    smart_filter:
      all:
        genre: documentary
      sort_by: random
      limit: 250

  "Documentaries: Recently Released":
    summary: "Recently released documentaries"
    url_poster: config/assets/1_documentary/documentary_recently-released.png
    template: {
                    name: plex,
                    num: "H"
                }
    smart_filter:
      all:
        genre: documentary
      sort_by: release.desc
      limit: 250

  "Documentaries: Recently Added":
    summary: "Recently added documentaries"
    url_poster: config/assets/1_documentary/documentary_recently-added.png
    visible_library: true
    template: {
                    name: plex,
                    num: "I"
                }
    smart_filter:
      all:
        genre: documentary
      sort_by: added.desc
      limit: 100

  "Documentaries: Top Rated":
    summary: "Top rated documentaries"
    url_poster: config/assets/1_documentary/documentary_top-rated.png
    template: {
                    name: plex,
                    num: "J"
                }
    smart_filter:
      all:
        genre: documentary
      sort_by: critic_rating.desc
      limit: 250