Plex-Meta-Manager/defaults/overlays/content_rating_uk.yml
2024-04-22 10:20:12 -04:00

86 lines
2.7 KiB
YAML

##############################################################################
# UK Content Rating Overlay #
# Created by Yozora, Bullmoose20, & Sohjiro #
# EDITING THIS FILE MAY CAUSE PULLING NEW UPDATES TO FAIL #
# https://kometa.wiki/en/latest/defaults/overlays/content_rating_uk #
##############################################################################
external_templates:
default: templates
template_variables:
default:
key: <<overlay_name>>
horizontal_offset: 15
horizontal_align: left
vertical_offset: 270
vertical_align: bottom
back_width: 305
back_height: 105
back_radius: 30
back_color: '#00000099'
conditionals:
inside_color:
default: "c"
conditions:
- color: false
value: ""
default:
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: cr/uk<<overlay_name>><<inside_color>>
templates:
cr_uk:
ignore_blank_results: true
plex_search:
validate: false
any:
content_rating: <<rating>>
overlays:
u:
template:
- name: standard
- {name: cr_uk, rating: "U, 0, 1, 01, 2, 02, 3, 03, 4, 04, 5, 05, 6, 06, G, TV-G, TV-Y, G - All Ages, gb/U, gb/Uc, gb/0+, gb/6+, gb/Kids & Family, E, gb/E, A, no/A"}
pg:
template:
- name: standard
- {name: cr_uk, rating: "gb/PG, gb/9+, gb/7, gb/7+, TV-PG, TV-Y7, TV-Y7-FV, PG, 7, 07, 8, 08, 9, 09, 10, 11, PG - Children, no/5, no/05, no/6, no/06, no/7, no/07"}
12:
template:
- name: standard
- {name: cr_uk, rating: "gb/12, gb/A, gb/Caution, gb/G, PG-13 - Teens 13 or older, no/9, no/09, no/10, no/11, no/12"}
12a:
template:
- name: standard
- {name: cr_uk, rating: "12A, gb/12A, 12+, PG-13, TV-13, 12, PG-13 - Teens 13 or older, no/9, no/09, no/10, no/11, no/12"}
15:
template:
- name: standard
- {name: cr_uk, rating: "gb/15, gb/14+, gb/16, gb/16+, gb/AA, TV-14, 13, 14, 15, PG-13 - Teens 13 or older, no/15, no/16"}
18:
template:
- name: standard
- {name: cr_uk, rating: "gb/18, gb/18+, MA-17, TVMA, TV-MA, R, 16, 17, 18, R - 17+ (violence & profanity), no/18"}
r18:
template:
- name: standard
- {name: cr_uk, rating: "R18, gb/R18, gb/X, X, NC-17, R+ - Mild Nudity, Rx - Hentai"}
nr:
template:
- {name: standard, key: nr}
- {name: cr_uk, rating: "None, NR, Not Rated, Unrated"}