mirror of
https://github.com/Kometa-Team/Community-Configs.git
synced 2025-11-06 08:28:53 -05:00
enhanced for 1.17.2 and beyond
This commit is contained in:
parent
a558b9b8b0
commit
8673a19cfd
@ -22,25 +22,40 @@
|
|||||||
# vertical_offset: 15 #
|
# vertical_offset: 15 #
|
||||||
# # Set the vertical align for the overlay #
|
# # Set the vertical align for the overlay #
|
||||||
# vertical_align: top #
|
# vertical_align: top #
|
||||||
# #
|
# # Sets the style of overlay: standard or compact #
|
||||||
|
# style: compact #
|
||||||
# # Use the Opus overlay #
|
# # Use the Opus overlay #
|
||||||
# use_opus: true #
|
# use_opus: true #
|
||||||
|
# # Use the MP3 overlay #
|
||||||
|
# use_mp3: true #
|
||||||
# # Use the Dolby-Digital overlay #
|
# # Use the Dolby-Digital overlay #
|
||||||
# use_digital: true #
|
# use_digital: true #
|
||||||
|
# # Use the AAC overlay #
|
||||||
|
# use_aac: true #
|
||||||
# # Use the DTS overlay #
|
# # Use the DTS overlay #
|
||||||
# use_dts: true #
|
# use_dts: true #
|
||||||
# # Use the DTS-ES overlay #
|
# # Use the DTS-ES overlay #
|
||||||
# use_es: true #
|
# use_es: true #
|
||||||
# # Use the DTS-HD overlay #
|
# # Use the Dolby-Digital-Plus overlay #
|
||||||
|
# use_plus: true #
|
||||||
|
# # Use the DTS-HD-HRA overlay #
|
||||||
|
# use_hra: true #
|
||||||
|
# # Use the PCM overlay #
|
||||||
|
# use_pcm: true #
|
||||||
|
# # Use the FLAC overlay #
|
||||||
|
# use_flac: true #
|
||||||
|
# # Use the DTS-HD-MA overlay #
|
||||||
# use_hd: true #
|
# use_hd: true #
|
||||||
# # Use the Dolby-TrueHD overlay #
|
# # Use the Dolby-TrueHD overlay #
|
||||||
# use_truehd: true #
|
# use_truehd: true #
|
||||||
# # Use the Dolby-Digital-Plus overlay #
|
# # Use the DD+/E-AC3 Atmos overlay #
|
||||||
# use_plus: true #
|
# use_plus-atmos: true #
|
||||||
# # Use the Dolby-Atmos overlay #
|
# # Use the Dolby-Atmos (undefined) overlay #
|
||||||
# use_atmos: true #
|
# use_atmos: true #
|
||||||
# # Use the DTS-X overlay #
|
# # Use the DTS-X overlay #
|
||||||
# use_x: true #
|
# use_x: true #
|
||||||
|
# # Use the Dolby TrueHD Atmos overlay #
|
||||||
|
# use_truehd-atmos: true #
|
||||||
#############################################################
|
#############################################################
|
||||||
|
|
||||||
templates:
|
templates:
|
||||||
@ -54,24 +69,36 @@ templates:
|
|||||||
horizontal_align: center
|
horizontal_align: center
|
||||||
vertical_offset: 15
|
vertical_offset: 15
|
||||||
vertical_align: top
|
vertical_align: top
|
||||||
|
style: compact
|
||||||
|
standard_value: 105
|
||||||
|
conditionals:
|
||||||
|
height:
|
||||||
|
default: 105
|
||||||
|
conditions:
|
||||||
|
- style: standard
|
||||||
|
value: <<standard_value>>
|
||||||
collection_level: <<overlay_level>>
|
collection_level: <<overlay_level>>
|
||||||
allowed_library_types: <<use_<<slug>>>>
|
allowed_library_types: <<use_<<slug>>>>
|
||||||
overlay:
|
overlay:
|
||||||
name: <<overlay_name>>
|
name: <<overlay_name>>
|
||||||
git: PMM/overlays/images/<<overlay>>
|
git: PMM/overlays/images/raw/<<style>>/<<overlay>>
|
||||||
group: audio_codec
|
group: audio_codec
|
||||||
weight: <<weight>>
|
weight: <<weight>>
|
||||||
horizontal_offset: <<horizontal_offset>>
|
horizontal_offset: <<horizontal_offset>>
|
||||||
horizontal_align: <<horizontal_align>>
|
horizontal_align: <<horizontal_align>>
|
||||||
vertical_offset: <<vertical_offset>>
|
vertical_offset: <<vertical_offset>>
|
||||||
vertical_align: <<vertical_align>>
|
vertical_align: <<vertical_align>>
|
||||||
|
back_color: "#00000099"
|
||||||
|
back_radius: 30
|
||||||
|
back_width: 305
|
||||||
|
back_height: <<height>>
|
||||||
|
|
||||||
overlays:
|
overlays:
|
||||||
|
|
||||||
Opus:
|
Opus:
|
||||||
template:
|
template:
|
||||||
- name: AudioCodec
|
- name: AudioCodec
|
||||||
weight: 5
|
weight: 250
|
||||||
slug: opus
|
slug: opus
|
||||||
plex_all: true
|
plex_all: true
|
||||||
filters:
|
filters:
|
||||||
@ -81,39 +108,97 @@ overlays:
|
|||||||
template:
|
template:
|
||||||
- name: AudioCodec
|
- name: AudioCodec
|
||||||
overlay: Opus
|
overlay: Opus
|
||||||
weight: 5
|
weight: 250
|
||||||
slug: opus
|
slug: opus
|
||||||
plex_all: true
|
plex_all: true
|
||||||
filters:
|
filters:
|
||||||
filepath.regex: '(?i)\bOPUS(\b|\d)'
|
filepath.regex: '(?i)\bOPUS(\b|\d)'
|
||||||
|
|
||||||
|
MP3:
|
||||||
|
template:
|
||||||
|
- name: AudioCodec
|
||||||
|
weight: 500
|
||||||
|
slug: mp3
|
||||||
|
plex_all: true
|
||||||
|
filters:
|
||||||
|
audio_track_title.regex: '(?i)\bmp3(\b|\d)'
|
||||||
|
|
||||||
|
MP3-Filepath:
|
||||||
|
template:
|
||||||
|
- name: AudioCodec
|
||||||
|
overlay: MP3
|
||||||
|
weight: 500
|
||||||
|
slug: mp3
|
||||||
|
plex_all: true
|
||||||
|
filters:
|
||||||
|
filepath.regex: '(?i)\bmp3(\b|\d)'
|
||||||
|
|
||||||
|
# AAC 2.0 Audio
|
||||||
|
AAC2.0:
|
||||||
|
template:
|
||||||
|
- name: AudioCodec
|
||||||
|
overlay: AAC
|
||||||
|
weight: 700
|
||||||
|
slug: aac
|
||||||
|
plex_all: true
|
||||||
|
filters:
|
||||||
|
audio_track_title.regex: '(?i)(?=.*(\baac[ .]?stereo\b))|(?=.*(\baac[ .]2[ .]0\b))'
|
||||||
|
|
||||||
|
AAC2.0-Filepath:
|
||||||
|
template:
|
||||||
|
- name: AudioCodec
|
||||||
|
overlay: AAC
|
||||||
|
weight: 700
|
||||||
|
slug: aac
|
||||||
|
plex_all: true
|
||||||
|
filters:
|
||||||
|
filepath.regex: '(?i)(?=.*(\baac[ .]?stereo\b))|(?=.*(\baac[ .]2[ .]0\b))'
|
||||||
|
|
||||||
Dolby-Digital:
|
Dolby-Digital:
|
||||||
template:
|
template:
|
||||||
- name: AudioCodec
|
- name: AudioCodec
|
||||||
weight: 10
|
weight: 750
|
||||||
slug: digital
|
slug: digital
|
||||||
plex_all: true
|
plex_all: true
|
||||||
filters:
|
filters:
|
||||||
audio_track_title.regex:
|
audio_track_title.regex:
|
||||||
- '(?i)\bDD[^a-z+]|(?<!e)ac3'
|
- '(?i)\bDD[^a-z+]|(?<!e)ac3'
|
||||||
- '(?i)\bAAC \b[s5]?'
|
|
||||||
|
|
||||||
Dolby-Digital-Filepath:
|
Dolby-Digital-Filepath:
|
||||||
template:
|
template:
|
||||||
- name: AudioCodec
|
- name: AudioCodec
|
||||||
overlay: Dolby-Digital
|
overlay: Dolby-Digital
|
||||||
weight: 10
|
weight: 750
|
||||||
slug: digital
|
slug: digital
|
||||||
plex_all: true
|
plex_all: true
|
||||||
filters:
|
filters:
|
||||||
filepath.regex:
|
filepath.regex:
|
||||||
- '(?i)\bDD[^a-z+]|(?<!e)ac3'
|
- '(?i)\bDD[^a-z+]|(?<!e)ac3'
|
||||||
- '(?i)\bAAC \b[s5]?'
|
|
||||||
|
# AAC multi channel
|
||||||
|
AAC:
|
||||||
|
template:
|
||||||
|
- name: AudioCodec
|
||||||
|
weight: 1000
|
||||||
|
slug: aac
|
||||||
|
plex_all: true
|
||||||
|
filters:
|
||||||
|
audio_track_title.regex: '(?i)^(?!.*(stereo|2[ .]0))(?=.*\b(aac(\b|\d))).*'
|
||||||
|
|
||||||
|
AAC-Filepath:
|
||||||
|
template:
|
||||||
|
- name: AudioCodec
|
||||||
|
overlay: AAC
|
||||||
|
weight: 1000
|
||||||
|
slug: aac
|
||||||
|
plex_all: true
|
||||||
|
filters:
|
||||||
|
filepath.regex: '(?i)^(?!.*(stereo|2[ .]0))(?=.*\b(aac(\b|\d))).*'
|
||||||
|
|
||||||
DTS:
|
DTS:
|
||||||
template:
|
template:
|
||||||
- name: AudioCodec
|
- name: AudioCodec
|
||||||
weight: 20
|
weight: 1250
|
||||||
slug: dts
|
slug: dts
|
||||||
plex_all: true
|
plex_all: true
|
||||||
filters:
|
filters:
|
||||||
@ -123,7 +208,7 @@ overlays:
|
|||||||
template:
|
template:
|
||||||
- name: AudioCodec
|
- name: AudioCodec
|
||||||
overlay: DTS
|
overlay: DTS
|
||||||
weight: 20
|
weight: 1250
|
||||||
slug: dts
|
slug: dts
|
||||||
plex_all: true
|
plex_all: true
|
||||||
filters:
|
filters:
|
||||||
@ -132,121 +217,221 @@ overlays:
|
|||||||
DTS-ES:
|
DTS-ES:
|
||||||
template:
|
template:
|
||||||
- name: AudioCodec
|
- name: AudioCodec
|
||||||
weight: 30
|
weight: 1500
|
||||||
slug: es
|
slug: es
|
||||||
plex_all: true
|
plex_all: true
|
||||||
filters:
|
filters:
|
||||||
audio_track_title.regex: '(?i)dts[-. ]?es\b'
|
audio_track_title.regex: 'dts[-. ]?es\b'
|
||||||
|
|
||||||
DTS-ES-Filepath:
|
DTS-ES-Filepath:
|
||||||
template:
|
template:
|
||||||
- name: AudioCodec
|
- name: AudioCodec
|
||||||
overlay: DTS-ES
|
overlay: DTS-ES
|
||||||
weight: 30
|
weight: 1500
|
||||||
slug: es
|
slug: es
|
||||||
plex_all: true
|
plex_all: true
|
||||||
filters:
|
filters:
|
||||||
filepath.regex: '(?i)dts[-. ]?es\b'
|
filepath.regex: '(?i)dts[-. ]?es\b'
|
||||||
|
|
||||||
DTS-HD:
|
# Match DD+/E-AC3 without Atmos
|
||||||
template:
|
|
||||||
- name: AudioCodec
|
|
||||||
weight: 40
|
|
||||||
slug: hd
|
|
||||||
plex_all: true
|
|
||||||
filters:
|
|
||||||
audio_track_title.regex:
|
|
||||||
- '(?i)dts[ .-]?(ma\b|hd[ .-]?ma|hd)(?!china|r)'
|
|
||||||
- '(?i)dts[ ._-]?(hd[. ]?)?(hr|hi)'
|
|
||||||
|
|
||||||
DTS-HD-Filepath:
|
|
||||||
template:
|
|
||||||
- name: AudioCodec
|
|
||||||
overlay: DTS-HD
|
|
||||||
weight: 40
|
|
||||||
slug: hd
|
|
||||||
plex_all: true
|
|
||||||
filters:
|
|
||||||
filepath.regex:
|
|
||||||
- '(?i)dts[ .-]?(ma\b|hd[ .-]?ma|hd)(?!china|r)'
|
|
||||||
- '(?i)dts[ ._-]?(hd[. ]?)?(hr|hi)'
|
|
||||||
|
|
||||||
Dolby-TrueHD:
|
|
||||||
template:
|
|
||||||
- name: AudioCodec
|
|
||||||
weight: 50
|
|
||||||
slug: truehd
|
|
||||||
plex_all: true
|
|
||||||
filters:
|
|
||||||
audio_track_title.regex: '(?i)true[ .-]?hd'
|
|
||||||
|
|
||||||
Dolby-TrueHD-Filepath:
|
|
||||||
template:
|
|
||||||
- name: AudioCodec
|
|
||||||
overlay: Dolby-TrueHD
|
|
||||||
weight: 50
|
|
||||||
slug: truehd
|
|
||||||
plex_all: true
|
|
||||||
filters:
|
|
||||||
filepath.regex: '(?i)true[ .-]?hd'
|
|
||||||
|
|
||||||
Dolby-Digital-Plus:
|
Dolby-Digital-Plus:
|
||||||
template:
|
template:
|
||||||
- name: AudioCodec
|
- name: AudioCodec
|
||||||
weight: 60
|
weight: 1750
|
||||||
slug: plus
|
slug: plus
|
||||||
plex_all: true
|
plex_all: true
|
||||||
filters:
|
filters:
|
||||||
audio_track_title.regex:
|
audio_track_title.regex:
|
||||||
- '(?i)[^-]DD[P+](?!A)|eac3'
|
- '(?i)^(?!.*(atmos))(?=.*\b([^-]DD[P+](?!A)|eac3)\b).*'
|
||||||
- '(?i)\bAAC 7\b'
|
|
||||||
|
|
||||||
Dolby-Digital-Plus-Filepath:
|
Dolby-Digital-Plus-Filepath:
|
||||||
template:
|
template:
|
||||||
- name: AudioCodec
|
- name: AudioCodec
|
||||||
overlay: Dolby-Digital-Plus
|
overlay: Dolby-Digital-Plus
|
||||||
weight: 60
|
weight: 1750
|
||||||
slug: plus
|
slug: plus
|
||||||
plex_all: true
|
plex_all: true
|
||||||
filters:
|
filters:
|
||||||
filepath.regex:
|
filepath.regex:
|
||||||
- '(?i)[^-]DD[P+](?!A)|eac3'
|
- '(?i)^(?!.*(atmos))(?=.*\b([^-]DD[P+](?!A)|eac3)\b).*'
|
||||||
- '(?i)\bAAC 7\b'
|
|
||||||
|
|
||||||
|
DTS-HD-HRA:
|
||||||
|
template:
|
||||||
|
- name: AudioCodec
|
||||||
|
weight: 2000
|
||||||
|
slug: hra
|
||||||
|
plex_all: true
|
||||||
|
filters:
|
||||||
|
audio_track_title.regex: '(?i)dts[ ._-]?(hd[. ]?)?(hr|hi)'
|
||||||
|
|
||||||
|
DTS-HD-HRA-Filepath:
|
||||||
|
template:
|
||||||
|
- name: AudioCodec
|
||||||
|
overlay: DTS-HD-HRA
|
||||||
|
weight: 2000
|
||||||
|
slug: hra
|
||||||
|
plex_all: true
|
||||||
|
filters:
|
||||||
|
filepath.regex: '(?i)dts[ ._-]?(hd[. ]?)?(hr|hi)'
|
||||||
|
|
||||||
|
PCM:
|
||||||
|
template:
|
||||||
|
- name: AudioCodec
|
||||||
|
weight: 2200
|
||||||
|
slug: pcm
|
||||||
|
plex_all: true
|
||||||
|
filters:
|
||||||
|
audio_track_title.regex: '(?i)\b(l?)PCM(\b|\d)'
|
||||||
|
|
||||||
|
PCM-Filepath:
|
||||||
|
template:
|
||||||
|
- name: AudioCodec
|
||||||
|
overlay: PCM
|
||||||
|
weight: 2200
|
||||||
|
slug: pcm
|
||||||
|
plex_all: true
|
||||||
|
filters:
|
||||||
|
filepath.regex: '(?i)\b(l?)PCM(\b|\d)'
|
||||||
|
|
||||||
|
FLAC:
|
||||||
|
template:
|
||||||
|
- name: AudioCodec
|
||||||
|
weight: 2250
|
||||||
|
slug: flac
|
||||||
|
plex_all: true
|
||||||
|
filters:
|
||||||
|
audio_track_title.regex: '(?i)\bFLAC(\b|\d)'
|
||||||
|
|
||||||
|
FLAC-Filepath:
|
||||||
|
template:
|
||||||
|
- name: AudioCodec
|
||||||
|
overlay: FLAC
|
||||||
|
weight: 2250
|
||||||
|
slug: flac
|
||||||
|
plex_all: true
|
||||||
|
filters:
|
||||||
|
filepath.regex: '(?i)\bFLAC(\b|\d)'
|
||||||
|
|
||||||
|
DTS-HD-MA:
|
||||||
|
template:
|
||||||
|
- name: AudioCodec
|
||||||
|
weight: 2500
|
||||||
|
slug: hd
|
||||||
|
plex_all: true
|
||||||
|
filters:
|
||||||
|
audio_track_title.regex: '(?i)dts[ .-]?(ma\b|hd[ .-]?ma|hd)(?!china|r)'
|
||||||
|
|
||||||
|
DTS-HD-MA-Filepath:
|
||||||
|
template:
|
||||||
|
- name: AudioCodec
|
||||||
|
overlay: DTS-HD-MA
|
||||||
|
weight: 2500
|
||||||
|
slug: hd
|
||||||
|
plex_all: true
|
||||||
|
filters:
|
||||||
|
filepath.regex: '(?i)dts[ .-]?(ma\b|hd[ .-]?ma|hd)(?!china|r)'
|
||||||
|
|
||||||
|
# Match TrueHD without Atmos
|
||||||
|
Dolby-TrueHD:
|
||||||
|
template:
|
||||||
|
- name: AudioCodec
|
||||||
|
weight: 2750
|
||||||
|
slug: truehd
|
||||||
|
plex_all: true
|
||||||
|
filters:
|
||||||
|
audio_track_title.regex: '(?i)^(?!.*(atmos))(?=.*\b(true[ .-]?hd)\b).*'
|
||||||
|
|
||||||
|
Dolby-TrueHD-Filepath:
|
||||||
|
template:
|
||||||
|
- name: AudioCodec
|
||||||
|
overlay: Dolby-TrueHD
|
||||||
|
weight: 2750
|
||||||
|
slug: truehd
|
||||||
|
plex_all: true
|
||||||
|
filters:
|
||||||
|
filepath.regex: '(?i)^(?!.*(atmos))(?=.*\b(true[ .-]?hd)\b).*'
|
||||||
|
|
||||||
|
# Match DD+/E-AC3 Atmos
|
||||||
|
Dolby-Digital-Plus-Atmos:
|
||||||
|
template:
|
||||||
|
- name: AudioCodec
|
||||||
|
weight: 3000
|
||||||
|
slug: plus-atmos
|
||||||
|
standard_value: 189
|
||||||
|
plex_all: true
|
||||||
|
filters:
|
||||||
|
audio_track_title.regex:
|
||||||
|
- '(?i)((?=.*([^-]DD[P+](?!A)|eac3))(?=.*\b(atmos(\b|\d))))|(?=.*\b(DDPA(\b|\d)))'
|
||||||
|
|
||||||
|
Dolby-Digital-Plus-Atmos-Filepath:
|
||||||
|
template:
|
||||||
|
- name: AudioCodec
|
||||||
|
overlay: Dolby-Digital-Plus-Atmos
|
||||||
|
weight: 3000
|
||||||
|
slug: plus-atmos
|
||||||
|
standard_value: 189
|
||||||
|
plex_all: true
|
||||||
|
filters:
|
||||||
|
filepath.regex:
|
||||||
|
- '(?i)((?=.*([^-]DD[P+](?!A)|eac3))(?=.*\b(atmos(\b|\d))))|(?=.*\b(DDPA(\b|\d)))'
|
||||||
|
|
||||||
|
# Match ATMOS (undefined), meaning it doesn't know the base audio DD+ or TrueHD
|
||||||
Dolby-Atmos:
|
Dolby-Atmos:
|
||||||
template:
|
template:
|
||||||
- name: AudioCodec
|
- name: AudioCodec
|
||||||
weight: 70
|
weight: 3000
|
||||||
slug: atmos
|
slug: atmos
|
||||||
plex_all: true
|
plex_all: true
|
||||||
filters:
|
filters:
|
||||||
audio_track_title.regex: '(?i)atmos'
|
audio_track_title.regex: '(?i)^(?!.*([^-]DD[P+](?!A)|eac3|true[ .-]?hd))(?=.*\b(atmos(\b|\d))).*'
|
||||||
|
|
||||||
Dolby-Atmos-Filepath:
|
Dolby-Atmos-Filepath:
|
||||||
template:
|
template:
|
||||||
- name: AudioCodec
|
- name: AudioCodec
|
||||||
overlay: Dolby-Atmos
|
overlay: Dolby-Atmos
|
||||||
weight: 70
|
weight: 3000
|
||||||
slug: atmos
|
slug: atmos
|
||||||
plex_all: true
|
plex_all: true
|
||||||
filters:
|
filters:
|
||||||
filepath.regex: '(?i)atmos'
|
filepath.regex:
|
||||||
|
- '(?i)^(?!.*([^-]DD[P+](?!A)|eac3|true[ .-]?hd))(?=.*\b(atmos(\b|\d))).*'
|
||||||
|
|
||||||
DTS-X:
|
DTS-X:
|
||||||
template:
|
template:
|
||||||
- name: AudioCodec
|
- name: AudioCodec
|
||||||
weight: 80
|
weight: 4500
|
||||||
slug: x
|
slug: x
|
||||||
plex_all: true
|
plex_all: true
|
||||||
filters:
|
filters:
|
||||||
audio_track_title.regex: '(?i)dts[-. ]?x(?!\d)'
|
audio_track_title.regex: 'dts[-. ]?x(?!\d)'
|
||||||
|
|
||||||
DTS-X-Filepath:
|
DTS-X-Filepath:
|
||||||
template:
|
template:
|
||||||
- name: AudioCodec
|
- name: AudioCodec
|
||||||
overlay: DTS-X
|
overlay: DTS-X
|
||||||
weight: 80
|
weight: 4500
|
||||||
slug: x
|
slug: x
|
||||||
plex_all: true
|
plex_all: true
|
||||||
filters:
|
filters:
|
||||||
filepath.regex: '(?i)dts[-. ]?x(?!\d)'
|
filepath.regex: '(?i)dts[-. ]?x(?!\d)'
|
||||||
|
|
||||||
|
Dolby-TrueHD-Atmos:
|
||||||
|
template:
|
||||||
|
- name: AudioCodec
|
||||||
|
weight: 5000
|
||||||
|
slug: truehd-atmos
|
||||||
|
standard_value: 189
|
||||||
|
plex_all: true
|
||||||
|
filters:
|
||||||
|
audio_track_title.regex: '(?i)(?=.*\b(true[ .-]?hd))(?=.*\b(atmos(\b|\d)))'
|
||||||
|
|
||||||
|
Dolby-TrueHD-Atmos-Filepath:
|
||||||
|
template:
|
||||||
|
- name: AudioCodec
|
||||||
|
overlay: Dolby-TrueHD-Atmos
|
||||||
|
weight: 5000
|
||||||
|
slug: truehd-atmos
|
||||||
|
standard_value: 189
|
||||||
|
plex_all: true
|
||||||
|
filters:
|
||||||
|
filepath.regex: '(?i)(?=.*\b(true[ .-]?hd))(?=.*\b(atmos(\b|\d)))'
|
||||||
@ -1,54 +1,529 @@
|
|||||||
#############################################################
|
#############################################################
|
||||||
# Audience Rating Banner Overlay #
|
# Ratings Overlay #
|
||||||
# Created by Yozora, Bullmoose20, & Sohjiro #
|
# Created by Yozora, Bullmoose20, & Sohjiro #
|
||||||
# Credit to Magic815 for base images #
|
# Credit to Magic815 for base images #
|
||||||
#############################################################
|
#############################################################
|
||||||
# Call this from your config.yml (Movie or Show): #
|
# Call this from your config.yml (Movie or Show): #
|
||||||
# If nothing is specified these are the defaults #
|
# If nothing is specified nothing will show up at least #
|
||||||
|
# one rating# must be set #
|
||||||
# #
|
# #
|
||||||
# overlay_path: #
|
# overlay_path: #
|
||||||
# - git: PMM/overlays/ratings #
|
# - git: PMM/overlays/ratings #
|
||||||
# template_variables: #
|
# template_variables: #
|
||||||
# rating_type: audience_rating #
|
# #
|
||||||
# # Set episode or season to overlay #
|
# # Set rating type for rating1, rating2, and/or #
|
||||||
|
# rating3 #
|
||||||
|
# # Rating Types: critic, audience, user #
|
||||||
|
# #
|
||||||
|
# rating1: critic #
|
||||||
|
# rating2: audience #
|
||||||
|
# rating3: user #
|
||||||
|
# #
|
||||||
|
# # Set rating image for rating1, rating2, and/or #
|
||||||
|
# rating3 #
|
||||||
|
# # Rating Images: anidb, imdb, letterboxd, tmdb, #
|
||||||
|
# metacritic, rt_popcorn, rt_tomato, trakt #
|
||||||
|
# #
|
||||||
|
# rating1_image: rt_tomato #
|
||||||
|
# rating2_image: imdb #
|
||||||
|
# rating3_image: tmdb #
|
||||||
|
# #
|
||||||
|
# # Sets the position to display the ratings #
|
||||||
|
# # horizontal_position: left, right, center #
|
||||||
|
# # vertical_position: top, bottom, center #
|
||||||
|
# #
|
||||||
|
# horizontal_position: left #
|
||||||
|
# vertical_position: center #
|
||||||
|
# #
|
||||||
|
# # Sets the alignment to display the ratings #
|
||||||
|
# # rating_alignment: horizontal, vertical #
|
||||||
|
# #
|
||||||
|
# rating_alignment: vertical #
|
||||||
|
# #
|
||||||
|
# # Set as 'episode' to overlay episodes #
|
||||||
|
# #
|
||||||
# overlay_level: #
|
# overlay_level: #
|
||||||
# # Set the horizontal offset for the overlay #
|
# #
|
||||||
# horizontal_offset: 225 #
|
# Movies: #
|
||||||
# # Set the horizontal align for the overlay #
|
# operations: #
|
||||||
# horizontal_align: center #
|
# mass_critic_rating_update: imdb #
|
||||||
# # Set the vertical offset for the overlay #
|
# mass_audience_rating_update: tmdb #
|
||||||
# vertical_offset: 15 #
|
# mass_user_rating_update: mdb_tomatoes #
|
||||||
# # Set the vertical align for the overlay #
|
# TV Shows: #
|
||||||
# vertical_align: top #
|
# operations: #
|
||||||
|
# mass_critic_rating_update: imdb #
|
||||||
|
# mass_audience_rating_update: tmdb #
|
||||||
|
# mass_user_rating_update: mdb_tomatoes #
|
||||||
|
# mass_episode_critic_rating_update: imdb #
|
||||||
|
# mass_episode_audience_rating_update: tmdb #
|
||||||
|
# #
|
||||||
#############################################################
|
#############################################################
|
||||||
|
|
||||||
templates:
|
templates:
|
||||||
Audience Rating:
|
Rating:
|
||||||
optional:
|
optional:
|
||||||
- overlay_level
|
- overlay_level
|
||||||
default:
|
default:
|
||||||
rating_type: audience_rating
|
font: fonts/Inter-Bold.ttf
|
||||||
horizontal_offset: 225
|
|
||||||
horizontal_align: center
|
|
||||||
vertical_offset: 15
|
|
||||||
vertical_align: top
|
|
||||||
collection_level: <<overlay_level>>
|
|
||||||
overlay:
|
|
||||||
name: text(<<rating_type>>)
|
|
||||||
horizontal_offset: <<horizontal_offset>>
|
|
||||||
horizontal_align: <<horizontal_align>>
|
|
||||||
vertical_offset: <<vertical_offset>>
|
|
||||||
vertical_align: <<vertical_align>>
|
|
||||||
font: fonts/Inter-Medium.ttf
|
|
||||||
font_size: 63
|
font_size: 63
|
||||||
|
rating<<rating_num>>_font: <<font>>
|
||||||
|
rating<<rating_num>>_font_size: <<font_size>>
|
||||||
|
weight: 100
|
||||||
|
side: left
|
||||||
|
horizontal_position: left
|
||||||
|
vertical_position: center
|
||||||
|
rating_alignment: vertical
|
||||||
|
rating1: none
|
||||||
|
rating2: none
|
||||||
|
rating3: none
|
||||||
|
center_offset: 0
|
||||||
|
standard_offset: 30
|
||||||
|
v2_offset: 235
|
||||||
|
v3_offset: 440
|
||||||
|
cv2_offset: 105
|
||||||
|
cv3_offset: 205
|
||||||
|
h2_offset: 345
|
||||||
|
h3_offset: 660
|
||||||
|
ch2_offset: 160
|
||||||
|
ch3_offset: 335
|
||||||
|
conditionals:
|
||||||
|
mdblist_top:
|
||||||
|
conditions:
|
||||||
|
- image_level: Top
|
||||||
|
rating<<rating_num>>_image: rt_tomato
|
||||||
|
value: https://mdblist.com/lists/plexmetamanager/certifiedfresh<<library_type>>s
|
||||||
|
- image_level: Top
|
||||||
|
rating<<rating_num>>_image: metacritic
|
||||||
|
value: https://mdblist.com/lists/plexmetamanager/metacriticmustsee<<library_type>>s
|
||||||
|
imdb_top:
|
||||||
|
conditions:
|
||||||
|
- image_level: Top
|
||||||
|
rating<<rating_num>>_image: imdb
|
||||||
|
value: top_<<library_type>>s
|
||||||
|
run_this:
|
||||||
|
default: true
|
||||||
|
conditions:
|
||||||
|
- image_level: Top
|
||||||
|
rating<<rating_num>>_image: [anidb, letterboxd, rt_popcorn, mdblist, tmdb, trakt]
|
||||||
|
value: false
|
||||||
|
- image_level: Top
|
||||||
|
overlay_level: episode
|
||||||
|
value: false
|
||||||
|
- rating<<rating_num>>: none
|
||||||
|
value: false
|
||||||
|
rating<<rating_num>>_style:
|
||||||
|
default: ""
|
||||||
|
conditions:
|
||||||
|
- rating<<rating_num>>_image: [rt_popcorn, rt_tomato, tmdb]
|
||||||
|
value: "%"
|
||||||
|
- rating<<rating_num>>_image: metacritic
|
||||||
|
value: "0"
|
||||||
|
image_extra:
|
||||||
|
default: ""
|
||||||
|
conditions:
|
||||||
|
- rating<<rating_num>>_image: [imdb, rt_tomato, metacritic]
|
||||||
|
image_level: Top
|
||||||
|
value: Top
|
||||||
|
- rating<<rating_num>>_image: [rt_popcorn, rt_tomato]
|
||||||
|
value: <<image_level>>
|
||||||
|
rating<<rating_num>>_image_url:
|
||||||
|
conditions:
|
||||||
|
- rating<<rating_num>>_image: anidb
|
||||||
|
value: Anidb
|
||||||
|
- rating<<rating_num>>_image: imdb
|
||||||
|
value: IMDb
|
||||||
|
- rating<<rating_num>>_image: letterboxd
|
||||||
|
value: Letterboxd
|
||||||
|
- rating<<rating_num>>_image: mdblist
|
||||||
|
value: MDBList
|
||||||
|
- rating<<rating_num>>_image: metacritic
|
||||||
|
value: Metacritic
|
||||||
|
- rating<<rating_num>>_image: rt_popcorn
|
||||||
|
value: RT-Aud-
|
||||||
|
- rating<<rating_num>>_image: rt_tomato
|
||||||
|
value: RT-Crit-
|
||||||
|
- rating<<rating_num>>_image: tmdb
|
||||||
|
value: TMDb
|
||||||
|
- rating<<rating_num>>_image: trakt
|
||||||
|
value: Trakt
|
||||||
|
rating<<rating_num>>_horizontal_align:
|
||||||
|
default: left
|
||||||
|
conditions:
|
||||||
|
- horizontal_position: right
|
||||||
|
value: right
|
||||||
|
- horizontal_position: center
|
||||||
|
value: center
|
||||||
|
rating<<rating_num>>_vertical_align:
|
||||||
|
default: center
|
||||||
|
conditions:
|
||||||
|
- vertical_position: top
|
||||||
|
value: top
|
||||||
|
- vertical_position: bottom
|
||||||
|
value: bottom
|
||||||
|
rating1_horizontal_offset:
|
||||||
|
default: <<standard_offset>>
|
||||||
|
conditions:
|
||||||
|
- rating_alignment: vertical
|
||||||
|
horizontal_position: center
|
||||||
|
value: <<center_offset>>
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
horizontal_position: center
|
||||||
|
rating2: none
|
||||||
|
rating3: none
|
||||||
|
value: <<center_offset>>
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
horizontal_position: center
|
||||||
|
rating2: none
|
||||||
|
value: -<<ch2_offset>>
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
horizontal_position: center
|
||||||
|
rating3: none
|
||||||
|
value: -<<ch2_offset>>
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
horizontal_position: center
|
||||||
|
value: -<<ch3_offset>>
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
horizontal_position: right
|
||||||
|
rating2: none
|
||||||
|
rating3: none
|
||||||
|
value: <<standard_offset>>
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
horizontal_position: right
|
||||||
|
rating2: none
|
||||||
|
value: <<h2_offset>>
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
horizontal_position: right
|
||||||
|
rating3: none
|
||||||
|
value: <<h2_offset>>
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
horizontal_position: right
|
||||||
|
value: <<h3_offset>>
|
||||||
|
rating1_vertical_offset:
|
||||||
|
default: <<standard_offset>>
|
||||||
|
conditions:
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
vertical_position: center
|
||||||
|
value: <<center_offset>>
|
||||||
|
- rating_alignment: vertical
|
||||||
|
vertical_position: center
|
||||||
|
rating2: none
|
||||||
|
rating3: none
|
||||||
|
value: <<center_offset>>
|
||||||
|
- rating_alignment: vertical
|
||||||
|
vertical_position: center
|
||||||
|
rating2: none
|
||||||
|
value: -<<cv2_offset>>
|
||||||
|
- rating_alignment: vertical
|
||||||
|
vertical_position: center
|
||||||
|
rating3: none
|
||||||
|
value: -<<cv2_offset>>
|
||||||
|
- rating_alignment: vertical
|
||||||
|
vertical_position: center
|
||||||
|
value: -<<cv3_offset>>
|
||||||
|
- rating_alignment: vertical
|
||||||
|
vertical_position: bottom
|
||||||
|
rating2: none
|
||||||
|
rating3: none
|
||||||
|
value: <<standard_offset>>
|
||||||
|
- rating_alignment: vertical
|
||||||
|
vertical_position: bottom
|
||||||
|
rating2: none
|
||||||
|
value: <<v2_offset>>
|
||||||
|
- rating_alignment: vertical
|
||||||
|
vertical_position: bottom
|
||||||
|
rating3: none
|
||||||
|
value: <<v2_offset>>
|
||||||
|
- rating_alignment: vertical
|
||||||
|
vertical_position: bottom
|
||||||
|
value: <<v3_offset>>
|
||||||
|
rating2_horizontal_offset:
|
||||||
|
default: <<standard_offset>>
|
||||||
|
conditions:
|
||||||
|
- rating_alignment: vertical
|
||||||
|
horizontal_position: center
|
||||||
|
value: <<center_offset>>
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
horizontal_position: center
|
||||||
|
rating1: none
|
||||||
|
rating3: none
|
||||||
|
value: <<center_offset>>
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
horizontal_position: center
|
||||||
|
rating1: none
|
||||||
|
value: -<<ch2_offset>>
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
horizontal_position: center
|
||||||
|
rating3: none
|
||||||
|
value: -<<ch2_offset>>
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
horizontal_position: center
|
||||||
|
value: -<<ch3_offset>>
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
horizontal_position: right
|
||||||
|
rating1: none
|
||||||
|
rating3: none
|
||||||
|
value: <<standard_offset>>
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
horizontal_position: right
|
||||||
|
rating1: none
|
||||||
|
value: <<h2_offset>>
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
horizontal_position: right
|
||||||
|
rating3: none
|
||||||
|
value: <<h2_offset>>
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
horizontal_position: right
|
||||||
|
value: <<h3_offset>>
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
horizontal_position: left
|
||||||
|
rating1: none
|
||||||
|
value: <<standard_offset>>
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
horizontal_position: left
|
||||||
|
value: <<h2_offset>>
|
||||||
|
rating2_vertical_offset:
|
||||||
|
default: <<standard_offset>>
|
||||||
|
conditions:
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
vertical_position: center
|
||||||
|
value: <<center_offset>>
|
||||||
|
- rating_alignment: vertical
|
||||||
|
vertical_position: center
|
||||||
|
rating1: none
|
||||||
|
rating3: none
|
||||||
|
value: <<center_offset>>
|
||||||
|
- rating_alignment: vertical
|
||||||
|
vertical_position: center
|
||||||
|
rating1: none
|
||||||
|
value: -<<cv2_offset>>
|
||||||
|
- rating_alignment: vertical
|
||||||
|
vertical_position: center
|
||||||
|
rating3: none
|
||||||
|
value: <<cv2_offset>>
|
||||||
|
- rating_alignment: vertical
|
||||||
|
vertical_position: center
|
||||||
|
value: <<center_offset>>
|
||||||
|
- rating_alignment: vertical
|
||||||
|
vertical_position: bottom
|
||||||
|
rating1: none
|
||||||
|
rating3: none
|
||||||
|
value: <<standard_offset>>
|
||||||
|
- rating_alignment: vertical
|
||||||
|
vertical_position: bottom
|
||||||
|
rating1: none
|
||||||
|
value: <<v2_offset>>
|
||||||
|
- rating_alignment: vertical
|
||||||
|
vertical_position: bottom
|
||||||
|
rating3: none
|
||||||
|
value: <<standard_offset>>
|
||||||
|
- rating_alignment: vertical
|
||||||
|
vertical_position: bottom
|
||||||
|
value: <<v2_offset>>
|
||||||
|
- rating_alignment: vertical
|
||||||
|
vertical_position: top
|
||||||
|
rating1: none
|
||||||
|
value: <<standard_offset>>
|
||||||
|
- rating_alignment: vertical
|
||||||
|
vertical_position: top
|
||||||
|
value: <<v2_offset>>
|
||||||
|
rating3_horizontal_offset:
|
||||||
|
default: <<standard_offset>>
|
||||||
|
conditions:
|
||||||
|
- rating_alignment: vertical
|
||||||
|
horizontal_position: center
|
||||||
|
value: <<center_offset>>
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
horizontal_position: center
|
||||||
|
rating1: none
|
||||||
|
rating2: none
|
||||||
|
value: <<center_offset>>
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
horizontal_position: center
|
||||||
|
rating1: none
|
||||||
|
value: <<ch2_offset>>
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
horizontal_position: center
|
||||||
|
rating2: none
|
||||||
|
value: <<ch2_offset>>
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
horizontal_position: center
|
||||||
|
value: <<ch3_offset>>
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
horizontal_position: left
|
||||||
|
rating1: none
|
||||||
|
rating2: none
|
||||||
|
value: <<standard_offset>>
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
horizontal_position: left
|
||||||
|
rating1: none
|
||||||
|
value: <<h2_offset>>
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
horizontal_position: left
|
||||||
|
rating2: none
|
||||||
|
value: <<h2_offset>>
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
horizontal_position: left
|
||||||
|
value: <<h3_offset>>
|
||||||
|
rating3_vertical_offset:
|
||||||
|
default: <<standard_offset>>
|
||||||
|
conditions:
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
vertical_position: center
|
||||||
|
value: <<center_offset>>
|
||||||
|
- rating_alignment: vertical
|
||||||
|
vertical_position: center
|
||||||
|
rating1: none
|
||||||
|
rating2: none
|
||||||
|
value: <<center_offset>>
|
||||||
|
- rating_alignment: vertical
|
||||||
|
vertical_position: center
|
||||||
|
rating1: none
|
||||||
|
value: <<cv2_offset>>
|
||||||
|
- rating_alignment: vertical
|
||||||
|
vertical_position: center
|
||||||
|
rating2: none
|
||||||
|
value: <<cv2_offset>>
|
||||||
|
- rating_alignment: vertical
|
||||||
|
vertical_position: center
|
||||||
|
value: <<cv3_offset>>
|
||||||
|
- rating_alignment: vertical
|
||||||
|
vertical_position: top
|
||||||
|
rating1: none
|
||||||
|
rating2: none
|
||||||
|
value: <<standard_offset>>
|
||||||
|
- rating_alignment: vertical
|
||||||
|
vertical_position: top
|
||||||
|
rating1: none
|
||||||
|
value: <<v2_offset>>
|
||||||
|
- rating_alignment: vertical
|
||||||
|
vertical_position: top
|
||||||
|
rating2: none
|
||||||
|
value: <<v2_offset>>
|
||||||
|
- rating_alignment: vertical
|
||||||
|
vertical_position: top
|
||||||
|
value: <<v3_offset>>
|
||||||
|
back_width:
|
||||||
|
default: 160
|
||||||
|
conditions:
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
value: 270
|
||||||
|
back_height:
|
||||||
|
default: 160
|
||||||
|
conditions:
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
value: 80
|
||||||
|
addon_position:
|
||||||
|
default: top
|
||||||
|
conditions:
|
||||||
|
- rating_alignment: horizontal
|
||||||
|
value: left
|
||||||
|
gte:
|
||||||
|
default: 0.0
|
||||||
|
conditions:
|
||||||
|
- image_level: Fresh
|
||||||
|
value: 6.0
|
||||||
|
lte:
|
||||||
|
default: 6.0
|
||||||
|
conditions:
|
||||||
|
- image_level: Fresh
|
||||||
|
value: 10.0
|
||||||
|
gsuffix:
|
||||||
|
conditions:
|
||||||
|
- rating<<rating_num>>: [critic, audience, user]
|
||||||
|
image_level: [Fresh, Rotten]
|
||||||
|
value: gte
|
||||||
|
lsuffix:
|
||||||
|
conditions:
|
||||||
|
- rating<<rating_num>>: [critic, audience, user]
|
||||||
|
image_level: Fresh
|
||||||
|
value: lte
|
||||||
|
- rating<<rating_num>>: [critic, audience, user]
|
||||||
|
image_level: Rotten
|
||||||
|
value: lt
|
||||||
|
plex_search:
|
||||||
|
all:
|
||||||
|
<<rating<<rating_num>>>>_rating.<<gsuffix>>: <<gte>>
|
||||||
|
<<rating<<rating_num>>>>_rating.<<lsuffix>>: <<lte>>
|
||||||
|
mdblist_list: <<mdblist_top>>
|
||||||
|
imdb_chart: <<imdb_top>>
|
||||||
|
collection_level: <<overlay_level>>
|
||||||
|
allowed_library_types: <<run_this>>
|
||||||
|
ignore_blank_results: true
|
||||||
|
overlay:
|
||||||
|
name: text(<<rating<<rating_num>>>>_rating<<rating<<rating_num>>_style>>)
|
||||||
|
horizontal_offset: <<rating<<rating_num>>_horizontal_offset>>
|
||||||
|
horizontal_align: <<rating<<rating_num>>_horizontal_align>>
|
||||||
|
vertical_offset: <<rating<<rating_num>>_vertical_offset>>
|
||||||
|
vertical_align: <<rating<<rating_num>>_vertical_align>>
|
||||||
|
group: rating<<rating_num>>_group
|
||||||
|
weight: <<weight>>
|
||||||
|
font: <<rating<<rating_num>>_font>>
|
||||||
|
font_size: <<rating<<rating_num>>_font_size>>
|
||||||
font_color: "#FFFFFF"
|
font_color: "#FFFFFF"
|
||||||
back_color: "#00000099"
|
back_color: "#00000099"
|
||||||
back_radius: 30
|
back_radius: 30
|
||||||
back_width: 150
|
back_width: <<back_width>>
|
||||||
back_height: 105
|
back_height: <<back_height>>
|
||||||
|
back_align: center
|
||||||
|
back_padding: 15
|
||||||
|
git: PMM/overlays/images/raw/<<rating<<rating_num>>_image_url>><<image_extra>>
|
||||||
|
addon_position: <<addon_position>>
|
||||||
|
addon_offset: 15
|
||||||
|
|
||||||
overlays:
|
overlays:
|
||||||
audience_rating:
|
Rating1Rotten:
|
||||||
template:
|
template:
|
||||||
name: Audience Rating
|
name: Rating
|
||||||
plex_all: true
|
rating_num: "1"
|
||||||
|
image_level: Rotten
|
||||||
|
|
||||||
|
Rating1Fresh:
|
||||||
|
template:
|
||||||
|
name: Rating
|
||||||
|
rating_num: "1"
|
||||||
|
image_level: Fresh
|
||||||
|
|
||||||
|
Rating1Top:
|
||||||
|
template:
|
||||||
|
name: Rating
|
||||||
|
weight: 110
|
||||||
|
rating_num: "1"
|
||||||
|
image_level: Top
|
||||||
|
|
||||||
|
Rating2Rotten:
|
||||||
|
template:
|
||||||
|
name: Rating
|
||||||
|
rating_num: "2"
|
||||||
|
image_level: Rotten
|
||||||
|
|
||||||
|
Rating2Fresh:
|
||||||
|
template:
|
||||||
|
name: Rating
|
||||||
|
rating_num: "2"
|
||||||
|
image_level: Fresh
|
||||||
|
|
||||||
|
Rating2Top:
|
||||||
|
template:
|
||||||
|
name: Rating
|
||||||
|
weight: 110
|
||||||
|
rating_num: "2"
|
||||||
|
image_level: Top
|
||||||
|
|
||||||
|
Rating3Rotten:
|
||||||
|
template:
|
||||||
|
name: Rating
|
||||||
|
rating_num: "3"
|
||||||
|
image_level: Rotten
|
||||||
|
|
||||||
|
Rating3Fresh:
|
||||||
|
template:
|
||||||
|
name: Rating
|
||||||
|
rating_num: "3"
|
||||||
|
image_level: Fresh
|
||||||
|
|
||||||
|
Rating3Top:
|
||||||
|
template:
|
||||||
|
name: Rating
|
||||||
|
weight: 110
|
||||||
|
rating_num: "3"
|
||||||
|
image_level: Top
|
||||||
Loading…
x
Reference in New Issue
Block a user