update defaults to be in line with others and separated streaming

This commit is contained in:
meisnate12
2022-06-02 10:24:41 -04:00
parent 228d3a4b70
commit 10193a9770
8 changed files with 110 additions and 318 deletions

View File

@@ -24,23 +24,23 @@
# vertical_align: top #
# #
# # Use the Opus overlay #
# Opus: true #
# use_opus: true #
# # Use the Dolby-Digital overlay #
# Dolby-Digital: true #
# use_digital: true #
# # Use the DTS overlay #
# DTS: true #
# use_dts: true #
# # Use the DTS-ES overlay #
# DTS-ES: true #
# use_es: true #
# # Use the DTS-HD overlay #
# DTS-HD: true #
# use_hd: true #
# # Use the Dolby-TrueHD overlay #
# Dolby-TrueHD: true #
# use_truehd: true #
# # Use the Dolby-Digital-Plus overlay #
# Dolby-Digital-Plus: true #
# use_plus: true #
# # Use the Dolby-Atmos overlay #
# Dolby-Atmos: true #
# use_atmos: true #
# # Use the DTS-X overlay #
# DTS-X: true #
# use_x: true #
#############################################################
templates:
@@ -54,6 +54,7 @@ templates:
vertical_offset: 15
vertical_align: top
collection_level: <<overlay_level>>
allowed_library_types: <<use_<<slug>>>>
overlay:
name: <<overlay_name>>
git: PMM/overlays/images/<<overlay>>
@@ -64,58 +65,13 @@ templates:
vertical_offset: <<vertical_offset>>
vertical_align: <<vertical_align>>
Opus:
default:
Opus: true
allowed_library_types: <<Opus>>
Dolby-Digital:
default:
Dolby-Digital: true
allowed_library_types: <<Dolby-Digital>>
DTS:
default:
DTS: true
allowed_library_types: <<DTS>>
DTS-ES:
default:
DTS-ES: true
allowed_library_types: <<DTS-ES>>
DTS-HD:
default:
DTS-HD: true
allowed_library_types: <<DTS-HD>>
Dolby-TrueHD:
default:
Dolby-TrueHD: true
allowed_library_types: <<Dolby-TrueHD>>
Dolby-Digital-Plus:
default:
Dolby-Digital-Plus: true
allowed_library_types: <<Dolby-Digital-Plus>>
Dolby-Atmos:
default:
Dolby-Atmos: true
allowed_library_types: <<Dolby-Atmos>>
DTS-X:
default:
DTS-X: true
allowed_library_types: <<DTS-X>>
overlays:
Opus:
template:
- name: AudioCodec
weight: 5
- name: Opus
slug: opus
plex_all: true
filters:
audio_track_title.regex: '(?i)\bOPUS(\b|\d)'
@@ -125,7 +81,7 @@ overlays:
- name: AudioCodec
overlay: Opus
weight: 5
- name: Opus
slug: Opus
plex_all: true
filters:
filepath.regex: '(?i)\bOPUS(\b|\d)'
@@ -134,7 +90,7 @@ overlays:
template:
- name: AudioCodec
weight: 10
- name: Dolby-Digital
slug: digital
plex_all: true
filters:
audio_track_title.regex:
@@ -146,7 +102,7 @@ overlays:
- name: AudioCodec
overlay: Dolby-Digital
weight: 10
- name: Dolby-Digital
slug: digital
plex_all: true
filters:
filepath.regex:
@@ -157,7 +113,7 @@ overlays:
template:
- name: AudioCodec
weight: 20
- name: DTS
slug: dts
plex_all: true
filters:
audio_track_title.regex: '(?i)\bDTS(\b|\d)'
@@ -167,7 +123,7 @@ overlays:
- name: AudioCodec
overlay: DTS
weight: 20
- name: DTS
slug: dts
plex_all: true
filters:
filepath.regex: '(?i)\bDTS(\b|\d)'
@@ -176,7 +132,7 @@ overlays:
template:
- name: AudioCodec
weight: 30
- name: DTS-ES
slug: es
plex_all: true
filters:
audio_track_title.regex: '(?i)dts[ ._-]?(es|(hd[. ]?)?(hr|hi))'
@@ -186,7 +142,7 @@ overlays:
- name: AudioCodec
overlay: DTS-ES
weight: 30
- name: DTS-ES
slug: es
plex_all: true
filters:
filepath.regex: '(?i)dts[ ._-]?(es|(hd[. ]?)?(hr|hi))'
@@ -195,7 +151,7 @@ overlays:
template:
- name: AudioCodec
weight: 40
- name: DTS-HD
slug: hd
plex_all: true
filters:
audio_track_title.regex:
@@ -207,7 +163,7 @@ overlays:
- name: AudioCodec
overlay: DTS-HD
weight: 40
- name: DTS-HD
slug: hd
plex_all: true
filters:
filepath.regex:
@@ -218,7 +174,7 @@ overlays:
template:
- name: AudioCodec
weight: 50
- name: Dolby-TrueHD
slug: truehd
plex_all: true
filters:
audio_track_title.regex: '(?i)true[ .-]?hd'
@@ -228,7 +184,7 @@ overlays:
- name: AudioCodec
overlay: Dolby-TrueHD
weight: 50
- name: Dolby-TrueHD
slug: truehd
plex_all: true
filters:
filepath.regex: '(?i)true[ .-]?hd'
@@ -237,7 +193,7 @@ overlays:
template:
- name: AudioCodec
weight: 60
- name: Dolby-Digital-Plus
slug: plus
plex_all: true
filters:
audio_track_title.regex:
@@ -249,7 +205,7 @@ overlays:
- name: AudioCodec
overlay: Dolby-Digital-Plus
weight: 60
- name: Dolby-Digital-Plus
slug: plus
plex_all: true
filters:
filepath.regex:
@@ -260,7 +216,7 @@ overlays:
template:
- name: AudioCodec
weight: 70
- name: Dolby-Atmos
slug: atmos
plex_all: true
filters:
audio_track_title.regex: '(?i)atmos'
@@ -270,7 +226,7 @@ overlays:
- name: AudioCodec
overlay: Dolby-Atmos
weight: 70
- name: Dolby-Atmos
slug: atmos
plex_all: true
filters:
filepath.regex: '(?i)atmos'
@@ -279,7 +235,7 @@ overlays:
template:
- name: AudioCodec
weight: 80
- name: DTS-X
slug: x
plex_all: true
filters:
audio_track_title.regex: '(?i)dts[ ._:-]?x(?!\\d)'
@@ -289,7 +245,7 @@ overlays:
- name: AudioCodec
overlay: DTS-X
weight: 80
- name: DTS-X
slug: x
plex_all: true
filters:
filepath.regex: '(?i)dts[ ._:-]?x(?!\\d)'