From 09679c38ee2362d8fb4ff2a8ad81a3b4acc60d1f Mon Sep 17 00:00:00 2001 From: bullmoose20 Date: Fri, 16 Sep 2022 08:43:28 -0400 Subject: [PATCH] age defaults and some new raw overlay images --- PMM/overlays/age.yml | 177 +++++++++++++++++++++++++++ PMM/overlays/images/raw/fire.png | Bin 0 -> 2449 bytes PMM/overlays/images/raw/versions.png | Bin 0 -> 1142 bytes 3 files changed, 177 insertions(+) create mode 100644 PMM/overlays/age.yml create mode 100644 PMM/overlays/images/raw/fire.png create mode 100644 PMM/overlays/images/raw/versions.png diff --git a/PMM/overlays/age.yml b/PMM/overlays/age.yml new file mode 100644 index 0000000..895dd8f --- /dev/null +++ b/PMM/overlays/age.yml @@ -0,0 +1,177 @@ +############################################################# +# Age Overlay # +# Created by Yozora, Bullmoose20, & Sohjiro # +# Credit to Magic815 for base images # +############################################################# +# # +# Call this from your config.yml (Movie or Show): # +# If nothing is specified these are the defaults # +# # +# overlay_path: # +# - git: PMM/overlays/age # +# template_variables: # +# # Set episode or season to overlay # +# overlay_level: # +# # Set the horizontal offset for the overlay # +# horizontal_offset: 15 # +# # Set the horizontal align for the overlay # +# horizontal_align: left # +# # Set the vertical offset for the overlay # +# vertical_offset: 270 # +# # Set the vertical align for the overlay # +# vertical_align: bottom # +# # +# operations: # +# mass_content_rating_update: mdb_commonsense # +############################################################# + +templates: + Content-Rating: + conditionals: + rating_style: + default: "+" + conditions: + - overlay_name: NR + value: "" + optional: + - overlay_level + default: + overlay: <> + horizontal_offset: 15 + horizontal_align: left + vertical_offset: 270 + vertical_align: bottom + collection_level: <> + ignore_blank_results: true + overlay: + name: text(<><>) + horizontal_offset: <> + horizontal_align: <> + vertical_offset: <> + vertical_align: <> + font: fonts/Inter-Medium.ttf + font_size: 55 + font_color: "#FFFFFF" + back_color: "#00000099" + back_radius: 30 + back_width: 300 + back_height: 105 + git: PMM/overlays/images/raw/commonsense + addon_position: left + addon_offset: 15 + +overlays: + 1: + template: + - name: Content-Rating + plex_search: + any: + content_rating.regex: '(?i)\b1\b|\b0\b|\bG\b|\bTV-Y\b|\bTV-G\b' + 2: + template: + - name: Content-Rating + plex_search: + any: + content_rating: 2 + 3: + template: + - name: Content-Rating + plex_search: + any: + content_rating: 3 + 4: + template: + - name: Content-Rating + plex_search: + any: + content_rating: 4 + 5: + template: + - name: Content-Rating + plex_search: + any: + content_rating: 5 + 6: + template: + - name: Content-Rating + plex_search: + any: + content_rating.regex: '(?i)\b6\b|\bGP\b|\bPG\b|\bM\/PG\b|\bTV-PG\b' + 7: + template: + - name: Content-Rating + plex_search: + any: + content_rating.regex: '(?i)\b7\b|\bTV-Y7\b|\bTV-Y7-FV\b' + 8: + template: + - name: Content-Rating + plex_search: + any: + content_rating: 8 + 9: + template: + - name: Content-Rating + plex_search: + any: + content_rating: 9 + 10: + template: + - name: Content-Rating + plex_search: + any: + content_rating: 10 + 11: + template: + - name: Content-Rating + plex_search: + any: + content_rating: 11 + 12: + template: + - name: Content-Rating + plex_search: + any: + content_rating: 12 + 13: + template: + - name: Content-Rating + plex_search: + any: + content_rating.regex: '(?i)\b13\b|\bPG-13\b' + 14: + template: + - name: Content-Rating + plex_search: + any: + content_rating.regex: '(?i)\b14\b|\bTV-14\b' + 15: + template: + - name: Content-Rating + plex_search: + any: + content_rating: 15 + 16: + template: + - name: Content-Rating + plex_search: + any: + content_rating.regex: '(?i)\b16\b|\bPassed\b|\bApproved\b|\bOpen\b' + 17: + template: + - name: Content-Rating + plex_search: + any: + content_rating: 17 + 18: + template: + - name: Content-Rating + plex_search: + any: + content_rating.regex: '(?i)\b18\b|\bNC-17\b|\bM\b|\bTV-MA\b|\bR\b|\bX\b' + NR: + template: + - name: Content-Rating + plex_search: + any: + content_rating.regex: '(?i)\bNone\b|\bNR\b|\bNot Rated\b|\bUnrated\b' diff --git a/PMM/overlays/images/raw/fire.png b/PMM/overlays/images/raw/fire.png new file mode 100644 index 0000000000000000000000000000000000000000..b07dd9171b2f7ab1da26c561f44648a568b037a4 GIT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ej$=b^7F?A*Ds#Zit0 zqWpAQ{5F8%47Mv!U%U}gyO!nT^`z=KU<3g8suEb4)-MSduz6SdnN#YbHzMMy2|u-u z|A{11DzFE)*03syZDCHamw=Y`d<9_Ygr_(blL(9H9!sk0tL~`46x)K-z6xPqP#!!K zu+tvIbw)(2E%r~cyImDU~j+{Y_1BI?a%;k~NgbXqJvT0FYzLq7B_3Tx*V%x%<7$7fD*O%g5 zC0Lr6(@6f%!Y)3&>rQsbXcixLI?Qqxtp$wTVcicF$-C|G$MNzACR@MyBr+o=xO10wf{UEN$Bl%Bgpiq}=ULuE(ZfzpF2QK6)X;_7>tVc9^M$HlKIUa?j>s zbEY9rRA;mO>sBI71!0T&a{W+~8IDc;uGA`PEZDc4pk1>$r?h|-IOk-ygRS@)j9Iya zPuE4D`SV80vIc(3=E_#vW4P{~J6>V4xxGI9w>=p5ry+n+RfA6xjWUA!0yZuvG6R?% z*2M^XWlzd!hz&)2xBr3e2&z^cy_XLN4SW5JY P00000NkvXXu0mjfY8Y*v literal 0 HcmV?d00001 diff --git a/PMM/overlays/images/raw/versions.png b/PMM/overlays/images/raw/versions.png new file mode 100644 index 0000000000000000000000000000000000000000..a58aac996ee8be51a6cb3a681c121f3556ea7776 GIT binary patch literal 1142 zcmeAS@N?(olHy`uVBq!ia0vp^nIO!;1|%(;c&&gGXMsm#F$061G6*wPEVVCVU|`Yk zba4!+nDh3ocZW=D-4^OJXqud1zZfYIGQ*nO})u-XT=Ty7xAWdBC$J* z)s=Px+}R;?WU6$aNGnUoB0-))MHj~-B;Cp3c7KjoZ){0^SgtGZ!}G z6{424T53kNPZ4Rz#7Vo%y?c%-jH`c1~=`R1ReQN8W=-zmh*pO|n zyX~5!0)sCl9p81g!oxE++V3d)4#D*nrVlOizdh^;4h{;R^;f-a<&EPeKjlu#zOJ^f zo$*cJ%Au_X|DRgqHhJE(=bb52f&QTsg|x2}%kc6nwaDvQq-2|TOGx~o+EdGqsY_4Y zIA(f(<+nH0UbA{$f6!VNlyyh9wB~un+H*xaX7{iz4dK1p)TVWHm$ItwDTnX+25vR2 z;#sBB4&O~V^Yi=vyVomt-d}sAqw0H%!98sH@v!OlAJ*>aIiFQFZIW8DeVOLxiw-{* z-dw-B{&-e7Q0TD+-OoAeVTuy#wGtQ~4CWI1 zwf1=Kd@nTB{zK}0$15^Tafi)CZ)Z1}n{4nkRo&a3KJ`;(I`i)jbGppmtEEcm@4VHj zUfBET+2m=$ZClr9uoivSFpa2|e>J0T3G1CTA+dMXo$=l~T{*fvFzB