parent
d5327f0c59
commit
81d701ad60
@ -0,0 +1,52 @@
|
|||||||
|
This config will populate content rating overlays for Ireland (plex ratings example, ie/G, ie/PG, ie/12A, ie/15A, ie/16 and ie/18):
|
||||||
|
|
||||||
|
Add -file: config/content_rating_ie.yml to overlay_path (example below)
|
||||||
|
|
||||||
|
```
|
||||||
|
libraries:
|
||||||
|
Movies:
|
||||||
|
metadata_path:
|
||||||
|
- file: config/Movies.yml
|
||||||
|
- pmm: basic
|
||||||
|
- pmm: studio
|
||||||
|
- pmm: genre
|
||||||
|
- pmm: actor
|
||||||
|
- pmm: seasonal
|
||||||
|
- pmm: imdb
|
||||||
|
template_variables:
|
||||||
|
use_lowest: false
|
||||||
|
overlay_path:
|
||||||
|
- remove_overlays: false
|
||||||
|
- reapply_overlay: true
|
||||||
|
- pmm: resolution
|
||||||
|
template_variables:
|
||||||
|
use_edition: false
|
||||||
|
horizontal_align: center
|
||||||
|
horizontal_offset: -160
|
||||||
|
- pmm: audio_codec
|
||||||
|
template_variables:
|
||||||
|
horizontal_align: center
|
||||||
|
horizontal_offset: 160
|
||||||
|
- pmm: ribbon
|
||||||
|
template_variables:
|
||||||
|
use_common: false
|
||||||
|
use_razzie: false
|
||||||
|
horizontal_offset: 0
|
||||||
|
- pmm: runtimes
|
||||||
|
template_variables:
|
||||||
|
horizontal_align: center
|
||||||
|
back_width: 305
|
||||||
|
text: ''
|
||||||
|
- file: config/content_rating_ie.yml
|
||||||
|
```
|
||||||
|
|
||||||
|
Variables and defaults:
|
||||||
|
|
||||||
|
```
|
||||||
|
horizontal_offset: 15
|
||||||
|
horizontal_align: left
|
||||||
|
vertical_offset: 20
|
||||||
|
vertical_align: bottom
|
||||||
|
back_radius: 0
|
||||||
|
file: config/overlays/ie<<overlay_name>>.png
|
||||||
|
```
|
@ -0,0 +1,56 @@
|
|||||||
|
##############################################################################
|
||||||
|
# Ireland Content Rating Overlay #
|
||||||
|
# Created by techdiver #
|
||||||
|
# Referencing orginal work by Yozora, Bullmoose20, & Sohjiro #
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
external_templates:
|
||||||
|
pmm: templates
|
||||||
|
template_variables:
|
||||||
|
default:
|
||||||
|
key: <<overlay_name>>
|
||||||
|
horizontal_offset: 15
|
||||||
|
horizontal_align: left
|
||||||
|
vertical_offset: 20
|
||||||
|
vertical_align: bottom
|
||||||
|
back_radius: 0
|
||||||
|
file: config/overlays/ie<<overlay_name>>.png
|
||||||
|
|
||||||
|
templates:
|
||||||
|
cr_ie:
|
||||||
|
ignore_blank_results: true
|
||||||
|
plex_search:
|
||||||
|
validate: false
|
||||||
|
any:
|
||||||
|
content_rating: <<rating>>
|
||||||
|
|
||||||
|
overlays:
|
||||||
|
g:
|
||||||
|
template:
|
||||||
|
- name: standard
|
||||||
|
- {name: cr_ie, rating: "G, U, ie/U, ie/G, Not Rated"}
|
||||||
|
|
||||||
|
pg:
|
||||||
|
template:
|
||||||
|
- name: standard
|
||||||
|
- {name: cr_ie, rating: "ie/PG, PG"}
|
||||||
|
|
||||||
|
12a:
|
||||||
|
template:
|
||||||
|
- name: standard
|
||||||
|
- {name: cr_ie, rating: "12A, ie/12A, 12, ie/12, PG-13, 12PG, ie/12PG"}
|
||||||
|
|
||||||
|
15a:
|
||||||
|
template:
|
||||||
|
- name: standard
|
||||||
|
- {name: cr_ie, rating: "ie/15A, ie/15, 15A, 15"}
|
||||||
|
|
||||||
|
16:
|
||||||
|
template:
|
||||||
|
- name: standard
|
||||||
|
- {name: cr_ie, rating: "ie/16, 16"}
|
||||||
|
|
||||||
|
18:
|
||||||
|
template:
|
||||||
|
- name: standard
|
||||||
|
- {name: cr_ie, rating: "ie/18, R, 18"}
|
After Width: | Height: | Size: 7.1 KiB |
After Width: | Height: | Size: 6.4 KiB |
After Width: | Height: | Size: 6.3 KiB |
After Width: | Height: | Size: 5.9 KiB |
After Width: | Height: | Size: 6.7 KiB |
After Width: | Height: | Size: 10 KiB |
Loading…
Reference in new issue