############################################################################## # Commonsense Overlay # # Created by Yozora, Bullmoose20, & Sohjiro # # EDITING THIS FILE MAY CAUSE PULLING NEW UPDATES TO FAIL # # https://metamanager.wiki/en/latest/defaults/overlays/commonsense.html # ############################################################################## external_templates: pmm: templates template_variables: conditionals: pre: default: <> conditions: - overlay_name: NR value: <> post: default: <> conditions: - overlay_name: NR value: <> default: key: <> pre_text: "" post_text: "+" pre_nr_text: "" post_nr_text: "" horizontal_offset: 15 horizontal_align: left vertical_offset: 270 vertical_align: bottom back_color: "#00000099" back_width: 305 back_height: 105 pmm: Commonsense addon_position: left addon_offset: 15 final_name: text(<
><><>)

templates:
  commonsense:
    ignore_blank_results: true
    plex_search:
      validate: false
      any:
        content_rating: <>

overlays:
  1:
    template:
      - name: standard
      - {name: commonsense, rating: "1, 0, 01, 00, G, TV-G, TV-Y"}
  2:
    template:
      - name: standard
      - {name: commonsense, rating: "2, 02"}
  3:
    template:
      - name: standard
      - {name: commonsense, rating: "3, 03"}
  4:
    template:
      - name: standard
      - {name: commonsense, rating: "4, 04"}
  5:
    template:
      - name: standard
      - {name: commonsense, rating: "5, 05"}
  6:
    template:
      - name: standard
      - {name: commonsense, rating: "6, 06, GP, PG, M/PG, TV-PG"}
  7:
    template:
      - name: standard
      - {name: commonsense, rating: "7, 07, TV-Y7, TV-Y7-FV"}
  8:
    template:
      - name: standard
      - {name: commonsense, rating: "8, 08"}
  9:
    template:
      - name: standard
      - {name: commonsense, rating: "9, 09"}
  10:
    template:
      - name: standard
      - {name: commonsense, rating: "10"}
  11:
    template:
      - name: standard
      - {name: commonsense, rating: "11"}
  12:
    template:
      - name: standard
      - {name: commonsense, rating: "12"}
  13:
    template:
      - name: standard
      - {name: commonsense, rating: "13, PG-13"}
  14:
    template:
      - name: standard
      - {name: commonsense, rating: "14, TV-14"}
  15:
    template:
      - name: standard
      - {name: commonsense, rating: "15"}
  16:
    template:
      - name: standard
      - {name: commonsense, rating: "16, Passed, Approved, Open"}
  17:
    template:
      - name: standard
      - {name: commonsense, rating: "17"}
  18:
    template:
      - name: standard
      - {name: commonsense, rating: "18, NC-17, M, TV-MA, R, X"}
  NR:
    template:
      - {name: standard, key: nr}
      - {name: commonsense, rating: "None, NR, Not Rated, Unrated"}