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

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

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

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

@ -25,6 +25,8 @@
# # Available options. Replace "key" with the # # # Available options. Replace "key" with the #
# # desired collection's key from the chart above. # # # desired collection's key from the chart above. #
# # # #
# # Customize summary of collection #
# summary_key: A collection of ... #
# # Turn the collection on/off # # # Turn the collection on/off #
# use_key: true # # use_key: true #
# # Determines collection order in its section # # # Determines collection order in its section #
@ -64,12 +66,25 @@ templates:
anidb: anidb:
default: default:
limit_anidb: 30 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>> 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 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: collections:
AniDB Popular: AniDB Popular:
@ -85,7 +100,7 @@ collections:
variables: variables:
key: commonsense key: commonsense
template: template:
- name: css - name: commonsense
- name: shared - name: shared
- name: arr - name: arr
- name: custom - name: custom
@ -93,9 +108,9 @@ collections:
StevenLu's Popular Movies: StevenLu's Popular Movies:
variables: variables:
key: stevenlu key: stevenlu
summary: A collection of StevenLu's Most Popular Movies
stevenlu_popular: true stevenlu_popular: true
template: template:
- name: stevenlu
- name: shared - name: shared
allowed_libraries: movie allowed_libraries: movie
- name: arr - name: arr
@ -105,8 +120,8 @@ collections:
variables: variables:
key: pirated key: pirated
mdblist_list: https://mdblist.com/lists/hdlists/top-ten-pirated-movies-of-the-week-torrent-freak-com/ 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: template:
- name: pirated
- name: shared - name: shared
allowed_libraries: movie allowed_libraries: movie
- name: arr - name: arr

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

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

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

@ -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…
Cancel
Save