Plex-Meta-Manager/defaults/overlays/commonsense.yml
2024-01-05 16:06:39 -05:00

150 lines
4.1 KiB
YAML

##############################################################################
# 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 #
##############################################################################
external_templates:
pmm: templates
template_variables:
default:
key: <<overlay_name>>
pre_text: ""
post_text: "+"
pre_nr_text: ""
post_nr_text: ""
horizontal_align: left
vertical_align: bottom
conditionals:
pre:
default: <<pre_text>>
conditions:
- overlay_name: NR
value: <<pre_nr_text>>
post:
default: <<post_text>>
conditions:
- overlay_name: NR
value: <<post_nr_text>>
vertical_offset:
default: 15
conditions:
- vertical_align.exists: false
value: 270
- vertical_align: center
value: 0
- vertical_align: top
value: 15
- vertical_align: bottom
value: 30
horizontal_offset:
default: 15
conditions:
- horizontal_align: center
value: 0
- horizontal_align: [left, right]
value: 15
pmm:
conditions:
- file.exists: false
file_<<key>>.exists: false
url.exists: false
url_<<key>>.exists: false
git.exists: false
git_<<key>>.exists: false
repo.exists: false
repo_<<key>>.exists: false
value: Commonsense
back_color: "#00000099"
back_width: 305
back_height: 105
addon_position: left
addon_offset: 15
final_name: text(<<pre>><<overlay_name>><<post>>)
templates:
commonsense:
ignore_blank_results: true
plex_search:
validate: false
any:
content_rating: <<rating>>
overlays:
1:
template:
- name: standard
- {name: commonsense, rating: "1, 01, G, TV-G, TV-Y, G - All Ages, gb/U, gb/0+, E, gb/E, A, no/A, no/5, no/05"}
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, PG - Children, M/PG, gb/PG, TV-PG, no/6, no/06"}
7:
template:
- name: standard
- {name: commonsense, rating: "7, 07, TV-Y7, TV-Y7-FV, no/7, no/07"}
8:
template:
- name: standard
- {name: commonsense, rating: "8, 08"}
9:
template:
- name: standard
- {name: commonsense, rating: "9, 09, gb/9+, no/9, no/09"}
10:
template:
- name: standard
- {name: commonsense, rating: "10, no/10"}
11:
template:
- name: standard
- {name: commonsense, rating: "11, no/11"}
12:
template:
- name: standard
- {name: commonsense, rating: "12, 12+, gb/12, gb/12A, no/12"}
13:
template:
- name: standard
- {name: commonsense, rating: "13, PG-13, PG-13 - Teens 13 or older"}
14:
template:
- name: standard
- {name: commonsense, rating: "14, TV-14, gb/14+"}
15:
template:
- name: standard
- {name: commonsense, rating: "15, gb/15, no/15"}
16:
template:
- name: standard
- {name: commonsense, rating: "16, no/16, Passed, Approved, Open"}
17:
template:
- name: standard
- {name: commonsense, rating: "17, R, R - 17+ (violence & profanity), TVMA, TV-MA, MA-17"}
18:
template:
- name: standard
- {name: commonsense, rating: "18, gb/18, gb/R18, gb/X, no/18, NC-17, X, R+ - Mild Nudity, Rx - Hentai"}
NR:
template:
- {name: standard, key: nr}
- {name: commonsense, rating: "None, NR, Not Rated, Unrated"}