Plex-Meta-Manager/defaults/overlays/content_rating_uk.yml
2023-08-14 11:36:54 -04:00

86 lines
2.6 KiB
YAML

##############################################################################
# UK Content Rating Overlay #
# Created by Yozora, Bullmoose20, & Sohjiro #
# EDITING THIS FILE MAY CAUSE PULLING NEW UPDATES TO FAIL #
# https://metamanager.wiki/en/latest/defaults/overlays/content_rating_uk.html#
##############################################################################
external_templates:
pmm: 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: ""
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: 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, 1, 01, 2, 02, 3, 03, 4, 04, 5, 05, 6, 06, G, TV-G, TV-Y, G - All Ages, gb/U, gb/0+, E, gb/E, A, no/A"}
pg:
template:
- name: standard
- {name: cr_uk, rating: "gb/PG, gb/9+, 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, 12, 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+, 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, 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"}