Merge pull request #466 from bullmoose20/master

allow text within the csm age overlay
pull/467/head
meisnate12 2 years ago committed by GitHub
commit 91d311a9f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -25,6 +25,8 @@
# # Available options. Replace "key" with the #
# # desired collection's key from the chart above. #
# #
# # Customize summary of collection #
# summary_key: A collection of ... #
# # Turn the collection on/off #
# use_key: true #
# # Determines collection order in it's section #
@ -67,20 +69,33 @@ templates:
popular:
default:
limit_popular: 100
summary_popular: A collection of the most popular Anime according to AniList.
anilist_popular: <<limit_popular>>
summary: A collection of the most popular Anime according to AniList.
summary: <<summary_<<key>>>>
top:
default:
limit_top: 100
summary_top: A collection of the top rated Anime according to AniList.
anilist_top_rated: <<limit_top>>
summary: A collection of the top rated Anime according to AniList.
summary: <<summary_<<key>>>>
trending:
default:
limit_trending: 100
summary_trending: A collection of trending Anime according to AniList.
anilist_trending: <<limit_trending>>
summary: A collection of trending Anime according to AniList.
summary: <<summary_<<key>>>>
season:
default:
limit_trending: 100
summary_season: A collection of Anime from the Current Season according to AniList.
anilist_search:
season: current
year:
sort_by: popular
summary: <<summary_<<key>>>>
collections:
@ -114,12 +129,8 @@ collections:
AniList Season:
variables:
key: season
anilist_search:
season: current
year:
sort_by: popular
summary: A collection of Anime from the Current Season according to AniList.
template:
- name: season
- name: shared
- name: arr
- name: custom

@ -28,6 +28,8 @@
# # Available options. Replace "key" with the #
# # desired collection's key from the chart above. #
# #
# # Customize summary of collection #
# summary_key: A collection of ... #
# # Turn the collection on/off #
# use_key: true #
# # Determines collection order in it's section #
@ -53,7 +55,8 @@ templates:
released:
default:
in_the_last_released: 90
summary: A collection of newly-released <<library_type>>
summary_released: A collection of newly-released <<library_type>>s
summary: <<summary_<<key>>>>
smart_filter:
all:
release: <<in_the_last_released>>
@ -61,7 +64,8 @@ templates:
episodes:
default:
in_the_last_episodes: 7
summary: A collection of newly-released episodes
summary_episodes: A collection of newly-released <<library_type>>s
summary: <<summary_<<key>>>>
smart_filter:
type: episodes
all:

@ -24,6 +24,8 @@
# # Available options. Replace "key" with the #
# # desired collection's key from the chart above. #
# #
# # Customize summary of collection #
# summary_key: A collection of ... #
# # Turn the collection on/off #
# use_key: true #
# # Determines collection order in its section #
@ -62,7 +64,10 @@ external_templates:
templates:
imdb:
default:
summary_<<key>>: "List of <<collection_name>> <<library_type>>s"
imdb_chart: <<chart>>_<<library_type>>s
summary: <<summary_<<key>>>>
collections:

@ -26,6 +26,8 @@
# # Available options. Replace "key" with the #
# # desired collection's key from the chart above. #
# #
# # Customize summary of collection #
# summary_key: A collection of ... #
# # Turn the collection on/off #
# use_key: true #
# # Determines collection order in it's section #
@ -68,26 +70,39 @@ templates:
popular:
default:
limit_popular: 100
summary_popular: A collection of the most popular Anime according to MyAnimeList.
mal_popular: <<limit_popular>>
summary: A collection of the most popular Anime according to MyAnimeList.
summary: <<summary_<<key>>>>
favorited:
default:
limit_favorited: 100
summary_favorited: A collection of the Most Favorited Anime according to MyAnimeList.
mal_favorite: <<limit_favorited>>
summary: A collection of the Most Favorited Anime according to MyAnimeList.
summary: <<summary_<<key>>>>
top:
default:
limit_top: 100
summary_top: A collection of the Top Rated Anime according to MyAnimeList.
mal_all: <<limit_top>>
summary: A collection of the Top Rated Anime according to MyAnimeList.
summary: <<summary_<<key>>>>
airing:
default:
limit_airing: 100
summary_airing: A collection of the Top Rated Anime Currently Airing according to MyAnimeList.
mal_airing: <<limit_airing>>
summary: A collection of the Top Rated Anime Currently Airing according to MyAnimeList.
summary: <<summary_<<key>>>>
season:
default:
limit_airing: 100
summary_season: A collection of Anime from the Current Season according to MyAnimeList.
mal_season:
season: current
sort_by: score
summary: <<summary_<<key>>>>
collections:
@ -130,11 +145,8 @@ collections:
MyAnimeList Season:
variables:
key: season
mal_season:
season: current
sort_by: score
summary: A collection of Anime from the Current Season according to MyAnimeList.
template:
- name: season
- name: shared
- name: arr
- name: custom

@ -25,6 +25,8 @@
# # Available options. Replace "key" with the #
# # desired collection's key from the chart above. #
# #
# # Customize summary of collection #
# summary_key: A collection of ... #
# # Turn the collection on/off #
# use_key: true #
# # Determines collection order in its section #
@ -64,12 +66,25 @@ templates:
anidb:
default:
limit_anidb: 30
summary: A collection of Popular Anime on AniDB
summary_anidb: A collection of Popular Anime on AniDB
summary: <<summary_<<key>>>>
anidb_popular: <<limit_anidb>>
css:
commonsense:
default:
summary_commonsense: A collection of Common Sense <<library_type>>s. Common Sense recognizes outstanding entertainment with an official seal for quality and impact. Common Sense Selections include age-appropriate media with the potential to spark family conversations, entertain families of all kinds, and have a positive, lasting effect on society.
mdblist_list: https://mdblist.com/lists/plexmetamanager/cssfamilies<<library_type>>s
summary: A collection of Common Sense <<library_type>>s. Common Sense recognizes outstanding entertainment with an official seal for quality and impact. Common Sense Selections include age-appropriate media with the potential to spark family conversations, entertain families of all kinds, and have a positive, lasting effect on society.
summary: <<summary_<<key>>>>
stevenlu:
default:
summary_stevenlu: A collection of StevenLu's Most Popular Movies
summary: <<summary_<<key>>>>
pirated:
default:
summary_pirated: TorrentFreak.com's Weekly Top Ten Pirated Movies
summary: <<summary_<<key>>>>
collections:
AniDB Popular:
@ -85,7 +100,7 @@ collections:
variables:
key: commonsense
template:
- name: css
- name: commonsense
- name: shared
- name: arr
- name: custom
@ -93,9 +108,9 @@ collections:
StevenLu's Popular Movies:
variables:
key: stevenlu
summary: A collection of StevenLu's Most Popular Movies
stevenlu_popular: true
template:
- name: stevenlu
- name: shared
allowed_libraries: movie
- name: arr
@ -105,8 +120,8 @@ collections:
variables:
key: pirated
mdblist_list: https://mdblist.com/lists/hdlists/top-ten-pirated-movies-of-the-week-torrent-freak-com/
summary: TorrentFreak.com's Weekly Top Ten Pirated Movies
template:
- name: pirated
- name: shared
allowed_libraries: movie
- name: arr

@ -26,6 +26,8 @@
# # Available options. Replace "key" with the #
# # desired collection's key from the chart above. #
# #
# # Customize summary of collection #
# summary_key: A collection of ... #
# # Turn the collection on/off #
# use_key: true #
# # Determines collection order in its section #
@ -57,7 +59,8 @@ templates:
default:
list_days_popular: 30
list_size_popular: 20
summary: A collection of <<library_type>>s Popular on Plex
summary_popular: A collection of <<library_type>>s Popular on Plex
summary: <<summary_<<key>>>>
tautulli_popular:
list_days: <<list_days_popular>>
list_size: <<list_size_popular>>
@ -66,7 +69,8 @@ templates:
default:
list_days_watched: 30
list_size_watched: 20
summary: A collection of Top <<library_type>>s Watched on Plex
summary_watched: A collection of Top <<library_type>>s Watched on Plex
summary: <<summary_<<key>>>>
tautulli_watched:
list_days: <<list_days_watched>>
list_size: <<list_size_watched>>

@ -26,6 +26,8 @@
# # Available options. Replace "key" with the #
# # desired collection's key from the chart above. #
# #
# # Customize summary of collection #
# summary_key: A collection of ... #
# # Turn the collection on/off #
# use_key: true #
# # Determines collection order in its section #
@ -68,32 +70,37 @@ templates:
airing:
default:
limit_airing: 100
summary_airing: A collection of shows with episodes airing today
tmdb_airing_today: <<limit_airing>>
summary: A collection of shows with episodes airing today
summary: <<summary_<<key>>>>
air:
default:
limit_air: 100
summary_air: A collection of shows that are still activaly airing episodes.
tmdb_on_the_air: <<limit_air>>
summary: A collection of shows that are still activaly airing episodes
summary: <<summary_<<key>>>>
popular:
default:
limit_popular: 100
summary_popular: A collection of the most watched <<library_type>>s according to TMDb.
tmdb_popular: <<limit_popular>>
summary: A collection of the most watched <<library_type>>s according to TMDb.
summary: <<summary_<<key>>>>
top:
default:
limit_top: 100
summary_top: A collection of the top rated <<library_type>>s according to TMDb.
tmdb_top_rated: <<limit_top>>
summary: A collection of the top rated <<library_type>>s according to TMDb.
summary: <<summary_<<key>>>>
trending:
default:
limit_trending: 100
summary_trending: A collection of <<library_type>>s trending on TMDb
tmdb_trending_weekly: <<limit_trending>>
summary: A collection of <<library_type>>s trending on TMDb
summary: <<summary_<<key>>>>
collections:

@ -30,7 +30,7 @@
# # desired collection's key from the chart above. #
# #
# # Customize summary of collection #
# summary: A collection of ... #
# summary_key: A collection of ... #
# # Turn the collection on/off #
# use_key: true #
# # Determines collection order in its section #
@ -72,11 +72,11 @@ templates:
trakt:
default:
limit_<<key>>: 100
summary: A collection of Trakt's Weekly <<library_type>> List
summary_<<key>>: A collection of Trakt's Weekly <<collection_name>> List
trakt_chart:
chart: <<key>>
limit: <<limit_<<key>>>>
summary: <<summary>>
summary: <<summary_<<key>>>>
dynamic_collections:
Trakt:

@ -10,6 +10,8 @@
# overlay_path: #
# - git: PMM/overlays/age #
# template_variables: #
# # Set text you want before the rating #
# pre_text: "" #
# # Set episode or season to overlay #
# overlay_level: #
# # Set the horizontal offset for the overlay #
@ -45,15 +47,23 @@
templates:
Content-Rating:
conditionals:
pre:
default: <<pre_text>>
conditions:
- overlay_name: NR
value: ""
rating_style:
default: "+"
conditions:
- overlay_name: NR
value: ""
value: ""
optional:
- overlay_level
- use_<<slug>>
default:
pre_text: ""
overlay: <<overlay_name>>
horizontal_offset: 15
horizontal_align: left
@ -70,7 +80,7 @@ templates:
allowed_library_types: <<use_<<slug>>>>
ignore_blank_results: true
overlay:
name: text(<<overlay_name>><<rating_style>>)
name: text(<<pre>><<overlay_name>><<rating_style>>)
horizontal_offset: <<horizontal_offset>>
horizontal_align: <<horizontal_align>>
vertical_offset: <<vertical_offset>>
@ -91,8 +101,11 @@ overlays:
template:
- name: Content-Rating
plex_search:
validate: false
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:
template:
- name: Content-Rating
@ -121,14 +134,18 @@ overlays:
template:
- name: Content-Rating
plex_search:
validate: false
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:
template:
- name: Content-Rating
plex_search:
validate: false
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:
template:
- name: Content-Rating
@ -163,14 +180,18 @@ overlays:
template:
- name: Content-Rating
plex_search:
validate: false
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:
template:
- name: Content-Rating
plex_search:
validate: false
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:
template:
- name: Content-Rating
@ -181,8 +202,10 @@ overlays:
template:
- name: Content-Rating
plex_search:
validate: false
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:
template:
- name: Content-Rating
@ -193,12 +216,16 @@ overlays:
template:
- name: Content-Rating
plex_search:
validate: false
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:
template:
- name: Content-Rating
slug: nr
plex_search:
validate: false
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…
Cancel
Save