diff --git a/techdiver/README.md b/techdiver/README.md new file mode 100644 index 0000000..bd60cc3 --- /dev/null +++ b/techdiver/README.md @@ -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<>.png +``` diff --git a/techdiver/content_rating_ie.yml b/techdiver/content_rating_ie.yml new file mode 100644 index 0000000..5427778 --- /dev/null +++ b/techdiver/content_rating_ie.yml @@ -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: <> + horizontal_offset: 15 + horizontal_align: left + vertical_offset: 20 + vertical_align: bottom + back_radius: 0 + file: config/overlays/ie<>.png + +templates: + cr_ie: + ignore_blank_results: true + plex_search: + validate: false + any: + content_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"} diff --git a/techdiver/overlays/ie12a.png b/techdiver/overlays/ie12a.png new file mode 100644 index 0000000..91e2e26 Binary files /dev/null and b/techdiver/overlays/ie12a.png differ diff --git a/techdiver/overlays/ie15a.png b/techdiver/overlays/ie15a.png new file mode 100644 index 0000000..b960a7f Binary files /dev/null and b/techdiver/overlays/ie15a.png differ diff --git a/techdiver/overlays/ie16.png b/techdiver/overlays/ie16.png new file mode 100644 index 0000000..c16645e Binary files /dev/null and b/techdiver/overlays/ie16.png differ diff --git a/techdiver/overlays/ie18.png b/techdiver/overlays/ie18.png new file mode 100644 index 0000000..e47a8f0 Binary files /dev/null and b/techdiver/overlays/ie18.png differ diff --git a/techdiver/overlays/ieg.png b/techdiver/overlays/ieg.png new file mode 100644 index 0000000..41b594e Binary files /dev/null and b/techdiver/overlays/ieg.png differ diff --git a/techdiver/overlays/iepg.png b/techdiver/overlays/iepg.png new file mode 100644 index 0000000..38de7a1 Binary files /dev/null and b/techdiver/overlays/iepg.png differ