mirror of
https://github.com/Kometa-Team/Community-Configs.git
synced 2025-11-06 08:28:53 -05:00
allow text within the csm age overlay
This commit is contained in:
parent
c0830d0b46
commit
60072e2b82
@ -10,6 +10,8 @@
|
|||||||
# overlay_path: #
|
# overlay_path: #
|
||||||
# - git: PMM/overlays/age #
|
# - git: PMM/overlays/age #
|
||||||
# template_variables: #
|
# template_variables: #
|
||||||
|
# # Set text you want before the rating #
|
||||||
|
# pre_text: "" #
|
||||||
# # Set episode or season to overlay #
|
# # Set episode or season to overlay #
|
||||||
# overlay_level: #
|
# overlay_level: #
|
||||||
# # Set the horizontal offset for the overlay #
|
# # Set the horizontal offset for the overlay #
|
||||||
@ -45,15 +47,23 @@
|
|||||||
templates:
|
templates:
|
||||||
Content-Rating:
|
Content-Rating:
|
||||||
conditionals:
|
conditionals:
|
||||||
|
pre:
|
||||||
|
default: <<pre_text>>
|
||||||
|
conditions:
|
||||||
|
- overlay_name: NR
|
||||||
|
value: ""
|
||||||
rating_style:
|
rating_style:
|
||||||
default: "+"
|
default: "+"
|
||||||
conditions:
|
conditions:
|
||||||
- overlay_name: NR
|
- overlay_name: NR
|
||||||
value: ""
|
value: ""
|
||||||
|
|
||||||
|
|
||||||
optional:
|
optional:
|
||||||
- overlay_level
|
- overlay_level
|
||||||
- use_<<slug>>
|
- use_<<slug>>
|
||||||
default:
|
default:
|
||||||
|
pre_text: ""
|
||||||
overlay: <<overlay_name>>
|
overlay: <<overlay_name>>
|
||||||
horizontal_offset: 15
|
horizontal_offset: 15
|
||||||
horizontal_align: left
|
horizontal_align: left
|
||||||
@ -70,7 +80,7 @@ templates:
|
|||||||
allowed_library_types: <<use_<<slug>>>>
|
allowed_library_types: <<use_<<slug>>>>
|
||||||
ignore_blank_results: true
|
ignore_blank_results: true
|
||||||
overlay:
|
overlay:
|
||||||
name: text(<<overlay_name>><<rating_style>>)
|
name: text(<<pre>><<overlay_name>><<rating_style>>)
|
||||||
horizontal_offset: <<horizontal_offset>>
|
horizontal_offset: <<horizontal_offset>>
|
||||||
horizontal_align: <<horizontal_align>>
|
horizontal_align: <<horizontal_align>>
|
||||||
vertical_offset: <<vertical_offset>>
|
vertical_offset: <<vertical_offset>>
|
||||||
@ -91,8 +101,11 @@ overlays:
|
|||||||
template:
|
template:
|
||||||
- name: Content-Rating
|
- name: Content-Rating
|
||||||
plex_search:
|
plex_search:
|
||||||
|
validate: false
|
||||||
any:
|
any:
|
||||||
content_rating.regex: '(?i)\b1\b|\b0\b|\bG\b|\bTV-Y\b|\bTV-G\b'
|
# content_rating.regex: '(?i)\b1\b|\b0\b|\bG\b|\bTV-Y\b|\bTV-G\b'
|
||||||
|
content_rating: 1, 0, G, TV-G, TV-Y
|
||||||
|
|
||||||
2:
|
2:
|
||||||
template:
|
template:
|
||||||
- name: Content-Rating
|
- name: Content-Rating
|
||||||
@ -121,14 +134,18 @@ overlays:
|
|||||||
template:
|
template:
|
||||||
- name: Content-Rating
|
- name: Content-Rating
|
||||||
plex_search:
|
plex_search:
|
||||||
|
validate: false
|
||||||
any:
|
any:
|
||||||
content_rating.regex: '(?i)\b6\b|\bGP\b|\bPG\b|\bM\/PG\b|\bTV-PG\b'
|
# content_rating.regex: '(?i)\b6\b|\bGP\b|\bPG\b|\bM\/PG\b|\bTV-PG\b'
|
||||||
|
content_rating: 6, GP, PG, M/PG, TV-PG
|
||||||
7:
|
7:
|
||||||
template:
|
template:
|
||||||
- name: Content-Rating
|
- name: Content-Rating
|
||||||
plex_search:
|
plex_search:
|
||||||
|
validate: false
|
||||||
any:
|
any:
|
||||||
content_rating.regex: '(?i)\b7\b|\bTV-Y7\b|\bTV-Y7-FV\b'
|
# content_rating.regex: '(?i)\b7\b|\bTV-Y7\b|\bTV-Y7-FV\b'
|
||||||
|
content_rating: 7, TV-Y7, TV-Y7-FV
|
||||||
8:
|
8:
|
||||||
template:
|
template:
|
||||||
- name: Content-Rating
|
- name: Content-Rating
|
||||||
@ -163,14 +180,18 @@ overlays:
|
|||||||
template:
|
template:
|
||||||
- name: Content-Rating
|
- name: Content-Rating
|
||||||
plex_search:
|
plex_search:
|
||||||
|
validate: false
|
||||||
any:
|
any:
|
||||||
content_rating.regex: '(?i)\b13\b|\bPG-13\b'
|
# content_rating.regex: '(?i)\b13\b|\bPG-13\b'
|
||||||
|
content_rating: 13, PG-13
|
||||||
14:
|
14:
|
||||||
template:
|
template:
|
||||||
- name: Content-Rating
|
- name: Content-Rating
|
||||||
plex_search:
|
plex_search:
|
||||||
|
validate: false
|
||||||
any:
|
any:
|
||||||
content_rating.regex: '(?i)\b14\b|\bTV-14\b'
|
# content_rating.regex: '(?i)\b14\b|\bTV-14\b'
|
||||||
|
content_rating: 14, TV-14
|
||||||
15:
|
15:
|
||||||
template:
|
template:
|
||||||
- name: Content-Rating
|
- name: Content-Rating
|
||||||
@ -181,8 +202,10 @@ overlays:
|
|||||||
template:
|
template:
|
||||||
- name: Content-Rating
|
- name: Content-Rating
|
||||||
plex_search:
|
plex_search:
|
||||||
|
validate: false
|
||||||
any:
|
any:
|
||||||
content_rating.regex: '(?i)\b16\b|\bPassed\b|\bApproved\b|\bOpen\b'
|
# content_rating.regex: '(?i)\b16\b|\bPassed\b|\bApproved\b|\bOpen\b'
|
||||||
|
content_rating: 16, Passed, Approved, Open
|
||||||
17:
|
17:
|
||||||
template:
|
template:
|
||||||
- name: Content-Rating
|
- name: Content-Rating
|
||||||
@ -193,12 +216,16 @@ overlays:
|
|||||||
template:
|
template:
|
||||||
- name: Content-Rating
|
- name: Content-Rating
|
||||||
plex_search:
|
plex_search:
|
||||||
|
validate: false
|
||||||
any:
|
any:
|
||||||
content_rating.regex: '(?i)\b18\b|\bNC-17\b|\bM\b|\bTV-MA\b|\bR\b|\bX\b'
|
# content_rating.regex: '(?i)\b18\b|\bNC-17\b|\bM\b|\bTV-MA\b|\bR\b|\bX\b'
|
||||||
|
content_rating: 18, NC-17, M, TV-MA, R, X
|
||||||
NR:
|
NR:
|
||||||
template:
|
template:
|
||||||
- name: Content-Rating
|
- name: Content-Rating
|
||||||
slug: nr
|
slug: nr
|
||||||
plex_search:
|
plex_search:
|
||||||
|
validate: false
|
||||||
any:
|
any:
|
||||||
content_rating.regex: '(?i)\bNone\b|\bNR\b|\bNot Rated\b|\bUnrated\b'
|
# content_rating.regex: '(?i)\bNone\b|\bNR\b|\bNot Rated\b|\bUnrated\b'
|
||||||
|
content_rating: None, NR, Not Rated, Unrated
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user